test failure due to NoClassDefFoundError: ../cassandra/astyanax/AstyanaxKeyColumnValueStore$2


Demai <nid...@...>
 

I ran the mvn commands through terminal, and no customizations under .m2/

Now, I 'shamelessly' commented out 'testIndexCreationOptions' to see how far I can go. :-)

On Wednesday, September 6, 2017 at 10:56:41 AM UTC-7, Jason Plurad wrote:
Are you running mvn clean install from the terminal or in an IDE?
Do you have any customizations in ~/.m2/settings.xml?


On Wednesday, September 6, 2017 at 12:23:45 PM UTC-4, Demai wrote:
Jason,

yeah. although not necessary a mvn/java version issue, it must be environment related. I did what your suggested. 

The good news is that the earlier problem of "JanusGraph-Cassandra: Distributed Graph Database ... SUCCESS [  0.131 s] " passed
the bad news is the failure occur on the next one: "JanusGraph-ElasticSearch: Distributed Indexing Support FAILURE [07:57 min]" 
 
Tests in error: 
  ElasticSearchConfigTest.testIndexCreationOptions » IndexMissing [janusgraph] m...
  ThriftElasticsearchTest.beforeClass:65 » IllegalArgument Path /Users/demai/jan...

2017-09-05 16:09:15.759 [main] WARN  reflections.Reflections: given scan urls are empty. set urls in the configuration
Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 191.531 sec <<< FAILURE! - in org.janusgraph.diskstorage.es.ElasticSearchConfigTest
testIndexCreationOptions(org.janusgraph.diskstorage.es.ElasticSearchConfigTest)  Time elapsed: 15.762 sec  <<< ERROR!
org.elasticsearch.indices.IndexMissingException: [janusgraph] missing
at org.elasticsearch.cluster.metadata.MetaData.convertFromWildcards(MetaData.java:867)
at org.elasticsearch.cluster.metadata.MetaData.concreteIndices(MetaData.java:684)
at org.elasticsearch.action.admin.indices.settings.get.TransportGetSettingsAction.checkBlock(TransportGetSettingsAction.java:65)
at org.elasticsearch.action.admin.indices.settings.get.TransportGetSettingsAction.checkBlock(TransportGetSettingsAction.java:46)
at org.elasticsearch.action.support.master.TransportMasterNodeOperationAction.innerExecute(TransportMasterNodeOperationAction.java:96)
......
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

2017-09-05 16:09:16.314 [elasticsearch[Baron Blood][clusterService#updateTask][T#1]] WARN  discovery.zen: [Baron Blood] master left (reason = transport disconnected), current nodes: {[Baron Blood][gZA2xVctTQSfcKJKKwu8uQ][localhost][inet[/127.0.0.1:9304]]{client=true, data=false, local=false},}
Running org.janusgraph.diskstorage.es.ElasticSearchIndexTest
2017-09-05 16:09:36.813 [main] ERROR es.ElasticSearchIndex: Failed to execute ES query MapperParsingException[failed to parse [time]]; nested: NumberFormatException[For input string: "not a time"]; 
2017-09-05 16:09:36.814 [main] ERROR es.ElasticSearchIndex: Failed to execute ES query 1m
java.lang.Exception: failure in bulk execution:
[1]: index [janusgraph], type [vertex], id [failing-doc], message [MapperParsingException[failed to parse [time]]; nested: NumberFormatException[For input string: "not a time"]; ]
at org.janusgraph.diskstorage.es.ElasticSearchIndex.mutate(ElasticSearchIndex.java:628)
at org.janusgraph.diskstorage.indexing.IndexTransaction$1.call(IndexTransaction.java:137)
at org.janusgraph.diskstorage.indexing.IndexTransaction$1.call(IndexTransaction.java:134)
at org.janusgraph.diskstorage.util.BackendOperation.executeDirect(BackendOperation.java:69)
at org.janusgraph.diskstorage.util.BackendOperation.execute(BackendOperation.java:55)
at org.janusgraph.diskstorage.indexing.IndexTransaction.flushInternal(IndexTransaction.java:134)
at org.janusgraph.diskstorage.indexing.IndexTransaction.commit(IndexTransaction.java:115)
at org.janusgraph.diskstorage.es.ElasticSearchIndexTest.testErrorInBatch(ElasticSearchIndexTest.java:172)



On Friday, September 1, 2017 at 6:59:58 AM UTC-7, Jason Plurad wrote:
Agree that Maven/Java version likely isn't the problem, just trying to level set on your environment.
If there was a problem with the build, TravisCI would be failing and there would be a lot more complaints.
Are you running mvn clean install from the terminal or in an IDE?
Do you have any customizations in ~/.m2/settings.xml?

I'd suggest clearing out the local Maven repository and doing a fresh clone

rm -rf ~/.m2/repository/org/janusgraph/
git clone git@github
.com:JanusGraph/janusgraph.git
cd janusgraph
mvn clean install


On Thursday, August 31, 2017 at 5:40:17 PM UTC-4, Demai wrote:
Jason, 

thanks for your response.

I am using:
Apache maven 3.3.9 and Oracle java 1.8.0_102

for this particular problem, probably a link file(pom) somewhere inconsistent? the minor difference with java version is unlikely the problem

Demai

On Thu, Aug 31, 2017 at 11:35 AM, Jason Plurad wrote:
What are your Java and Maven versions? I've been using Maven 3.3.9 with Oracle Java 1.8.0_144 on my Mac.


On Wednesday, August 30, 2017 at 1:50:31 PM UTC-4, Demai wrote:
hi, folks,

I am setting up the dev environment on my macbook, and did a "mvn clean install" to run through the testing as instructed here : https://github.com/JanusGraph/janusgraph/blob/master/TESTING.md

I encountered the following error due to AstyanaxKeyColumnValueStore$2 not found. My version is pretty up to date (8/29). I did a quick search in the issues and the email group, but didn't find any reference to this error.  And I am able to find the AstyanaxKeyColumnValueStore.java under package org.janusgraph.diskstorage.cassandra.astyanax.  

Just wondering maybe some environment issues? Many thanks


Demai

--------------------------------------------- ERROR messages --------------------------
JanusGraph-Cassandra: Distributed Graph Database ... FAILURE [  01:01 h]

Tests in error:
  AstyanaxGraphTest>JanusGraphTest.testVertexTTLImplicitKey:5141 » JanusGraph Co...
  AstyanaxGraphTest>JanusGraphTest.testEdgeTTLImplicitKey:5100 » JanusGraph Coul...

-------------------------------------------------------------------------------
Test set: org.janusgraph.graphdb.astyanax.AstyanaxGraphTest
-------------------------------------------------------------------------------
Tests run: 65, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 316.392 sec <<< FAILURE! - in org.janusgraph.graphdb.astyanax.AstyanaxGraphTest
testVertexTTLImplicitKey(org.janusgraph.graphdb.astyanax.AstyanaxGraphTest)  Time elapsed: 1.57 sec  <<< ERROR!
org.janusgraph.core.JanusGraphException: Could not execute operation due to backend exception
at org.janusgraph.diskstorage.util.BackendOperation.execute(BackendOperation.java:57)
at org.janusgraph.diskstorage.BackendTransaction.executeRead(BackendTransaction.java:469)
at org.janusgraph.diskstorage.BackendTransaction.edgeStoreQuery(BackendTransaction.java:268)
at org.janusgraph.graphdb.database.StandardJanusGraph.edgeQuery(StandardJanusGraph.java:424)
at org.janusgraph.graphdb.database.StandardJanusGraph$1.retrieveSchemaRelations(StandardJanusGraph.java:377)
at org.janusgraph.graphdb.database.cache.StandardSchemaCache.getSchemaRelations(StandardSchemaCache.java:170)
at org.janusgraph.graphdb.types.vertices.JanusGraphSchemaVertex.getDefinition(JanusGraphSchemaVertex.java:82)
at org.janusgraph.graphdb.types.VertexLabelVertex.isPartitioned(VertexLabelVertex.java:33)
at org.janusgraph.graphdb.database.idassigner.VertexIDAssigner.getVertexIDType(VertexIDAssigner.java:363)
.....
Caused by: org.janusgraph.diskstorage.PermanentBackendException: Permanent exception while executing backend operation EdgeStoreQuery
at org.janusgraph.diskstorage.util.BackendOperation.executeDirect(BackendOperation.java:82)
at org.janusgraph.diskstorage.util.BackendOperation.execute(BackendOperation.java:55)
at org.janusgraph.diskstorage.BackendTransaction.executeRead(BackendTransaction.java:469)
....
Caused by: java.lang.NoClassDefFoundError: org/janusgraph/diskstorage/cassandra/astyanax/AstyanaxKeyColumnValueStore$2
at org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxKeyColumnValueStore$AstyanaxGetter.getMetaData(AstyanaxKeyColumnValueStore.java:263)
at org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxKeyColumnValueStore$AstyanaxGetter.getMetaData(AstyanaxKeyColumnValueStore.java:237)
at org.janusgraph.diskstorage.util.StaticArrayEntryList.getMetaDataSize(StaticArrayEntryList.java:475)

--
You received this message because you are subscribed to the Google Groups "JanusGraph developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-dev/3052e272-446c-4315-b6c4-6c5755c9c3ca%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


Jason Plurad <plu...@...>
 

Are you running mvn clean install from the terminal or in an IDE?
Do you have any customizations in ~/.m2/settings.xml?


On Wednesday, September 6, 2017 at 12:23:45 PM UTC-4, Demai wrote:
Jason,

yeah. although not necessary a mvn/java version issue, it must be environment related. I did what your suggested. 

The good news is that the earlier problem of "JanusGraph-Cassandra: Distributed Graph Database ... SUCCESS [  0.131 s] " passed
the bad news is the failure occur on the next one: "JanusGraph-ElasticSearch: Distributed Indexing Support FAILURE [07:57 min]" 
 
Tests in error: 
  ElasticSearchConfigTest.testIndexCreationOptions » IndexMissing [janusgraph] m...
  ThriftElasticsearchTest.beforeClass:65 » IllegalArgument Path /Users/demai/jan...

2017-09-05 16:09:15.759 [main] WARN  reflections.Reflections: given scan urls are empty. set urls in the configuration
Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 191.531 sec <<< FAILURE! - in org.janusgraph.diskstorage.es.ElasticSearchConfigTest
testIndexCreationOptions(org.janusgraph.diskstorage.es.ElasticSearchConfigTest)  Time elapsed: 15.762 sec  <<< ERROR!
org.elasticsearch.indices.IndexMissingException: [janusgraph] missing
at org.elasticsearch.cluster.metadata.MetaData.convertFromWildcards(MetaData.java:867)
at org.elasticsearch.cluster.metadata.MetaData.concreteIndices(MetaData.java:684)
at org.elasticsearch.action.admin.indices.settings.get.TransportGetSettingsAction.checkBlock(TransportGetSettingsAction.java:65)
at org.elasticsearch.action.admin.indices.settings.get.TransportGetSettingsAction.checkBlock(TransportGetSettingsAction.java:46)
at org.elasticsearch.action.support.master.TransportMasterNodeOperationAction.innerExecute(TransportMasterNodeOperationAction.java:96)
......
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

2017-09-05 16:09:16.314 [elasticsearch[Baron Blood][clusterService#updateTask][T#1]] WARN  discovery.zen: [Baron Blood] master left (reason = transport disconnected), current nodes: {[Baron Blood][gZA2xVctTQSfcKJKKwu8uQ][localhost][inet[/127.0.0.1:9304]]{client=true, data=false, local=false},}
Running org.janusgraph.diskstorage.es.ElasticSearchIndexTest
2017-09-05 16:09:36.813 [main] ERROR es.ElasticSearchIndex: Failed to execute ES query MapperParsingException[failed to parse [time]]; nested: NumberFormatException[For input string: "not a time"]; 
2017-09-05 16:09:36.814 [main] ERROR es.ElasticSearchIndex: Failed to execute ES query 1m
java.lang.Exception: failure in bulk execution:
[1]: index [janusgraph], type [vertex], id [failing-doc], message [MapperParsingException[failed to parse [time]]; nested: NumberFormatException[For input string: "not a time"]; ]
at org.janusgraph.diskstorage.es.ElasticSearchIndex.mutate(ElasticSearchIndex.java:628)
at org.janusgraph.diskstorage.indexing.IndexTransaction$1.call(IndexTransaction.java:137)
at org.janusgraph.diskstorage.indexing.IndexTransaction$1.call(IndexTransaction.java:134)
at org.janusgraph.diskstorage.util.BackendOperation.executeDirect(BackendOperation.java:69)
at org.janusgraph.diskstorage.util.BackendOperation.execute(BackendOperation.java:55)
at org.janusgraph.diskstorage.indexing.IndexTransaction.flushInternal(IndexTransaction.java:134)
at org.janusgraph.diskstorage.indexing.IndexTransaction.commit(IndexTransaction.java:115)
at org.janusgraph.diskstorage.es.ElasticSearchIndexTest.testErrorInBatch(ElasticSearchIndexTest.java:172)



On Friday, September 1, 2017 at 6:59:58 AM UTC-7, Jason Plurad wrote:
Agree that Maven/Java version likely isn't the problem, just trying to level set on your environment.
If there was a problem with the build, TravisCI would be failing and there would be a lot more complaints.
Are you running mvn clean install from the terminal or in an IDE?
Do you have any customizations in ~/.m2/settings.xml?

I'd suggest clearing out the local Maven repository and doing a fresh clone

rm -rf ~/.m2/repository/org/janusgraph/
git clone git@github
.com:JanusGraph/janusgraph.git
cd janusgraph
mvn clean install


On Thursday, August 31, 2017 at 5:40:17 PM UTC-4, Demai wrote:
Jason, 

thanks for your response.

I am using:
Apache maven 3.3.9 and Oracle java 1.8.0_102

for this particular problem, probably a link file(pom) somewhere inconsistent? the minor difference with java version is unlikely the problem

Demai

On Thu, Aug 31, 2017 at 11:35 AM, Jason Plurad wrote:
What are your Java and Maven versions? I've been using Maven 3.3.9 with Oracle Java 1.8.0_144 on my Mac.


On Wednesday, August 30, 2017 at 1:50:31 PM UTC-4, Demai wrote:
hi, folks,

I am setting up the dev environment on my macbook, and did a "mvn clean install" to run through the testing as instructed here : https://github.com/JanusGraph/janusgraph/blob/master/TESTING.md

I encountered the following error due to AstyanaxKeyColumnValueStore$2 not found. My version is pretty up to date (8/29). I did a quick search in the issues and the email group, but didn't find any reference to this error.  And I am able to find the AstyanaxKeyColumnValueStore.java under package org.janusgraph.diskstorage.cassandra.astyanax.  

Just wondering maybe some environment issues? Many thanks


Demai

--------------------------------------------- ERROR messages --------------------------
JanusGraph-Cassandra: Distributed Graph Database ... FAILURE [  01:01 h]

Tests in error:
  AstyanaxGraphTest>JanusGraphTest.testVertexTTLImplicitKey:5141 » JanusGraph Co...
  AstyanaxGraphTest>JanusGraphTest.testEdgeTTLImplicitKey:5100 » JanusGraph Coul...

-------------------------------------------------------------------------------
Test set: org.janusgraph.graphdb.astyanax.AstyanaxGraphTest
-------------------------------------------------------------------------------
Tests run: 65, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 316.392 sec <<< FAILURE! - in org.janusgraph.graphdb.astyanax.AstyanaxGraphTest
testVertexTTLImplicitKey(org.janusgraph.graphdb.astyanax.AstyanaxGraphTest)  Time elapsed: 1.57 sec  <<< ERROR!
org.janusgraph.core.JanusGraphException: Could not execute operation due to backend exception
at org.janusgraph.diskstorage.util.BackendOperation.execute(BackendOperation.java:57)
at org.janusgraph.diskstorage.BackendTransaction.executeRead(BackendTransaction.java:469)
at org.janusgraph.diskstorage.BackendTransaction.edgeStoreQuery(BackendTransaction.java:268)
at org.janusgraph.graphdb.database.StandardJanusGraph.edgeQuery(StandardJanusGraph.java:424)
at org.janusgraph.graphdb.database.StandardJanusGraph$1.retrieveSchemaRelations(StandardJanusGraph.java:377)
at org.janusgraph.graphdb.database.cache.StandardSchemaCache.getSchemaRelations(StandardSchemaCache.java:170)
at org.janusgraph.graphdb.types.vertices.JanusGraphSchemaVertex.getDefinition(JanusGraphSchemaVertex.java:82)
at org.janusgraph.graphdb.types.VertexLabelVertex.isPartitioned(VertexLabelVertex.java:33)
at org.janusgraph.graphdb.database.idassigner.VertexIDAssigner.getVertexIDType(VertexIDAssigner.java:363)
.....
Caused by: org.janusgraph.diskstorage.PermanentBackendException: Permanent exception while executing backend operation EdgeStoreQuery
at org.janusgraph.diskstorage.util.BackendOperation.executeDirect(BackendOperation.java:82)
at org.janusgraph.diskstorage.util.BackendOperation.execute(BackendOperation.java:55)
at org.janusgraph.diskstorage.BackendTransaction.executeRead(BackendTransaction.java:469)
....
Caused by: java.lang.NoClassDefFoundError: org/janusgraph/diskstorage/cassandra/astyanax/AstyanaxKeyColumnValueStore$2
at org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxKeyColumnValueStore$AstyanaxGetter.getMetaData(AstyanaxKeyColumnValueStore.java:263)
at org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxKeyColumnValueStore$AstyanaxGetter.getMetaData(AstyanaxKeyColumnValueStore.java:237)
at org.janusgraph.diskstorage.util.StaticArrayEntryList.getMetaDataSize(StaticArrayEntryList.java:475)

--
You received this message because you are subscribed to the Google Groups "JanusGraph developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-dev/3052e272-446c-4315-b6c4-6c5755c9c3ca%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


Demai <nid...@...>
 

Jason,

yeah. although not necessary a mvn/java version issue, it must be environment related. I did what your suggested. 

The good news is that the earlier problem of "JanusGraph-Cassandra: Distributed Graph Database ... SUCCESS [  0.131 s] " passed
the bad news is the failure occur on the next one: "JanusGraph-ElasticSearch: Distributed Indexing Support FAILURE [07:57 min]" 
 
Tests in error: 
  ElasticSearchConfigTest.testIndexCreationOptions » IndexMissing [janusgraph] m...
  ThriftElasticsearchTest.beforeClass:65 » IllegalArgument Path /Users/demai/jan...

2017-09-05 16:09:15.759 [main] WARN  reflections.Reflections: given scan urls are empty. set urls in the configuration
Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 191.531 sec <<< FAILURE! - in org.janusgraph.diskstorage.es.ElasticSearchConfigTest
testIndexCreationOptions(org.janusgraph.diskstorage.es.ElasticSearchConfigTest)  Time elapsed: 15.762 sec  <<< ERROR!
org.elasticsearch.indices.IndexMissingException: [janusgraph] missing
at org.elasticsearch.cluster.metadata.MetaData.convertFromWildcards(MetaData.java:867)
at org.elasticsearch.cluster.metadata.MetaData.concreteIndices(MetaData.java:684)
at org.elasticsearch.action.admin.indices.settings.get.TransportGetSettingsAction.checkBlock(TransportGetSettingsAction.java:65)
at org.elasticsearch.action.admin.indices.settings.get.TransportGetSettingsAction.checkBlock(TransportGetSettingsAction.java:46)
at org.elasticsearch.action.support.master.TransportMasterNodeOperationAction.innerExecute(TransportMasterNodeOperationAction.java:96)
......
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

2017-09-05 16:09:16.314 [elasticsearch[Baron Blood][clusterService#updateTask][T#1]] WARN  discovery.zen: [Baron Blood] master left (reason = transport disconnected), current nodes: {[Baron Blood][gZA2xVctTQSfcKJKKwu8uQ][localhost][inet[/127.0.0.1:9304]]{client=true, data=false, local=false},}
Running org.janusgraph.diskstorage.es.ElasticSearchIndexTest
2017-09-05 16:09:36.813 [main] ERROR es.ElasticSearchIndex: Failed to execute ES query MapperParsingException[failed to parse [time]]; nested: NumberFormatException[For input string: "not a time"]; 
2017-09-05 16:09:36.814 [main] ERROR es.ElasticSearchIndex: Failed to execute ES query 1m
java.lang.Exception: failure in bulk execution:
[1]: index [janusgraph], type [vertex], id [failing-doc], message [MapperParsingException[failed to parse [time]]; nested: NumberFormatException[For input string: "not a time"]; ]
at org.janusgraph.diskstorage.es.ElasticSearchIndex.mutate(ElasticSearchIndex.java:628)
at org.janusgraph.diskstorage.indexing.IndexTransaction$1.call(IndexTransaction.java:137)
at org.janusgraph.diskstorage.indexing.IndexTransaction$1.call(IndexTransaction.java:134)
at org.janusgraph.diskstorage.util.BackendOperation.executeDirect(BackendOperation.java:69)
at org.janusgraph.diskstorage.util.BackendOperation.execute(BackendOperation.java:55)
at org.janusgraph.diskstorage.indexing.IndexTransaction.flushInternal(IndexTransaction.java:134)
at org.janusgraph.diskstorage.indexing.IndexTransaction.commit(IndexTransaction.java:115)
at org.janusgraph.diskstorage.es.ElasticSearchIndexTest.testErrorInBatch(ElasticSearchIndexTest.java:172)



On Friday, September 1, 2017 at 6:59:58 AM UTC-7, Jason Plurad wrote:
Agree that Maven/Java version likely isn't the problem, just trying to level set on your environment.
If there was a problem with the build, TravisCI would be failing and there would be a lot more complaints.
Are you running mvn clean install from the terminal or in an IDE?
Do you have any customizations in ~/.m2/settings.xml?

I'd suggest clearing out the local Maven repository and doing a fresh clone

rm -rf ~/.m2/repository/org/janusgraph/
git clone git@github
.com:JanusGraph/janusgraph.git
cd janusgraph
mvn clean install


On Thursday, August 31, 2017 at 5:40:17 PM UTC-4, Demai wrote:
Jason, 

thanks for your response.

I am using:
Apache maven 3.3.9 and Oracle java 1.8.0_102

for this particular problem, probably a link file(pom) somewhere inconsistent? the minor difference with java version is unlikely the problem

Demai

On Thu, Aug 31, 2017 at 11:35 AM, Jason Plurad wrote:
What are your Java and Maven versions? I've been using Maven 3.3.9 with Oracle Java 1.8.0_144 on my Mac.


On Wednesday, August 30, 2017 at 1:50:31 PM UTC-4, Demai wrote:
hi, folks,

I am setting up the dev environment on my macbook, and did a "mvn clean install" to run through the testing as instructed here : https://github.com/JanusGraph/janusgraph/blob/master/TESTING.md

I encountered the following error due to AstyanaxKeyColumnValueStore$2 not found. My version is pretty up to date (8/29). I did a quick search in the issues and the email group, but didn't find any reference to this error.  And I am able to find the AstyanaxKeyColumnValueStore.java under package org.janusgraph.diskstorage.cassandra.astyanax.  

Just wondering maybe some environment issues? Many thanks


Demai

--------------------------------------------- ERROR messages --------------------------
JanusGraph-Cassandra: Distributed Graph Database ... FAILURE [  01:01 h]

Tests in error:
  AstyanaxGraphTest>JanusGraphTest.testVertexTTLImplicitKey:5141 » JanusGraph Co...
  AstyanaxGraphTest>JanusGraphTest.testEdgeTTLImplicitKey:5100 » JanusGraph Coul...

-------------------------------------------------------------------------------
Test set: org.janusgraph.graphdb.astyanax.AstyanaxGraphTest
-------------------------------------------------------------------------------
Tests run: 65, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 316.392 sec <<< FAILURE! - in org.janusgraph.graphdb.astyanax.AstyanaxGraphTest
testVertexTTLImplicitKey(org.janusgraph.graphdb.astyanax.AstyanaxGraphTest)  Time elapsed: 1.57 sec  <<< ERROR!
org.janusgraph.core.JanusGraphException: Could not execute operation due to backend exception
at org.janusgraph.diskstorage.util.BackendOperation.execute(BackendOperation.java:57)
at org.janusgraph.diskstorage.BackendTransaction.executeRead(BackendTransaction.java:469)
at org.janusgraph.diskstorage.BackendTransaction.edgeStoreQuery(BackendTransaction.java:268)
at org.janusgraph.graphdb.database.StandardJanusGraph.edgeQuery(StandardJanusGraph.java:424)
at org.janusgraph.graphdb.database.StandardJanusGraph$1.retrieveSchemaRelations(StandardJanusGraph.java:377)
at org.janusgraph.graphdb.database.cache.StandardSchemaCache.getSchemaRelations(StandardSchemaCache.java:170)
at org.janusgraph.graphdb.types.vertices.JanusGraphSchemaVertex.getDefinition(JanusGraphSchemaVertex.java:82)
at org.janusgraph.graphdb.types.VertexLabelVertex.isPartitioned(VertexLabelVertex.java:33)
at org.janusgraph.graphdb.database.idassigner.VertexIDAssigner.getVertexIDType(VertexIDAssigner.java:363)
.....
Caused by: org.janusgraph.diskstorage.PermanentBackendException: Permanent exception while executing backend operation EdgeStoreQuery
at org.janusgraph.diskstorage.util.BackendOperation.executeDirect(BackendOperation.java:82)
at org.janusgraph.diskstorage.util.BackendOperation.execute(BackendOperation.java:55)
at org.janusgraph.diskstorage.BackendTransaction.executeRead(BackendTransaction.java:469)
....
Caused by: java.lang.NoClassDefFoundError: org/janusgraph/diskstorage/cassandra/astyanax/AstyanaxKeyColumnValueStore$2
at org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxKeyColumnValueStore$AstyanaxGetter.getMetaData(AstyanaxKeyColumnValueStore.java:263)
at org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxKeyColumnValueStore$AstyanaxGetter.getMetaData(AstyanaxKeyColumnValueStore.java:237)
at org.janusgraph.diskstorage.util.StaticArrayEntryList.getMetaDataSize(StaticArrayEntryList.java:475)

--
You received this message because you are subscribed to the Google Groups "JanusGraph developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-dev/3052e272-446c-4315-b6c4-6c5755c9c3ca%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


Jason Plurad <plu...@...>
 

Agree that Maven/Java version likely isn't the problem, just trying to level set on your environment.
If there was a problem with the build, TravisCI would be failing and there would be a lot more complaints.
Are you running mvn clean install from the terminal or in an IDE?
Do you have any customizations in ~/.m2/settings.xml?

I'd suggest clearing out the local Maven repository and doing a fresh clone

rm -rf ~/.m2/repository/org/janusgraph/
git clone git@github
.com:JanusGraph/janusgraph.git
cd janusgraph
mvn clean install


On Thursday, August 31, 2017 at 5:40:17 PM UTC-4, Demai wrote:
Jason, 

thanks for your response.

I am using:
Apache maven 3.3.9 and Oracle java 1.8.0_102

for this particular problem, probably a link file(pom) somewhere inconsistent? the minor difference with java version is unlikely the problem

Demai

On Thu, Aug 31, 2017 at 11:35 AM, Jason Plurad wrote:
What are your Java and Maven versions? I've been using Maven 3.3.9 with Oracle Java 1.8.0_144 on my Mac.


On Wednesday, August 30, 2017 at 1:50:31 PM UTC-4, Demai wrote:
hi, folks,

I am setting up the dev environment on my macbook, and did a "mvn clean install" to run through the testing as instructed here : https://github.com/JanusGraph/janusgraph/blob/master/TESTING.md

I encountered the following error due to AstyanaxKeyColumnValueStore$2 not found. My version is pretty up to date (8/29). I did a quick search in the issues and the email group, but didn't find any reference to this error.  And I am able to find the AstyanaxKeyColumnValueStore.java under package org.janusgraph.diskstorage.cassandra.astyanax.  

Just wondering maybe some environment issues? Many thanks


Demai

--------------------------------------------- ERROR messages --------------------------
JanusGraph-Cassandra: Distributed Graph Database ... FAILURE [  01:01 h]

Tests in error:
  AstyanaxGraphTest>JanusGraphTest.testVertexTTLImplicitKey:5141 » JanusGraph Co...
  AstyanaxGraphTest>JanusGraphTest.testEdgeTTLImplicitKey:5100 » JanusGraph Coul...

-------------------------------------------------------------------------------
Test set: org.janusgraph.graphdb.astyanax.AstyanaxGraphTest
-------------------------------------------------------------------------------
Tests run: 65, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 316.392 sec <<< FAILURE! - in org.janusgraph.graphdb.astyanax.AstyanaxGraphTest
testVertexTTLImplicitKey(org.janusgraph.graphdb.astyanax.AstyanaxGraphTest)  Time elapsed: 1.57 sec  <<< ERROR!
org.janusgraph.core.JanusGraphException: Could not execute operation due to backend exception
at org.janusgraph.diskstorage.util.BackendOperation.execute(BackendOperation.java:57)
at org.janusgraph.diskstorage.BackendTransaction.executeRead(BackendTransaction.java:469)
at org.janusgraph.diskstorage.BackendTransaction.edgeStoreQuery(BackendTransaction.java:268)
at org.janusgraph.graphdb.database.StandardJanusGraph.edgeQuery(StandardJanusGraph.java:424)
at org.janusgraph.graphdb.database.StandardJanusGraph$1.retrieveSchemaRelations(StandardJanusGraph.java:377)
at org.janusgraph.graphdb.database.cache.StandardSchemaCache.getSchemaRelations(StandardSchemaCache.java:170)
at org.janusgraph.graphdb.types.vertices.JanusGraphSchemaVertex.getDefinition(JanusGraphSchemaVertex.java:82)
at org.janusgraph.graphdb.types.VertexLabelVertex.isPartitioned(VertexLabelVertex.java:33)
at org.janusgraph.graphdb.database.idassigner.VertexIDAssigner.getVertexIDType(VertexIDAssigner.java:363)
.....
Caused by: org.janusgraph.diskstorage.PermanentBackendException: Permanent exception while executing backend operation EdgeStoreQuery
at org.janusgraph.diskstorage.util.BackendOperation.executeDirect(BackendOperation.java:82)
at org.janusgraph.diskstorage.util.BackendOperation.execute(BackendOperation.java:55)
at org.janusgraph.diskstorage.BackendTransaction.executeRead(BackendTransaction.java:469)
....
Caused by: java.lang.NoClassDefFoundError: org/janusgraph/diskstorage/cassandra/astyanax/AstyanaxKeyColumnValueStore$2
at org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxKeyColumnValueStore$AstyanaxGetter.getMetaData(AstyanaxKeyColumnValueStore.java:263)
at org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxKeyColumnValueStore$AstyanaxGetter.getMetaData(AstyanaxKeyColumnValueStore.java:237)
at org.janusgraph.diskstorage.util.StaticArrayEntryList.getMetaDataSize(StaticArrayEntryList.java:475)

--
You received this message because you are subscribed to the Google Groups "JanusGraph developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-dev/3052e272-446c-4315-b6c4-6c5755c9c3ca%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


Demai Ni <nid...@...>
 

Jason, 

thanks for your response.

I am using:
Apache maven 3.3.9 and Oracle java 1.8.0_102

for this particular problem, probably a link file(pom) somewhere inconsistent? the minor difference with java version is unlikely the problem

Demai

On Thu, Aug 31, 2017 at 11:35 AM, Jason Plurad <plu...@...> wrote:
What are your Java and Maven versions? I've been using Maven 3.3.9 with Oracle Java 1.8.0_144 on my Mac.


On Wednesday, August 30, 2017 at 1:50:31 PM UTC-4, Demai wrote:
hi, folks,

I am setting up the dev environment on my macbook, and did a "mvn clean install" to run through the testing as instructed here : https://github.com/JanusGraph/janusgraph/blob/master/TESTING.md

I encountered the following error due to AstyanaxKeyColumnValueStore$2 not found. My version is pretty up to date (8/29). I did a quick search in the issues and the email group, but didn't find any reference to this error.  And I am able to find the AstyanaxKeyColumnValueStore.java under package org.janusgraph.diskstorage.cassandra.astyanax.  

Just wondering maybe some environment issues? Many thanks


Demai

--------------------------------------------- ERROR messages --------------------------
JanusGraph-Cassandra: Distributed Graph Database ... FAILURE [  01:01 h]

Tests in error:
  AstyanaxGraphTest>JanusGraphTest.testVertexTTLImplicitKey:5141 » JanusGraph Co...
  AstyanaxGraphTest>JanusGraphTest.testEdgeTTLImplicitKey:5100 » JanusGraph Coul...

-------------------------------------------------------------------------------
Test set: org.janusgraph.graphdb.astyanax.AstyanaxGraphTest
-------------------------------------------------------------------------------
Tests run: 65, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 316.392 sec <<< FAILURE! - in org.janusgraph.graphdb.astyanax.AstyanaxGraphTest
testVertexTTLImplicitKey(org.janusgraph.graphdb.astyanax.AstyanaxGraphTest)  Time elapsed: 1.57 sec  <<< ERROR!
org.janusgraph.core.JanusGraphException: Could not execute operation due to backend exception
at org.janusgraph.diskstorage.util.BackendOperation.execute(BackendOperation.java:57)
at org.janusgraph.diskstorage.BackendTransaction.executeRead(BackendTransaction.java:469)
at org.janusgraph.diskstorage.BackendTransaction.edgeStoreQuery(BackendTransaction.java:268)
at org.janusgraph.graphdb.database.StandardJanusGraph.edgeQuery(StandardJanusGraph.java:424)
at org.janusgraph.graphdb.database.StandardJanusGraph$1.retrieveSchemaRelations(StandardJanusGraph.java:377)
at org.janusgraph.graphdb.database.cache.StandardSchemaCache.getSchemaRelations(StandardSchemaCache.java:170)
at org.janusgraph.graphdb.types.vertices.JanusGraphSchemaVertex.getDefinition(JanusGraphSchemaVertex.java:82)
at org.janusgraph.graphdb.types.VertexLabelVertex.isPartitioned(VertexLabelVertex.java:33)
at org.janusgraph.graphdb.database.idassigner.VertexIDAssigner.getVertexIDType(VertexIDAssigner.java:363)
.....
Caused by: org.janusgraph.diskstorage.PermanentBackendException: Permanent exception while executing backend operation EdgeStoreQuery
at org.janusgraph.diskstorage.util.BackendOperation.executeDirect(BackendOperation.java:82)
at org.janusgraph.diskstorage.util.BackendOperation.execute(BackendOperation.java:55)
at org.janusgraph.diskstorage.BackendTransaction.executeRead(BackendTransaction.java:469)
....
Caused by: java.lang.NoClassDefFoundError: org/janusgraph/diskstorage/cassandra/astyanax/AstyanaxKeyColumnValueStore$2
at org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxKeyColumnValueStore$AstyanaxGetter.getMetaData(AstyanaxKeyColumnValueStore.java:263)
at org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxKeyColumnValueStore$AstyanaxGetter.getMetaData(AstyanaxKeyColumnValueStore.java:237)
at org.janusgraph.diskstorage.util.StaticArrayEntryList.getMetaDataSize(StaticArrayEntryList.java:475)

--
You received this message because you are subscribed to the Google Groups "JanusGraph developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-dev/3052e272-446c-4315-b6c4-6c5755c9c3ca%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


Jason Plurad <plu...@...>
 

What are your Java and Maven versions? I've been using Maven 3.3.9 with Oracle Java 1.8.0_144 on my Mac.


On Wednesday, August 30, 2017 at 1:50:31 PM UTC-4, Demai wrote:
hi, folks,

I am setting up the dev environment on my macbook, and did a "mvn clean install" to run through the testing as instructed here : https://github.com/JanusGraph/janusgraph/blob/master/TESTING.md

I encountered the following error due to AstyanaxKeyColumnValueStore$2 not found. My version is pretty up to date (8/29). I did a quick search in the issues and the email group, but didn't find any reference to this error.  And I am able to find the AstyanaxKeyColumnValueStore.java under package org.janusgraph.diskstorage.cassandra.astyanax.  

Just wondering maybe some environment issues? Many thanks


Demai

--------------------------------------------- ERROR messages --------------------------
JanusGraph-Cassandra: Distributed Graph Database ... FAILURE [  01:01 h]

Tests in error:
  AstyanaxGraphTest>JanusGraphTest.testVertexTTLImplicitKey:5141 » JanusGraph Co...
  AstyanaxGraphTest>JanusGraphTest.testEdgeTTLImplicitKey:5100 » JanusGraph Coul...

-------------------------------------------------------------------------------
Test set: org.janusgraph.graphdb.astyanax.AstyanaxGraphTest
-------------------------------------------------------------------------------
Tests run: 65, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 316.392 sec <<< FAILURE! - in org.janusgraph.graphdb.astyanax.AstyanaxGraphTest
testVertexTTLImplicitKey(org.janusgraph.graphdb.astyanax.AstyanaxGraphTest)  Time elapsed: 1.57 sec  <<< ERROR!
org.janusgraph.core.JanusGraphException: Could not execute operation due to backend exception
at org.janusgraph.diskstorage.util.BackendOperation.execute(BackendOperation.java:57)
at org.janusgraph.diskstorage.BackendTransaction.executeRead(BackendTransaction.java:469)
at org.janusgraph.diskstorage.BackendTransaction.edgeStoreQuery(BackendTransaction.java:268)
at org.janusgraph.graphdb.database.StandardJanusGraph.edgeQuery(StandardJanusGraph.java:424)
at org.janusgraph.graphdb.database.StandardJanusGraph$1.retrieveSchemaRelations(StandardJanusGraph.java:377)
at org.janusgraph.graphdb.database.cache.StandardSchemaCache.getSchemaRelations(StandardSchemaCache.java:170)
at org.janusgraph.graphdb.types.vertices.JanusGraphSchemaVertex.getDefinition(JanusGraphSchemaVertex.java:82)
at org.janusgraph.graphdb.types.VertexLabelVertex.isPartitioned(VertexLabelVertex.java:33)
at org.janusgraph.graphdb.database.idassigner.VertexIDAssigner.getVertexIDType(VertexIDAssigner.java:363)
.....
Caused by: org.janusgraph.diskstorage.PermanentBackendException: Permanent exception while executing backend operation EdgeStoreQuery
at org.janusgraph.diskstorage.util.BackendOperation.executeDirect(BackendOperation.java:82)
at org.janusgraph.diskstorage.util.BackendOperation.execute(BackendOperation.java:55)
at org.janusgraph.diskstorage.BackendTransaction.executeRead(BackendTransaction.java:469)
....
Caused by: java.lang.NoClassDefFoundError: org/janusgraph/diskstorage/cassandra/astyanax/AstyanaxKeyColumnValueStore$2
at org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxKeyColumnValueStore$AstyanaxGetter.getMetaData(AstyanaxKeyColumnValueStore.java:263)
at org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxKeyColumnValueStore$AstyanaxGetter.getMetaData(AstyanaxKeyColumnValueStore.java:237)
at org.janusgraph.diskstorage.util.StaticArrayEntryList.getMetaDataSize(StaticArrayEntryList.java:475)


Demai <nid...@...>
 

hi, folks,

I am setting up the dev environment on my macbook, and did a "mvn clean install" to run through the testing as instructed here : https://github.com/JanusGraph/janusgraph/blob/master/TESTING.md

I encountered the following error due to AstyanaxKeyColumnValueStore$2 not found. My version is pretty up to date (8/29). I did a quick search in the issues and the email group, but didn't find any reference to this error.  And I am able to find the AstyanaxKeyColumnValueStore.java under package org.janusgraph.diskstorage.cassandra.astyanax.  

Just wondering maybe some environment issues? Many thanks


Demai

--------------------------------------------- ERROR messages --------------------------
JanusGraph-Cassandra: Distributed Graph Database ... FAILURE [  01:01 h]

Tests in error:
  AstyanaxGraphTest>JanusGraphTest.testVertexTTLImplicitKey:5141 » JanusGraph Co...
  AstyanaxGraphTest>JanusGraphTest.testEdgeTTLImplicitKey:5100 » JanusGraph Coul...

-------------------------------------------------------------------------------
Test set: org.janusgraph.graphdb.astyanax.AstyanaxGraphTest
-------------------------------------------------------------------------------
Tests run: 65, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 316.392 sec <<< FAILURE! - in org.janusgraph.graphdb.astyanax.AstyanaxGraphTest
testVertexTTLImplicitKey(org.janusgraph.graphdb.astyanax.AstyanaxGraphTest)  Time elapsed: 1.57 sec  <<< ERROR!
org.janusgraph.core.JanusGraphException: Could not execute operation due to backend exception
at org.janusgraph.diskstorage.util.BackendOperation.execute(BackendOperation.java:57)
at org.janusgraph.diskstorage.BackendTransaction.executeRead(BackendTransaction.java:469)
at org.janusgraph.diskstorage.BackendTransaction.edgeStoreQuery(BackendTransaction.java:268)
at org.janusgraph.graphdb.database.StandardJanusGraph.edgeQuery(StandardJanusGraph.java:424)
at org.janusgraph.graphdb.database.StandardJanusGraph$1.retrieveSchemaRelations(StandardJanusGraph.java:377)
at org.janusgraph.graphdb.database.cache.StandardSchemaCache.getSchemaRelations(StandardSchemaCache.java:170)
at org.janusgraph.graphdb.types.vertices.JanusGraphSchemaVertex.getDefinition(JanusGraphSchemaVertex.java:82)
at org.janusgraph.graphdb.types.VertexLabelVertex.isPartitioned(VertexLabelVertex.java:33)
at org.janusgraph.graphdb.database.idassigner.VertexIDAssigner.getVertexIDType(VertexIDAssigner.java:363)
.....
Caused by: org.janusgraph.diskstorage.PermanentBackendException: Permanent exception while executing backend operation EdgeStoreQuery
at org.janusgraph.diskstorage.util.BackendOperation.executeDirect(BackendOperation.java:82)
at org.janusgraph.diskstorage.util.BackendOperation.execute(BackendOperation.java:55)
at org.janusgraph.diskstorage.BackendTransaction.executeRead(BackendTransaction.java:469)
....
Caused by: java.lang.NoClassDefFoundError: org/janusgraph/diskstorage/cassandra/astyanax/AstyanaxKeyColumnValueStore$2
at org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxKeyColumnValueStore$AstyanaxGetter.getMetaData(AstyanaxKeyColumnValueStore.java:263)
at org.janusgraph.diskstorage.cassandra.astyanax.AstyanaxKeyColumnValueStore$AstyanaxGetter.getMetaData(AstyanaxKeyColumnValueStore.java:237)
at org.janusgraph.diskstorage.util.StaticArrayEntryList.getMetaDataSize(StaticArrayEntryList.java:475)