Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-users] [geomesa-dev] Fwd: Bugs in geomesa-accumulo

Hi Jim,
   We have installed accumulo-2.0.0 successfully. We are trying to add datastore in geoserver using geomesa-accumulo -2.3.1, but it is throwing error for accumulo-fat.jar, accumulo-site.jar etc. The error log is attached herewith.

  We are unable to init geomesa accumulo and  create cluster,    when we have downgraded the version to accumulo-1.9.2. 

Your urgent reply is highly appreciated.

Regards,
Neha 
On Wed, 12 Feb 2020 at 12:30, Neha Sisodiya <sisodiya.nehar2019@xxxxxxxxx> wrote:
Hi Jim,
  We are unable to init geomesa accumulo. If in case, we have to access it through root user  what should be the password ? Further we are not able to create datastore.



Regards,
Neha

On Mon, 10 Feb 2020 at 22:31, Jim Hughes <jhughes@xxxxxxxx> wrote:
Hi Neha,

Have you been able to subscribe to the mailing list?  Your emails to the list did go through.

What are your challenges?

Cheers,

Jim

On 2/8/20 3:59 AM, Neha Sisodiya wrote:


---------- Forwarded message ---------
From: Neha Sisodiya <sisodiya.nehar2019@xxxxxxxxx>
Date: Fri, 7 Feb 2020 at 10:33
Subject: Bugs in geomesa-accumulo
To: <geomesa-dev-owner@xxxxxxxxxxx>


We are trying to approach geomesa help but  not getting any kind of support from geomesa. Please help..
---------- Forwarded message ---------
From: Neha Sisodiya <sisodiya.nehar2019@xxxxxxxxx>
Date: Wed, 23 Oct 2019 at 14:00
Subject: Geomesa Accumulo user
To: <geomesa-users-join@xxxxxxxxxxxx>


We are looking forward to use geomesa-accumulo in our research and wants to be in the active member of geomesa community. Please give us subscription to the geomesa-user group, so that we can post our queries regarding the modules we are using and also get involved in the interaction between the researchers and developers involved in the same area.


Thanks & Regards,
Neha Sisodiya


_______________________________________________
geomesa-dev mailing list
geomesa-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/geomesa-dev


2019-09-23 05:03:19,627 ERROR [org.locationtech.geomesa.accumulo.tools.AccumuloRunner$] Warning: Missing dependency for command execution: org/apache/commons/configuration/$
java.lang.NoClassDefFoundError: org/apache/commons/configuration/Configuration
        at org.locationtech.geomesa.accumulo.data.AccumuloDataStoreFactory.getDisplayName(AccumuloDataStoreFactory.scala:56)
        at org.geotools.data.DataAccessFinder.getDataStore(DataAccessFinder.java:95)
        at org.geotools.data.DataStoreFinder.getDataStore(DataStoreFinder.java:71)
        at org.locationtech.geomesa.tools.DataStoreCommand$class.loadDataStore(Command.scala:64)
        at org.locationtech.geomesa.accumulo.tools.data.AccumuloCreateSchemaCommand.loadDataStore(AccumuloCreateSchemaCommand.scala:18)
        at org.locationtech.geomesa.tools.DataStoreCommand$class.withDataStore(Command.scala:58)
        at org.locationtech.geomesa.accumulo.tools.data.AccumuloCreateSchemaCommand.withDataStore(AccumuloCreateSchemaCommand.scala:18)
        at org.locationtech.geomesa.tools.data.CreateSchemaCommand$class.execute(CreateSchemaCommand.scala:33)
        at org.locationtech.geomesa.accumulo.tools.data.AccumuloCreateSchemaCommand.execute(AccumuloCreateSchemaCommand.scala:18)
        at org.locationtech.geomesa.tools.Runner$class.main(Runner.scala:28)
        at org.locationtech.geomesa.accumulo.tools.AccumuloRunner$.main(AccumuloRunner.scala:29)
        at org.locationtech.geomesa.accumulo.tools.AccumuloRunner.main(AccumuloRunner.scala)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.configuration.Configuration
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 12 more
2019-09-23 05:03:19,631 ERROR [org.locationtech.geomesa.tools.user] Warning: Missing dependency for command execution: org/apache/commons/configuration/Configuration


when :::
geomesa-accumulo :::: both geomesa_tom_lib and geomesa_lib
GEOMESA_CP="${GEOMESA_CONF_DIR}:$(findJars $GEOMESA_LIB):$(findJars $GEOMESA_TOM_LIB):${ACCUMULO_CONF_D$


[hadoop@hadoop-master bin]$ geomesa-accumulo create-schema -u root -p root123 -i hadoop -z hadoop-master:2181,hadoop-slave1:2181,hadoop-slave2:2183 -c cmd_tutorial -f feature -s fid:String:index=true,dtg:Date,geom:Point:srid=4326 --dtg dtg
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/hadoop/geomesa-accumulo_2.11-2.3.1/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/hadoop/apache-tomcat-8.5.43/webapps/geoserver/WEB-INF/lib/slf4j-log4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Error while parsing JAI registry file "file:/home/hadoop/apache-tomcat-8.5.43/webapps/geoserver/WEB-INF/lib/gt-coverage-20.0.jar!/META-INF/registryFile.jai" :
Error in registry file at line number #31
A descriptor is already registered against the name "org.geotools.ColorReduction" under registry mode "rendered"
Error in registry file at line number #32
A descriptor is already registered against the name "org.geotools.ColorInversion" under registry mode "rendered"
Error while parsing JAI registry file "file:/home/hadoop/apache-tomcat-8.5.43/webapps/geoserver/WEB-INF/lib/imageio-ext-imagereadmt-1.1.25.jar!/META-INF/registryFile.jai" :
Error in registry file at line number #29
A descriptor is already registered against the name "ImageReadMT" under registry mode "rendered"
Sep 18, 2019 8:10:01 AM org.geoserver.platform.GeoServerExtensions checkContext
WARNING: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
Sep 18, 2019 8:10:01 AM org.geoserver.platform.GeoServerExtensions checkContext
WARNING: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
Sep 18, 2019 8:10:01 AM org.geoserver.platform.GeoServerExtensions checkContext
WARNING: Extension lookup 'ExtensionFilter', but ApplicationContext is unset.
Sep 18, 2019 8:10:01 AM org.geoserver.platform.GeoServerExtensions checkContext
WARNING: Extension lookup 'ExtensionProvider', but ApplicationContext is unset.
Sep 18, 2019 8:10:01 AM org.geoserver.platform.GeoServerExtensions checkContext
WARNING: Extension lookup 'ExtensionFilter', but ApplicationContext is unset.
Sep 18, 2019 8:10:02 AM org.geoserver.platform.GeoServerExtensions checkContext
WARNING: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
Sep 18, 2019 8:10:02 AM org.geoserver.platform.GeoServerExtensions checkContext
WARNING: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
Sep 18, 2019 8:10:02 AM org.geoserver.platform.GeoServerExtensions checkContext
WARNING: Extension lookup 'ExtensionFilter', but ApplicationContext is unset.
Sep 18, 2019 8:10:02 AM org.geoserver.platform.GeoServerExtensions checkContext
WARNING: Extension lookup 'ExtensionProvider', but ApplicationContext is unset.
Sep 18, 2019 8:10:02 AM org.geoserver.platform.GeoServerExtensions checkContext
WARNING: Extension lookup 'ExtensionFilter', but ApplicationContext is unset.
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.accumulo.core.client.ClientConfiguration.<init>([Lorg/apache/commons/configuration/Configuration;)V
	at org.locationtech.geomesa.accumulo.data.AccumuloDataStoreFactory$.buildAccumuloConnector(AccumuloDataStoreFactory.scala:145)
	at org.locationtech.geomesa.accumulo.data.AccumuloDataStoreFactory$$anonfun$1.apply(AccumuloDataStoreFactory.scala:46)
	at org.locationtech.geomesa.accumulo.data.AccumuloDataStoreFactory$$anonfun$1.apply(AccumuloDataStoreFactory.scala:46)
	at scala.Option.getOrElse(Option.scala:121)
	at org.locationtech.geomesa.accumulo.data.AccumuloDataStoreFactory.createDataStore(AccumuloDataStoreFactory.scala:45)
	at org.locationtech.geomesa.accumulo.data.AccumuloDataStoreFactory.createDataStore(AccumuloDataStoreFactory.scala:36)
	at org.geotools.data.DataAccessFinder.getDataStore(DataAccessFinder.java:121)
	at org.geotools.data.DataStoreFinder.getDataStore(DataStoreFinder.java:71)
	at org.locationtech.geomesa.tools.DataStoreCommand$class.loadDataStore(Command.scala:64)
	at org.locationtech.geomesa.accumulo.tools.data.AccumuloCreateSchemaCommand.loadDataStore(AccumuloCreateSchemaCommand.scala:18)
	at org.locationtech.geomesa.tools.DataStoreCommand$class.withDataStore(Command.scala:58)
	at org.locationtech.geomesa.accumulo.tools.data.AccumuloCreateSchemaCommand.withDataStore(AccumuloCreateSchemaCommand.scala:18)
	at org.locationtech.geomesa.tools.data.CreateSchemaCommand$class.execute(CreateSchemaCommand.scala:33)
	at org.locationtech.geomesa.accumulo.tools.data.AccumuloCreateSchemaCommand.execute(AccumuloCreateSchemaCommand.scala:18)
	at org.locationtech.geomesa.tools.Runner$class.main(Runner.scala:28)
	at org.locationtech.geomesa.accumulo.tools.AccumuloRunner$.main(AccumuloRunner.scala:29)
	at org.locationtech.geomesa.accumulo.tools.AccumuloRunner.main(AccumuloRunner.scala)
[hadoop@hadoop-master bin]$ 

--------------------------------------


GEOMESA_CP="${GEOMESA_CONF_DIR}:$(findJars $GEOMESA_LIB):${ACCUMULO_CONF_DIR}:${HADOOP_CONF_DIR}"

where... GEOMESA_LIB::export GEOMESA_LIB=/home/hadoop/apache-tomcat-8.5.43/webapps/geoserver/WEB-INF/lib/  and GEOMESA_CP="${GEOMESA_CONF_DIR}:$(findJars $GEOMESA_TOM_LIB true true):${ACCUMULO_CONF_DIR}:${HADOOP_C$
where... GEOMESA_TOM_LIB::export GEOMESA_TOM_LIB=/home/hadoop/apache-tomcat-8.5.43/webapps/geoserver/WEB-INF


[hadoop@hadoop-master bin]$ geomesa-accumulo create-schema -u root -p root123 -i hadoop -z hadoop-master:2181,hadoop-slave1:2181,hadoop-slave2:2183 -c cmd_tutorial -f feature -s fid:String:index=true,dtg:Date,geom:Point:srid=4326 --dtg dtg
Error: Could not find or load main class org.locationtech.geomesa.accumulo.tools.AccumuloRunner



----------------------------------------
when :::
GEOMESA_CP="${GEOMESA_CONF_DIR}:$(findJars $GEOMESA_LIB):${ACCUMULO_CONF_DIR}:${HADOOP_CONF_DIR}"

in BASHRC file::
export GEOMESA_LIB=/home/hadoop/geomesa-accumulo_2.11-2.3.1/lib/

[hadoop@hadoop-master bin]$ geomesa-accumulo create-schema -u root -p root123 -i hadoop -z hadoop-master:2181,hadoop-slave1:2181,hadoop-slave2:2183 -c cmd_tutorial -f feature -s fid:String:index=true,dtg:Date,geom:Point:srid=4326 --dtg dtg
ERROR Warning: Missing dependency for command execution: org/apache/commons/configuration/Configuration




Back to the top