Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-users] mvn install and accumulo version

Dear Deepanjana,

Sorry for the trouble building that branch with new dependencies.  The switch to Hadoop 2.6 requires a few small changes in GeoMesa.  I had previously sorted out those changes on a branch named a1.6_h2.6  With a few caveats, you can try out that branch right now if you like.

The first caveat is that that branch uses Scalding 0.11.  If you don't need any of the GeoMesa Map/Reduce Jobs or support, you could build that branch and get going.  (We can also sort out the Map/Reduce code later.)  On our main branch, 'accumulo1.5/1.x', we have updated to Scalding 0.13.1.  

Ideally, the HDP versions of Hadoop 2.6.x, Accumulo 1.6.x, and so on will all be binary compatible with the Apache versions.  If that's the case, then you will be fine to build against the Apache version of the dependencies.  Hortonworks does serve up their own versions of many of these jars.*

As an additional measure of confidence, one can add the Hortonworks repo to the pomxml and specify the HDP versions of the dependencies.  When the build succeeds, you'd know that the unit tests ran with the jars you'll see in production.  An example of doing that for HDP 2.1.5 is on a branch called hdp_2.1.5.  

If you let me know which 2.2.x, you are using, I'll cook up a branch with Scalding 0.13 and HDP 2.2.x.

Thanks,

Jim

* Checkout this directory as an example: http://repo.hortonworks.com/content/repositories/releases/org/apache/accumulo/accumulo-core/ 



----- Original Message -----
From:
"Geomesa User discussions" <geomesa-users@xxxxxxxxxxxxxxxx>

To:
<geomesa-users@xxxxxxxxxxxxxxxx>
Cc:

Sent:
Sat, 25 Apr 2015 10:39:54 +0200
Subject:
Re: [geomesa-users] mvn install and accumulo version


Thanks Chris. I managed to pull 'a1.6' branch and update some of the
dependencies as below:

<!-- environment-dependent versions -->

       <zookeeper.version>3.4.6</zookeeper.version>

        <accumulo.version>1.6.1</accumulo.version>

        <hadoop.version>2.6.0</hadoop.version>

        <scalding.version>0.13.1</scalding.version>

However, the GeoMesa core tests are failing:

[INFO] GeoMesa - [Accumulo 1.6.x] ........................ SUCCESS [  2.499 s]

[INFO] GeoMesa Utils - [Accumulo 1.6.x] ................... SUCCESS [ 33.247 s]

[INFO] GeoMesa Filters and Functions - [Accumulo 1.6.x] ... SUCCESS [ 12.889 s]

[INFO] GeoMesa Avro SimpleFeature - [Accumulo 1.6.x] ...... SUCCESS [ 21.233 s]

[INFO] GeoMesa Core - [Accumulo 1.6.x] .................... FAILURE [ 53.719 s]

[INFO] GeoMesa Distributed Runtime - [Accumulo 1.6.x] ..... SKIPPED

with the exceptions:

org.locationtech.geomesa.core.indexCoveringAttributeIndexTest  Time
elapsed: 0.051 sec  <<< ERROR! java.lang.RuntimeException: can not
create specification:
orglocationtech.geomesa.core.index.CoveringAttributeIndexTest

org.locationtech.geomesa.core.index.AttributeIndexStrategyTest  Time
elapsed: 0.002 sec  <<< ERROR! java.lang.RuntimeException: can not
create specification:
org.locationtech.geomesa.core.index.AttributeIndexStrategyTest

...

Should I be fixing some additional mvn dependencies?

Thanks,
Deepanjana

Back to the top