Replies: 4 comments 4 replies
-
Thanks for reporting this. Can you please also show the schema, in particular how you defined the index on the vid property key? If it as a MixedIndex can you also show how you configured the indexing backend? |
Beta Was this translation helpful? Give feedback.
-
@hadoopmarc thanks for the response. Is there any additional information that would be useful? I noticed there were some inconsistency fixes in 0.6.3, but they appear to be specific to MixedIndexes. Do you think it is worth testing on 0.6.3? |
Beta Was this translation helpful? Give feedback.
-
Not sure what the root cause is, but I suspect |
Beta Was this translation helpful? Give feedback.
-
Some new questions that pop up:
|
Beta Was this translation helpful? Give feedback.
-
We are observing inconsistent query results on Janus 0.6.1. outputs from both versions - Janus 0.6.1 and Janus 0.5.3 below.
JANUS 0.6.1 ---> sometimes it is showing 2 vids , sometimes 1.
`bin]$ ./gremlin.sh
,,,/
(o o)
-----oOOo-(3)-oOOo-----
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/janusgraph/janusgraph-full-0.6.1/lib/slf4j-log4j12-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/janusgraph/janusgraph-full-0.6.1/lib/logback-classic-1.1.3.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]
plugin activated: tinkerpop.server
plugin activated: tinkerpop.tinkergraph
17:22:30 WARN org.apache.hadoop.util.NativeCodeLoader - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
17:22:30 WARN org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory - The short-circuit local reads feature cannot be used because libhadoop cannot be loaded.
plugin activated: tinkerpop.hadoop
plugin activated: tinkerpop.spark
plugin activated: tinkerpop.utilities
plugin activated: janusgraph.imports
gremlin> graph = JanusGraphFactory.open('/usr/janusgraph/janusgraph-full-0.6.1/conf/gremlin-server/janusgraph-hbase-solr.properties')
17:22:42 WARN org.janusgraph.diskstorage.configuration.builder.ReadConfigurationBuilder - Warning graph.allow-upgrade is currently set to true on graph null. Please set graph.allow-upgrade to false in your properties file.
17:22:42 WARN org.janusgraph.diskstorage.configuration.builder.ReadConfigurationBuilder - Local setting ids.authority.conflict-avoidance-mode=LOCAL_MANUAL (Type: GLOBAL_OFFLINE) is overridden by globally managed value (NONE). Use the ManagementSystem interface instead of the local configuration to control this setting.
gremlin> graph.traversal().V().has('vid',within('-202432825562704244'))
==>v[8611472625704]
==>v[150658445456]
gremlin> graph.traversal().V().has('vid',within('-202432825562704244'))
==>v[8611472625704]
gremlin> graph.traversal().V().has('vid',within('-202432825562704244'))
==>v[8611472625704]
==>v[150658445456]
gremlin> graph.traversal().V().has('vid',within('-202432825562704244'))
==>v[8611472625704]
==>v[150658445456]
`
JANUS 0.5.3 - results below shows consistent :
`bin]$ ./gremlin.sh
,,,/
(o o)
-----oOOo-(3)-oOOo-----
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/janusgraph/janusgraph-full-0.5.3/lib/slf4j-log4j12-1.7.12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/janusgraph/janusgraph-full-0.5.3/lib/logback-classic-1.1.3.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]
plugin activated: tinkerpop.server
plugin activated: tinkerpop.tinkergraph
17:24:21 WARN org.apache.hadoop.util.NativeCodeLoader - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
17:24:21 WARN org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory - The short-circuit local reads feature cannot be used because libhadoop cannot be loaded.
plugin activated: tinkerpop.hadoop
plugin activated: tinkerpop.spark
plugin activated: tinkerpop.utilities
plugin activated: janusgraph.imports
gremlin> graph = JanusGraphFactory.open('/usr/janusgraph/janusgraph-full-0.5.3/conf/gremlin-server/janusgraph-hbase-solr.properties')
17:24:30 WARN org.janusgraph.diskstorage.configuration.builder.ReadConfigurationBuilder - Warning graph.allow-upgrade is currently set to true on graph null. Please set graph.allow-upgrade to false in your properties file.
17:24:30 WARN org.janusgraph.diskstorage.configuration.builder.ReadConfigurationBuilder - Local setting ids.authority.conflict-avoidance-mode=LOCAL_MANUAL (Type: GLOBAL_OFFLINE) is overridden by globally managed value (NONE). Use the ManagementSystem interface instead of the local configuration to control this setting.
gremlin> graph.traversal().V().has('vid',within('-202432825562704244'))
==>v[8611472625704]
gremlin> graph.traversal().V().has('vid',within('-202432825562704244'))
==>v[8611472625704]
gremlin> graph.traversal().V().has('vid',within('-202432825562704244'))
==>v[8611472625704]
gremlin> graph.traversal().V().has('vid',within('-202432825562704244'))
==>v[8611472625704]
gremlin> graph.traversal().V().has('vid',within('-202432825562704244'))
==>v[8611472625704]
gremlin> graph.traversal().V().has('vid',within('-202432825562704244'))
==>v[8611472625704]
gremlin> graph.traversal().V().has('vid',within('-202432825562704244'))
==>v[8611472625704]
`
Any idea why this inconsistent results out of 0.6.1?
Beta Was this translation helpful? Give feedback.
All reactions