Elastic search 5.5.1 with Janusgraph


Suny <sahithiy...@...>
 

I see JG 0.1.1 is compatible  with 1.5.1 version of Elastic Search. I read somewhere JG 0.2.0 is going to support ES 5.x, but it is going to be released early next year may be.  Is it possible to customize JG 0.1.1 it to work with ES 5.5.1 version ?  Is this a good idea ? Did anybody tried doing this ?


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

JanusGraph 0.2.0 will be out before next year, definitely.
If you want to try out the ES 5.5 functionality, it is available now on the master branch.
Build a distribution from source code, and you can help test it out now.


On Friday, September 15, 2017 at 10:42:08 AM UTC-4, Suny wrote:
I see JG 0.1.1 is compatible  with 1.5.1 version of Elastic Search. I read somewhere JG 0.2.0 is going to support ES 5.x, but it is going to be released early next year may be.  Is it possible to customize JG 0.1.1 it to work with ES 5.5.1 version ?  Is this a good idea ? Did anybody tried doing this ?


gyw...@...
 

need help to use the master branch for janusgraph-hbase-solr setup
I got code compiled. When I run the example in the core directory, hbase connection is fine and the table been created. But I got the following solr index error
.....
17:23:48.039 [main] DEBUG o.j.d.hbase.HBaseStoreManager - [HBaseConfig] s3.bytes-per-checksum=512
17:23:48.039 [main] DEBUG o.j.d.hbase.HBaseStoreManager - [HBaseConfig] hfile.index.block.max.size=131072
17:23:48.039 [main] DEBUG o.j.d.hbase.HBaseStoreManager - [HBaseConfig] yarn.resourcemanager.webapp.https.address=${yarn.resourcemanager.hostname}:8090
17:23:48.039 [main] DEBUG o.j.d.hbase.HBaseStoreManager - [HBaseConfig] hbase.regionserver.info.bindAddress=0.0.0.0
17:23:48.039 [main] DEBUG o.j.d.hbase.HBaseStoreManager - End of HBase config key=value pairs
17:23:48.040 [main] INFO  org.janusgraph.diskstorage.Backend - Configuring index [search]
Exception in thread "main" java.lang.IllegalArgumentException: Could not find implementation class: org.janusgraph.diskstorage.solr.SolrIndex
at org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:61)
at org.janusgraph.diskstorage.Backend.getImplementationClass(Backend.java:477)
at org.janusgraph.diskstorage.Backend.getIndexes(Backend.java:464)
at org.janusgraph.diskstorage.Backend.<init>(Backend.java:149)
at org.janusgraph.graphdb.configuration.GraphDatabaseConfiguration.getBackend(GraphDatabaseConfiguration.java:1872)
at org.janusgraph.graphdb.database.StandardJanusGraph.<init>(StandardJanusGraph.java:134)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:107)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:75)
at com.sysomos.labs.janusgraph.MyTestFactory.main(MyTestFactory.java:165)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
Caused by: java.lang.ClassNotFoundException: org.janusgraph.diskstorage.solr.SolrIndex
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:56)

My janusgraph-hbase-solr.properties like this


storage.backend=hbase

storage.hostname=alghzk01:2181,alghzk02:2181,alghzk03:2181


cache.db-cache = false


index.search.backend=solr    (solr6.6 is used)

index.search.solr.mode=cloud

index.search.solr.zookeeper-url=alzk01.lab.dev.yyz.corp.pvt:2181/solr,alzk02.lab.dev.yyz.corp.pvt:2181/solr,alzk03.lab.dev.yyz.corp.pvt:2181/solr

index.search.solr.configset=janusGraphConf

#index.vertics.solr.num-shards=10

#index.edges.solr.num-shards=10


I do have solr collections (edges and vertices) created.


Thanks,

Guan



On Friday, 15 September 2017 08:53:34 UTC-7, Jason Plurad wrote:
JanusGraph 0.2.0 will be out before next year, definitely.
If you want to try out the ES 5.5 functionality, it is available now on the master branch.
Build a distribution from source code, and you can help test it out now.


On Friday, September 15, 2017 at 10:42:08 AM UTC-4, Suny wrote:
I see JG 0.1.1 is compatible  with 1.5.1 version of Elastic Search. I read somewhere JG 0.2.0 is going to support ES 5.x, but it is going to be released early next year may be.  Is it possible to customize JG 0.1.1 it to work with ES 5.5.1 version ?  Is this a good idea ? Did anybody tried doing this ?


Jerry He <jerr...@...>
 

Looks like you are missing janusgraph-solr jar in your classpath.

Thanks,

Jerry

On Sat, Sep 16, 2017 at 5:42 PM, <gyw...@...> wrote:
need help to use the master branch for janusgraph-hbase-solr setup
I got code compiled. When I run the example in the core directory, hbase
connection is fine and the table been created. But I got the following solr
index error
.....
17:23:48.039 [main] DEBUG o.j.d.hbase.HBaseStoreManager - [HBaseConfig]
s3.bytes-per-checksum=512
17:23:48.039 [main] DEBUG o.j.d.hbase.HBaseStoreManager - [HBaseConfig]
hfile.index.block.max.size=131072
17:23:48.039 [main] DEBUG o.j.d.hbase.HBaseStoreManager - [HBaseConfig]
yarn.resourcemanager.webapp.https.address=${yarn.resourcemanager.hostname}:8090
17:23:48.039 [main] DEBUG o.j.d.hbase.HBaseStoreManager - [HBaseConfig]
hbase.regionserver.info.bindAddress=0.0.0.0
17:23:48.039 [main] DEBUG o.j.d.hbase.HBaseStoreManager - End of HBase
config key=value pairs
17:23:48.040 [main] INFO org.janusgraph.diskstorage.Backend - Configuring
index [search]
Exception in thread "main" java.lang.IllegalArgumentException: Could not
find implementation class: org.janusgraph.diskstorage.solr.SolrIndex
at
org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:61)
at
org.janusgraph.diskstorage.Backend.getImplementationClass(Backend.java:477)
at org.janusgraph.diskstorage.Backend.getIndexes(Backend.java:464)
at org.janusgraph.diskstorage.Backend.<init>(Backend.java:149)
at
org.janusgraph.graphdb.configuration.GraphDatabaseConfiguration.getBackend(GraphDatabaseConfiguration.java:1872)
at
org.janusgraph.graphdb.database.StandardJanusGraph.<init>(StandardJanusGraph.java:134)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:107)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:75)
at com.sysomos.labs.janusgraph.MyTestFactory.main(MyTestFactory.java:165)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
Caused by: java.lang.ClassNotFoundException:
org.janusgraph.diskstorage.solr.SolrIndex
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at
org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:56)

My janusgraph-hbase-solr.properties like this


storage.backend=hbase

storage.hostname=alghzk01:2181,alghzk02:2181,alghzk03:2181


cache.db-cache = false


index.search.backend=solr (solr6.6 is used)

index.search.solr.mode=cloud

index.search.solr.zookeeper-url=alzk01.lab.dev.yyz.corp.pvt:2181/solr,alzk02.lab.dev.yyz.corp.pvt:2181/solr,alzk03.lab.dev.yyz.corp.pvt:2181/solr

index.search.solr.configset=janusGraphConf

#index.vertics.solr.num-shards=10

#index.edges.solr.num-shards=10


I do have solr collections (edges and vertices) created.


Thanks,

Guan



On Friday, 15 September 2017 08:53:34 UTC-7, Jason Plurad wrote:

JanusGraph 0.2.0 will be out before next year, definitely.
If you want to try out the ES 5.5 functionality, it is available now on
the master branch.
Build a distribution from source code, and you can help test it out now.


On Friday, September 15, 2017 at 10:42:08 AM UTC-4, Suny wrote:

I see JG 0.1.1 is compatible with 1.5.1 version of Elastic Search. I
read somewhere JG 0.2.0 is going to support ES 5.x, but it is going to be
released early next year may be. Is it possible to customize JG 0.1.1 it to
work with ES 5.5.1 version ? Is this a good idea ? Did anybody tried doing
this ?
--
You received this message because you are subscribed to the Google Groups
"JanusGraph users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to janusgra...@....
To view this discussion on the web visit
https://groups.google.com/d/msgid/janusgraph-users/0c18de50-95c9-43a8-9beb-f97b8c11f7c3%40googlegroups.com.

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


guan wang <gyw...@...>
 

Thank you Jerry. Yes, it was classpath problem. After fixed it. Now I have different error. 
solr/zookeeper connection is fine, the collections are automatically created after, but the index is empty.

22:36:37.548 [main] DEBUG o.j.d.hbase.HBaseKeyColumnValueStore - Generated HBase Filter ColumnRangeFilter [\x00, \xFF)
Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.base.Stopwatch.elapsedTime(Ljava/util/concurrent/TimeUnit;)J
at com.google.common.cache.LocalCache$LoadingValueReference.elapsedNanos(LocalCache.java:3600)
at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2407)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2373)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2335)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2250)
at com.google.common.cache.LocalCache.get(LocalCache.java:3985)
at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4788)
at org.janusgraph.graphdb.transaction.vertexcache.GuavaVertexCache.get(GuavaVertexCache.java:83)
at org.janusgraph.graphdb.transaction.StandardJanusGraphTx.getInternalVertex(StandardJanusGraphTx.java:446)
at org.janusgraph.graphdb.transaction.StandardJanusGraphTx$7.apply(StandardJanusGraphTx.java:1329)
at org.janusgraph.graphdb.transaction.StandardJanusGraphTx$7.apply(StandardJanusGraphTx.java:1324)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.stream.SliceOps$1$1.accept(SliceOps.java:204)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351)
at java.util.stream.StreamSpliterators$WrappingSpliterator.lambda$initPartialTraversalState$0(StreamSpliterators.java:294)
at java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.fillBuffer(StreamSpliterators.java:206)
at java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.doAdvance(StreamSpliterators.java:161)
at java.util.stream.StreamSpliterators$WrappingSpliterator.tryAdvance(StreamSpliterators.java:300)
at java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)
at org.janusgraph.graphdb.util.SubqueryIterator.hasNext(SubqueryIterator.java:79)
at org.janusgraph.graphdb.query.LimitAdjustingIterator.hasNext(LimitAdjustingIterator.java:70)
at org.janusgraph.graphdb.query.ResultSetIterator.nextInternal(ResultSetIterator.java:54)
at org.janusgraph.graphdb.query.ResultSetIterator.<init>(ResultSetIterator.java:44)
at org.janusgraph.graphdb.query.QueryProcessor.iterator(QueryProcessor.java:68)
at com.google.common.collect.Iterables$7.iterator(Iterables.java:613)
at com.google.common.collect.Iterables.getOnlyElement(Iterables.java:284)
at org.janusgraph.graphdb.database.StandardJanusGraph$1.retrieveSchemaByName(StandardJanusGraph.java:361)
at org.janusgraph.graphdb.database.cache.StandardSchemaCache.getSchemaId(StandardSchemaCache.java:112)
at org.janusgraph.graphdb.transaction.StandardJanusGraphTx.getSchemaVertex(StandardJanusGraphTx.java:878)
at org.janusgraph.graphdb.transaction.StandardJanusGraphTx.getVertexLabel(StandardJanusGraphTx.java:1005)
at org.janusgraph.graphdb.transaction.StandardJanusGraphTx.getOrCreateVertexLabel(StandardJanusGraphTx.java:1010)
at org.janusgraph.graphdb.tinkerpop.JanusGraphBlueprintsTransaction.addVertex(JanusGraphBlueprintsTransaction.java:119)
at org.janusgraph.example.GraphOfTheGodsFactory.load(GraphOfTheGodsFactory.java:117)
at org.janusgraph.example.GraphOfTheGodsFactory.load(GraphOfTheGodsFactory.java:66)
at com.sysomos.labs.janusgraph.JavaExample.main(JavaExample.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
22:36:38.264 [main-SendThread(alzk01.lab.dev.yyz.corp.pvt:2181)] DEBUG org.apache.zookeeper.ClientCnxn - Got ping response for sessionid: 0x15790982d05010f after 82ms
22:36:41.391 [pool-6-thread-1] DEBUG o.j.d.hbase.HBaseKeyColumnValueStore - Generated HBase Filter FilterList AND (2/2): [ColumnRangeFilter [\x00\x05Y\x84>\x17\x0F\x18, \x00\x05Y\x84>W\x0A\x00), ColumnPaginationFilter 

On Sun, 17 Sep 2017 at 15:02 Jerry He <jerr...@...> wrote:
Looks like you are missing janusgraph-solr jar in your classpath.

Thanks,

Jerry

On Sat, Sep 16, 2017 at 5:42 PM,  <gyw...@...> wrote:
> need help to use the master branch for janusgraph-hbase-solr setup
> I got code compiled. When I run the example in the core directory, hbase
> connection is fine and the table been created. But I got the following solr
> index error
> .....
> 17:23:48.039 [main] DEBUG o.j.d.hbase.HBaseStoreManager - [HBaseConfig]
> s3.bytes-per-checksum=512
> 17:23:48.039 [main] DEBUG o.j.d.hbase.HBaseStoreManager - [HBaseConfig]
> hfile.index.block.max.size=131072
> 17:23:48.039 [main] DEBUG o.j.d.hbase.HBaseStoreManager - [HBaseConfig]
> yarn.resourcemanager.webapp.https.address=${yarn.resourcemanager.hostname}:8090
> 17:23:48.039 [main] DEBUG o.j.d.hbase.HBaseStoreManager - [HBaseConfig]
> hbase.regionserver.info.bindAddress=0.0.0.0
> 17:23:48.039 [main] DEBUG o.j.d.hbase.HBaseStoreManager - End of HBase
> config key=value pairs
> 17:23:48.040 [main] INFO  org.janusgraph.diskstorage.Backend - Configuring
> index [search]
> Exception in thread "main" java.lang.IllegalArgumentException: Could not
> find implementation class: org.janusgraph.diskstorage.solr.SolrIndex
> at
> org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:61)
> at
> org.janusgraph.diskstorage.Backend.getImplementationClass(Backend.java:477)
> at org.janusgraph.diskstorage.Backend.getIndexes(Backend.java:464)
> at org.janusgraph.diskstorage.Backend.<init>(Backend.java:149)
> at
> org.janusgraph.graphdb.configuration.GraphDatabaseConfiguration.getBackend(GraphDatabaseConfiguration.java:1872)
> at
> org.janusgraph.graphdb.database.StandardJanusGraph.<init>(StandardJanusGraph.java:134)
> at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:107)
> at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:75)
> at com.sysomos.labs.janusgraph.MyTestFactory.main(MyTestFactory.java:165)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
> Caused by: java.lang.ClassNotFoundException:
> org.janusgraph.diskstorage.solr.SolrIndex
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:264)
> at
> org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:56)
>
> My janusgraph-hbase-solr.properties like this
>
>
> storage.backend=hbase
>
> storage.hostname=alghzk01:2181,alghzk02:2181,alghzk03:2181
>
>
> cache.db-cache = false
>
>
> index.search.backend=solr    (solr6.6 is used)
>
> index.search.solr.mode=cloud
>
> index.search.solr.zookeeper-url=alzk01.lab.dev.yyz.corp.pvt:2181/solr,alzk02.lab.dev.yyz.corp.pvt:2181/solr,alzk03.lab.dev.yyz.corp.pvt:2181/solr
>
> index.search.solr.configset=janusGraphConf
>
> #index.vertics.solr.num-shards=10
>
> #index.edges.solr.num-shards=10
>
>
> I do have solr collections (edges and vertices) created.
>
>
> Thanks,
>
> Guan
>
>
>
> On Friday, 15 September 2017 08:53:34 UTC-7, Jason Plurad wrote:
>>
>> JanusGraph 0.2.0 will be out before next year, definitely.
>> If you want to try out the ES 5.5 functionality, it is available now on
>> the master branch.
>> Build a distribution from source code, and you can help test it out now.
>>
>>
>> On Friday, September 15, 2017 at 10:42:08 AM UTC-4, Suny wrote:
>>>
>>> I see JG 0.1.1 is compatible  with 1.5.1 version of Elastic Search. I
>>> read somewhere JG 0.2.0 is going to support ES 5.x, but it is going to be
>>> released early next year may be.  Is it possible to customize JG 0.1.1 it to
>>> work with ES 5.5.1 version ?  Is this a good idea ? Did anybody tried doing
>>> this ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "JanusGraph users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to janusgra...@....
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/janusgraph-users/0c18de50-95c9-43a8-9beb-f97b8c11f7c3%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.


Jerry He <jerr...@...>
 

On the stack trace, you are hitting https://github.com/JanusGraph/janusgraph/issues/488

Thanks.

Jerry


On Monday, September 18, 2017 at 10:48:11 PM UTC-7, guan wang wrote:
Thank you Jerry. Yes, it was classpath problem. After fixed it. Now I have different error. 
solr/zookeeper connection is fine, the collections are automatically created after, but the index is empty.

22:36:37.548 [main] DEBUG o.j.d.hbase.HBaseKeyColumnValueStore - Generated HBase Filter ColumnRangeFilter [\x00, \xFF)
Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.base.Stopwatch.elapsedTime(Ljava/util/concurrent/TimeUnit;)J
at com.google.common.cache.LocalCache$LoadingValueReference.elapsedNanos(LocalCache.java:3600)
at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2407)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2373)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2335)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2250)
at com.google.common.cache.LocalCache.get(LocalCache.java:3985)
at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4788)
at org.janusgraph.graphdb.transaction.vertexcache.GuavaVertexCache.get(GuavaVertexCache.java:83)
at org.janusgraph.graphdb.transaction.StandardJanusGraphTx.getInternalVertex(StandardJanusGraphTx.java:446)
at org.janusgraph.graphdb.transaction.StandardJanusGraphTx$7.apply(StandardJanusGraphTx.java:1329)
at org.janusgraph.graphdb.transaction.StandardJanusGraphTx$7.apply(StandardJanusGraphTx.java:1324)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.stream.SliceOps$1$1.accept(SliceOps.java:204)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1351)
at java.util.stream.StreamSpliterators$WrappingSpliterator.lambda$initPartialTraversalState$0(StreamSpliterators.java:294)
at java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.fillBuffer(StreamSpliterators.java:206)
at java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.doAdvance(StreamSpliterators.java:161)
at java.util.stream.StreamSpliterators$WrappingSpliterator.tryAdvance(StreamSpliterators.java:300)
at java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)
at org.janusgraph.graphdb.util.SubqueryIterator.hasNext(SubqueryIterator.java:79)
at org.janusgraph.graphdb.query.LimitAdjustingIterator.hasNext(LimitAdjustingIterator.java:70)
at org.janusgraph.graphdb.query.ResultSetIterator.nextInternal(ResultSetIterator.java:54)
at org.janusgraph.graphdb.query.ResultSetIterator.<init>(ResultSetIterator.java:44)
at org.janusgraph.graphdb.query.QueryProcessor.iterator(QueryProcessor.java:68)
at com.google.common.collect.Iterables$7.iterator(Iterables.java:613)
at com.google.common.collect.Iterables.getOnlyElement(Iterables.java:284)
at org.janusgraph.graphdb.database.StandardJanusGraph$1.retrieveSchemaByName(StandardJanusGraph.java:361)
at org.janusgraph.graphdb.database.cache.StandardSchemaCache.getSchemaId(StandardSchemaCache.java:112)
at org.janusgraph.graphdb.transaction.StandardJanusGraphTx.getSchemaVertex(StandardJanusGraphTx.java:878)
at org.janusgraph.graphdb.transaction.StandardJanusGraphTx.getVertexLabel(StandardJanusGraphTx.java:1005)
at org.janusgraph.graphdb.transaction.StandardJanusGraphTx.getOrCreateVertexLabel(StandardJanusGraphTx.java:1010)
at org.janusgraph.graphdb.tinkerpop.JanusGraphBlueprintsTransaction.addVertex(JanusGraphBlueprintsTransaction.java:119)
at org.janusgraph.example.GraphOfTheGodsFactory.load(GraphOfTheGodsFactory.java:117)
at org.janusgraph.example.GraphOfTheGodsFactory.load(GraphOfTheGodsFactory.java:66)
at com.sysomos.labs.janusgraph.JavaExample.main(JavaExample.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
22:36:38.264 [main-SendThread(alzk01.lab.dev.yyz.corp.pvt:2181)] DEBUG org.apache.zookeeper.ClientCnxn - Got ping response for sessionid: 0x15790982d05010f after 82ms
22:36:41.391 [pool-6-thread-1] DEBUG o.j.d.hbase.HBaseKeyColumnValueStore - Generated HBase Filter FilterList AND (2/2): [ColumnRangeFilter [\x00\x05Y\x84>\x17\x0F\x18, \x00\x05Y\x84>W\x0A\x00), ColumnPaginationFilter 

On Sun, 17 Sep 2017 at 15:02 Jerry He <je...@...> wrote:
Looks like you are missing janusgraph-solr jar in your classpath.

Thanks,

Jerry

On Sat, Sep 16, 2017 at 5:42 PM,  <g...@...> wrote:
> need help to use the master branch for janusgraph-hbase-solr setup
> I got code compiled. When I run the example in the core directory, hbase
> connection is fine and the table been created. But I got the following solr
> index error
> .....
> 17:23:48.039 [main] DEBUG o.j.d.hbase.HBaseStoreManager - [HBaseConfig]
> s3.bytes-per-checksum=512
> 17:23:48.039 [main] DEBUG o.j.d.hbase.HBaseStoreManager - [HBaseConfig]
> hfile.index.block.max.size=131072
> 17:23:48.039 [main] DEBUG o.j.d.hbase.HBaseStoreManager - [HBaseConfig]
> yarn.resourcemanager.webapp.https.address=${yarn.resourcemanager.hostname}:8090
> 17:23:48.039 [main] DEBUG o.j.d.hbase.HBaseStoreManager - [HBaseConfig]
> hbase.regionserver.info.bindAddress=0.0.0.0
> 17:23:48.039 [main] DEBUG o.j.d.hbase.HBaseStoreManager - End of HBase
> config key=value pairs
> 17:23:48.040 [main] INFO  org.janusgraph.diskstorage.Backend - Configuring
> index [search]
> Exception in thread "main" java.lang.IllegalArgumentException: Could not
> find implementation class: org.janusgraph.diskstorage.solr.SolrIndex
> at
> org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:61)
> at
> org.janusgraph.diskstorage.Backend.getImplementationClass(Backend.java:477)
> at org.janusgraph.diskstorage.Backend.getIndexes(Backend.java:464)
> at org.janusgraph.diskstorage.Backend.<init>(Backend.java:149)
> at
> org.janusgraph.graphdb.configuration.GraphDatabaseConfiguration.getBackend(GraphDatabaseConfiguration.java:1872)
> at
> org.janusgraph.graphdb.database.StandardJanusGraph.<init>(StandardJanusGraph.java:134)
> at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:107)
> at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:75)
> at com.sysomos.labs.janusgraph.MyTestFactory.main(MyTestFactory.java:165)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
> Caused by: java.lang.ClassNotFoundException:
> org.janusgraph.diskstorage.solr.SolrIndex
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:264)
> at
> org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:56)
>
> My janusgraph-hbase-solr.properties like this
>
>
> storage.backend=hbase
>
> storage.hostname=alghzk01:2181,alghzk02:2181,alghzk03:2181
>
>
> cache.db-cache = false
>
>
> index.search.backend=solr    (solr6.6 is used)
>
> index.search.solr.mode=cloud
>
> index.search.solr.zookeeper-url=alzk01.lab.dev.yyz.corp.pvt:2181/solr,alzk02.lab.dev.yyz.corp.pvt:2181/solr,alzk03.lab.dev.yyz.corp.pvt:2181/solr
>
> index.search.solr.configset=janusGraphConf
>
> #index.vertics.solr.num-shards=10
>
> #index.edges.solr.num-shards=10
>
>
> I do have solr collections (edges and vertices) created.
>
>
> Thanks,
>
> Guan
>
>
>
> On Friday, 15 September 2017 08:53:34 UTC-7, Jason Plurad wrote:
>>
>> JanusGraph 0.2.0 will be out before next year, definitely.
>> If you want to try out the ES 5.5 functionality, it is available now on
>> the master branch.
>> Build a distribution from source code, and you can help test it out now.
>>
>>
>> On Friday, September 15, 2017 at 10:42:08 AM UTC-4, Suny wrote:
>>>
>>> I see JG 0.1.1 is compatible  with 1.5.1 version of Elastic Search. I
>>> read somewhere JG 0.2.0 is going to support ES 5.x, but it is going to be
>>> released early next year may be.  Is it possible to customize JG 0.1.1 it to
>>> work with ES 5.5.1 version ?  Is this a good idea ? Did anybody tried doing
>>> this ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "JanusGraph users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to janusgraph-use...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/janusgraph-users/0c18de50-95c9-43a8-9beb-f97b8c11f7c3%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.