This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import annotations.template | |
import reflect.runtime.universe.TypeTag | |
case class SW(s: String) | |
case class IW(c: Int) | |
case class BW(d: Double) | |
case class PD(sw: SW, iw: IW, bw: BW) | |
@template((i: Int, s: String, d: Double) => PD(SW(s), IW(i), BW(d))) | |
object Test2 extends App { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kill -9 $(jps | grep Spark | awk '{print $1}') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.lang.IllegalArgumentException: bitSetRange=Pow2LengthBitSetRange[start=size: 4096 bitset: {},level=4096] exceeds 62 bits for a non-negative long. | |
[info] at com.google.common.base.Preconditions.checkArgument(Preconditions.java:119) | |
[info] at com.google.uzaygezen.core.ranges.LongRangeHome.toRange(LongRangeHome.java:40) | |
[info] at com.google.uzaygezen.core.ranges.LongRangeHome.toRange(LongRangeHome.java:27) | |
[info] at com.google.uzaygezen.core.ranges.RangeUtil.toOrthotope(RangeUtil.java:50) | |
[info] at com.google.uzaygezen.core.SimpleRegionInspector.assess(SimpleRegionInspector.java:127) | |
[info] at com.google.uzaygezen.core.BacktrackingQueryBuilder.visit(BacktrackingQueryBuilder.java:121) | |
[info] at com.google.uzaygezen.core.ZoomingSpaceVisitorAdapter.visit(ZoomingSpaceVisitorAdapter.java:66) | |
[info] at com.google.uzaygezen.core.CompactHilbertCurve.accept(CompactHilbertCurve.java:182) | |
[info] at geotrellis.spark.io.index.hilbert.HilbertSpaceTimeKeyIndex.indexRanges(HilbertSpaceTimeKeyIndex.scala:1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~~~~~~~~~~~~~~~~~~~ | |
SpaceTimeKey(1,1,2010-01-01T00:00:00.000Z): (1001,1001) | |
SpaceTimeKey(1,1,2011-01-01T00:00:00.000Z): (1001,1001) | |
SpaceTimeKey(1,1,2012-01-01T00:00:00.000Z): (1001,1001) | |
SpaceTimeKey(1,1,2013-01-01T00:00:00.000Z): (1001,1001) | |
SpaceTimeKey(1,1,2014-01-01T00:00:00.000Z): (1001,1001) | |
SpaceTimeKey(1,2,2010-01-01T00:00:00.000Z): (1002,1002) | |
SpaceTimeKey(1,2,2011-01-01T00:00:00.000Z): (1002,1002) | |
SpaceTimeKey(1,2,2012-01-01T00:00:00.000Z): (1002,1002) | |
SpaceTimeKey(1,2,2013-01-01T00:00:00.000Z): (1002,1002) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// have not check should we exclude it from spark-core (actually don't remember) | |
// actually we exclude kryo 2.24 | |
val geotrellisSpark = "com.azavea.geotrellis" %% "geotrellis-spark" % Version.geotrellis exclude("com.esotericsoftware.kryo", "kryo") | |
val geotrellisRaster = "com.azavea.geotrellis" %% "geotrellis-raster" % Version.geotrellis exclude("com.esotericsoftware.kryo", "kryo") | |
val geotrellisVector = "com.azavea.geotrellis" %% "geotrellis-vector" % Version.geotrellis exclude("com.esotericsoftware.kryo", "kryo") | |
val geotrellisProj4 = "com.azavea.geotrellis" %% "geotrellis-proj4" % Version.geotrellis exclude("com.esotericsoftware.kryo", "kryo") | |
val sparkCore = "org.apache.spark" %% "spark-core" % Version.spark exclude("com.esotericsoftware.kryo", "kryo") | |
val kryo = "com.esotericsoftware.kryo" % "kryo" % "2.21" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feb 08, 2016 11:12:13 AM org.geoserver.platform.GeoServerExtensions checkContext | |
WARNING: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset. | |
Feb 08, 2016 11:12:13 AM org.geoserver.platform.GeoServerExtensions checkContext | |
WARNING: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset. | |
Feb 08, 2016 11:12:13 AM org.geoserver.platform.GeoServerExtensions checkContext | |
WARNING: Extension lookup 'ExtensionFilter', but ApplicationContext is unset. | |
Feb 08, 2016 11:12:13 AM org.geoserver.platform.GeoServerExtensions checkContext | |
WARNING: Extension lookup 'ExtensionProvider', but ApplicationContext is unset. | |
Feb 08, 2016 11:12:13 AM org.geoserver.platform.GeoServerExtensions checkContext | |
WARNING: Extension lookup 'ExtensionFilter', but ApplicationContext is unset. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env scalas | |
/*** | |
scalaVersion := "2.11.7" | |
libraryDependencies += "com.typesafe.play" %% "play-netty-server" % "2.4.6" | |
*/ | |
import play.core.server._ | |
import play.api.routing.sird._ | |
import play.api.mvc._ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package geotrellis.test | |
import geotrellis.core.LayoutSchemeArg | |
import geotrellis.core.poly.{PolyCombine, PolyIngest, PolyValidate, PolyWrite} | |
import geotrellis.raster._ | |
import geotrellis.spark.io._ | |
import geotrellis.spark.io.avro.AvroRecordCodec | |
import geotrellis.spark.io.index.KeyIndexMethod | |
import geotrellis.spark.tiling.TilerKeyMethods | |
import geotrellis.spark._ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[0m[[0minfo[0m] [0m[32mTileRDDMaskMethodsSpec:[0m[0m | |
[0m[[0minfo[0m] [0m[32mTileLayerRDDMask[0m[0m | |
[0m[[0minfo[0m] [0m[32m- should properly mask a float32 user defined nodata layer[0m[0m | |
[0m[[0minfo[0m] [0m[32m- should properly mask a float32 user defined nodata layer, without filtering empty tiles[0m[0m | |
[0m[[0minfo[0m] [0m[32m- should properly mask a multiband float32 user defined nodata layer[0m[0m | |
[0m[[0minfo[0m] [0m[32mmasking against more polygons[0m[0m | |
[0m[[0minfo[0m] [0m[32m- should be masked by random polygons[0m[0m | |
[0m[[0minfo[0m] [0m[32m- should be masked by complex polygons[0m[0m | |
[0m[[0minfo[0m] [0m[31m- should be masked by random multipolygons *** FAILED ***[0m[0m | |
[0m[[0minfo[0m] [0m[31m Array(-2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -2147483648, -21474 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name := "nathan-test" | |
version := "0.1.0" | |
scalaVersion := "2.10.7" | |
crossScalaVersions := Seq("2.11.8", "2.10.7") | |
organization := "com.azavea" | |
licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.html")) | |
scalacOptions ++= Seq( | |
"-deprecation", | |
"-unchecked", | |
"-Yinline-warnings", |