Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-users] Quickstart Tutorial Issues

Jeff,

I can vouch for having success running GeoMesa with Hadoop 2.0.0-cdh4.5.0.  We were using Accumulo 1.5.0.

Here are the dependencies in my POM file for executing QuickStart:

<dependencies>
       <dependency>
            <groupId>geomesa</groupId>
            <artifactId>geomesa-core-accumulo1.5</artifactId>
            <version>1.0.0-SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>org.apache.accumulo</groupId>
            <artifactId>accumulo-core</artifactId>
            <version>1.5.0</version>
        </dependency>
        <dependency>
            <groupId>org.apache.hadoop</groupId>
            <artifactId>hadoop-client</artifactId>
            <version>2.0.0-cdh4.5.0</version>
        </dependency>
        <dependency>
            <groupId>org.geotools</groupId>
            <artifactId>gt-epsg-hsql</artifactId>
            <version>11.0</version>
        </dependency>
</dependencies>


I will say that we had some HSQL versioning problems that we were able to get around by adjusting our accumulo classloading so that the geomesa .jar was loaded before the Hadoop jars.  By doing that, it forced the newer HSQL code to be executed at runtime.

Reading the "What are the GeoMesa installation requirements and what are recommendations?" thread may be helpful: https://locationtech.org/mhonarc/lists/geomesa-users/msg00120.html

Good luck!

Beau


-----Original Message-----
From: geomesa-users-bounces@xxxxxxxxxxxxxxxx [mailto:geomesa-users-bounces@xxxxxxxxxxxxxxxx] On Behalf Of Lansing, Jeff J CIV SPAWARSYSCEN-PACIFIC, 56250
Sent: Wednesday, July 16, 2014 1:44 PM
To: geomesa-users@xxxxxxxxxxxxxxxx
Subject: [geomesa-users] Quickstart Tutorial Issues

I am going through the GeoMesa Quickstart Tutorial and trying to get GeoMesa to insert and read data from our Accumulo instance on dev.

I have the following questions and problems:

The Quickstart documentation says Hadoop 2.2 and Accumulo 1.5.x are required.  We have Accumulo 1.5.1 but we are using Hadoop 2.0.0-cdh4.5.0.

1.  Is GeoMesa compatible with our Hadoop version?

I was able to build the Quickstart code and run the java app to insert and query data from Accumulo.  Our version of Hadoop is not available in Maven so I used the Hadoop 2.2 dependency in the pom file in order to build everything.  The data was inserted without any errors and I validated that the data exists in Accumulo.  However, the query in the Quickstart app doesn't return any data.

2.  Is this possibly an issue with the Hadoop issues listed above?

The Quickstart documentation says:

There are additional JARs that are specific to your installation that you will also need to copy to GeoServer's lib directory. These may include:

  *   Accumulo
  *   Zookeeper
  *   Hadoop core
  *   Thrift"

3.  Can you tell us more specifically what jars are required for the GeoServer plugin?
_______________________________________________
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