Skip to content

Instantly share code, notes, and snippets.

@lust4life
lust4life / geowave-ingest-raster
Last active May 8, 2018 08:17
Can't load a service for category "GridFormatFactorySpi". Cause is "NoClassDefFoundError: org/geotools/coverage/grid/io/GridFormatFactorySpi"
08 May 16:15:57 INFO [client.HBaseAdmin] - Disabled ns_someraster_SPATIAL_IDX
08 May 16:15:57 WARN [operations.HBaseOperations] - Unable to infer coprocessor library
java.io.FileNotFoundException: File /tmp/hbase-hduser/hbase/lib does not exist
at org.apache.hadoop.fs.RawLocalFileSystem.listStatus(RawLocalFileSystem.java:431)
at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1517)
at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1557)
at org.apache.hadoop.fs.ChecksumFileSystem.listStatus(ChecksumFileSystem.java:674)
at mil.nga.giat.geowave.datastore.hbase.operations.HBaseOperations.getGeoWaveJarOnPath(HBaseOperations.java:728)
at mil.nga.giat.geowave.datastore.hbase.operations.HBaseOperations.verifyCoprocessor(HBaseOperations.java:648)
at mil.nga.giat.geowave.datastore.hbase.operations.HBaseOperations.ensureServerSideOperationsObserverAttached(HBaseOper
@lust4life
lust4life / Program.fs
Created December 6, 2017 07:59
support custom projection
open Microsoft.FSharp.Quotations
open Microsoft.FSharp.Quotations.Patterns
type A = A
with
static member only<'t>(proj: 't -> obj[]) = ()
static member except<'t>(proj: 't -> obj[]) = ()
type Projection =
| Projection of string * How
@lust4life
lust4life / Program.fs
Created November 16, 2017 12:57
For Expecto Plugin Test
open Expecto
[<Tests>]
let tests =
testList "just some test" [
testList "and more and more test" [
testCase "1" <| fun _ -> ()
testCase "2" <| fun _ -> ()
]