Skip to content

Instantly share code, notes, and snippets.

hduser@master:~/Desktop/Proyecto-Tunki/test-geowave/scripts/lib$ java -cp geowave-deploy-0.9.0-tools.jar:geowave-format-raster-0.9.0.jar:geowave-deploy-0.9.0-accumulo-singlejar.jar:geowave-datastore-accumulo-0.9.0.jar mil.nga.giat.geowave.core.cli.GeoWaveMain -localingest -b ~/Desktop/Proyecto-Tunki/datastore/ -f geotools-raster -datastore accumulo -user root -password 1234 -instance wetland -gwNamespace nswetland -zookeeper localhost:2181
29 Feb 12:54:46 WARN [client.ClientConfiguration] - Found no client.conf in default paths. Using default client configuration values.
Error while parsing JAI registry file "file:/home/hduser/Desktop/Proyecto-Tunki/test-geowave/scripts/lib/geowave-deploy-0.9.0-accumulo-singlejar.jar!/META-INF/registryFile.jai" :
Error in registry file at line number #4
A descriptor is already registered against the name "VectorBinarize" under registry mode "rendered"
Feb 29, 2016 12:54:46 PM org.geotools.factory.FactoryRegistry scanForPlugins
WARNING: Can't load a service for category "Grid
hduser@master:/opt/geowave-0.9.0/deploy/target$ java -cp geowave-deploy-0.9.0-tools.jar:geowave-format-raster-0.9.0.jar:geowave-deploy-0.9.0-accumulo-singlejar.jar mil.nga.giat.geowave.core.cli.GeoWaveMain -localingest -b ~/Desktop/Proyecto-Tunki/datastore/ -f geotools-raster -datastore accumulo -user root -password 1234 -instance wetland -gwNamespace nswetland -zookeeper localhost:2181
03 Mar 11:49:42 WARN [client.ClientConfiguration] - Found no client.conf in default paths. Using default client configuration values.
Error while parsing JAI registry file "file:/opt/geowave-0.9.0/deploy/target/geowave-deploy-0.9.0-accumulo-singlejar.jar!/META-INF/registryFile.jai" :
Error in registry file at line number #4
A descriptor is already registered against the name "VectorBinarize" under registry mode "rendered"
Mar 03, 2016 11:49:42 AM org.geoserver.platform.GeoServerExtensions checkContext
WARNING: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
Mar 03, 2016 11:49:42 AM org.geoserver.pl
error] 16/03/29 10:56:18 WARN MetricsSystem: Using default name DAGScheduler for source because spark.app.id is not set.
[error] 16/03/29 10:56:18 INFO AppClient$ClientEndpoint: Connecting to master spark://192.168.1.102:7077...
[error] 16/03/29 10:56:38 ERROR SparkUncaughtExceptionHandler: Uncaught exception in thread Thread[appclient-registration-retry-thread,5,main]
[error] java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@34ff1cc0 rejected from java.util.concurrent.ThreadPoolExecutor@58b89c6e[Running, pool size = 1, active threads = 0, queued tasks = 0, completed tasks = 1]
[error] at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2048)
[error] at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:821)
[error] at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1372)
[error] at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:110)
[error] at org
package tutorial
import geotrellis.raster._
import geotrellis.raster.io.geotiff._
import geotrellis.raster.render._
import geotrellis.raster.resample._
import geotrellis.spark._
import geotrellis.spark.io._
import geotrellis.spark.io.file._
import geotrellis.spark.io.avro.codecs._
@wnina
wnina / kmeans.java
Last active September 18, 2020 02:27
import java.util.ArrayList;
import java.util.List;
public class Kmeans {
int numCenter = 3;
int numPoint = 9;
int maxIter = 10;
List<List<Double>> listPoint;
List<List<Double>> listCenter;