Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-users] Geomesa with Accumulo 1.6

Hi Manas,

GeoMesa requires a number of jars which are related to your particular cloud's software (Hadoop/Accumulo/Zookeeper/Thrift).  Our Quick Start tutorial (http://www.geomesa.org/2014/05/28/geomesa-quickstart/) has a list of the jars which need to be added to GeoServer's classpath in order to make it go.  (I've copied the list at the end of this email.)

Ideally, you should be able to find these jars in $HADOOP_HOME/lib and $ACCUMULO_HOME/lib on your Hadoop/Accumulo nodes.  (The Zookeeper and Thrift jars may be there or on the zookeepers.)  Note that you will need to update two other things (details below).

Have you deployed the GeoMesa distributed runtime jar to your Accumulo tablet servers?  That's a common question asked during first time deployments.

Thanks,

Jim
  • Accumulo
    • accumulo-core-1.5.1.jar
    • accumulo-fate-1.5.1.jar
    • accumulo-trace-1.5.1.jar
  • Zookeeper
    • zookeeper-3.4.5.jar
  • Hadoop core
    • hadoop-auth-2.2.0.jar
    • hadoop-client-2.2.0.jar
    • hadoop-common-2.2.0.jar
    • hadoop-hdfs-2.2.0.jar
    • hadoop-mapreduce-client-app-2.2.0.jar
    • hadoop-mapreduce-client-common-2.2.0.jar
    • hadoop-mapreduce-client-core-2.2.0.jar
    • hadoop-mapreduce-client-jobclient-2.2.0.jar
    • hadoop-mapreduce-client-shuffle-2.2.0.jar
  • Thrift
    • libthrift-0.9.1.jar

There are also GeoServer JARs that need to be updated for Accumulo (also in the lib directory):

  • commons-configuration: Accumulo requires commons-configuration 1.6 and previous versions should be replaced
  • commons-lang: GeoServer ships with commons-lang 2.1, but Accumulo requires replacing that with version 2.4
On 01/08/2015 03:53 PM, Manas Kar wrote:
Hi Experts, 
 I built my Geomesa with Accumulo 1.6 and hadoop.version = 2.5.0-cdh5.3.0

 It was bit convenient because my Cloudera instance provides Accumulo1.6.
 I am now trying to set up Geoserver to show Accumulo Data.

 I am using Geoserver 2.5.2 (With WPS)
 Accumulo1.6.
Geomesa(RC.3)

I am seeing the following error after following the document.

WARNING: Can't load a service for category "DataStoreFactorySpi". Cause is "ServiceConfigurationError: org.geotools.data.DataStoreFactorySpi: Provider org.locationtech.geomesa.core.data.AccumuloDataStoreFactory could not be instantiated".
java.util.ServiceConfigurationError: org.geotools.data.DataStoreFactorySpi: Provider org.locationtech.geomesa.core.data.AccumuloDataStoreFactory could not be instantiated
at java.util.ServiceLoader.fail(ServiceLoader.java:224)
at java.util.ServiceLoader.access$100(ServiceLoader.java:181)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:377)
at java.util.ServiceLoader$1.next(ServiceLoader.java:445)
at org.geotools.factory.FactoryRegistry.register(FactoryRegistry.java:826)
at org.geotools.factory.FactoryRegistry.scanForPlugins(FactoryRegistry.java:772)
.
.
.
Caused by: java.lang.NoClassDefFoundError: org/apache/hadoop/io/Writable

What am I missing here? Please help.

Thanks
Manas


On Thu, Jan 8, 2015 at 3:30 PM, Manas Kar <manasdebashiskar@xxxxxxxxx> wrote:
Hi, 
 I am trying to make my current Cloudera installation (CDH5.3 with Accumulo 1.6) work with Geomesa.

I saw a help in the Archive suggesting not to use Cloudera provided Accumulo. I was wondering if I can take a different route of compiling Geomesa with Accumulo 1.6?

Also Do I have to change the hadoop version to the Cloudera provided version?
 
Than



_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
http://www.locationtech.org/mailman/listinfo/geomesa-users


Back to the top