|
Re: Connecting to server from java: can't lock berkeleyje
D'oh... So, after that, I get a NullPointerException:
AnonymousTraversalSource<GraphTraversalSource> ats = traversal(); // not null
if (new File(props).exists()) // path to
D'oh... So, after that, I get a NullPointerException:
AnonymousTraversalSource<GraphTraversalSource> ats = traversal(); // not null
if (new File(props).exists()) // path to
|
By
queshaw
·
#6620
·
|
|
Re: Janusgraph-full-0.6.1: how to fix "WARNING: Critical severity vulnerabilities were found with Log4j!"
Hello Marc,
Yes. Now it works!
Thanks
Yingjie
Hello Marc,
Yes. Now it works!
Thanks
Yingjie
|
By
Yingjie Li
·
#6619
·
|
|
Re: Connecting to server from java: can't lock berkeleyje
You can take a look at:
https://docs.janusgraph.org/interactions/connecting/java/
Apparently, you used JanusGraphFactory, which opens an embedded JanusGraph instance in the client. If you want to
You can take a look at:
https://docs.janusgraph.org/interactions/connecting/java/
Apparently, you used JanusGraphFactory, which opens an embedded JanusGraph instance in the client. If you want to
|
By
hadoopmarc@...
·
#6618
·
|
|
Re: Connecting to server from java: can't lock berkeleyje
I should probably add I intend to use import static org.janusgraph.core.attribute.Text.* for textContains etc.
I should probably add I intend to use import static org.janusgraph.core.attribute.Text.* for textContains etc.
|
By
queshaw
·
#6617
·
|
|
Connecting to server from java: can't lock berkeleyje
I'm trying to connect to janusgraph server from java. If I follow the instructions in the documentation, using this in gradle:
implementation 'org.janusgraph:janusgraph-driver:0.6.2'
I'm trying to connect to janusgraph server from java. If I follow the instructions in the documentation, using this in gradle:
implementation 'org.janusgraph:janusgraph-driver:0.6.2'
|
By
queshaw
·
#6616
·
|
|
Re: Janusgraph-full-0.6.1: how to fix "WARNING: Critical severity vulnerabilities were found with Log4j!"
Hi Yingjie,
My suggestion was incomplete. In addition to removing the log4j-1.2.17.jar file from the lib folder, you have to remove the slf4j-log4j12-1.7.30.jar file as well. Otherwise, JanusGraph
Hi Yingjie,
My suggestion was incomplete. In addition to removing the log4j-1.2.17.jar file from the lib folder, you have to remove the slf4j-log4j12-1.7.30.jar file as well. Otherwise, JanusGraph
|
By
hadoopmarc@...
·
#6615
·
|
|
Re: Janusgraph-full-0.6.1: how to fix "WARNING: Critical severity vulnerabilities were found with Log4j!"
On Sat, Aug 20, 2022 at 09:28 AM, <hadoopmarc@...> wrote:
The JanusGraph and TinkerPop code only explicitly depend on slfj4j, so you can choose the logging implementation. you want You can simply
On Sat, Aug 20, 2022 at 09:28 AM, <hadoopmarc@...> wrote:
The JanusGraph and TinkerPop code only explicitly depend on slfj4j, so you can choose the logging implementation. you want You can simply
|
By
Yingjie Li
·
#6614
·
|
|
Re: Cannot pass list of maps to withSideEffect
Oh wow, I assumed that Gremlin.Net would throw if it has no GraphSON serializer for a given type but turns out that it just provides the object unchanged to the JsonSerializer from System.Text.Json
Oh wow, I assumed that Gremlin.Net would throw if it has no GraphSON serializer for a given type but turns out that it just provides the object unchanged to the JsonSerializer from System.Text.Json
|
By
Florian Hockmann
·
#6613
·
|
|
Re: Cannot pass list of maps to withSideEffect
Thanks Florian. I’ve created the issue with TinkerPop here.
You said that using my own class XXX cannot work, but strangely it seems to with the following code showing the injected array of XXX
Thanks Florian. I’ve created the issue with TinkerPop here.
You said that using my own class XXX cannot work, but strangely it seems to with the following code showing the injected array of XXX
|
By
bill.poole@...
·
#6612
·
|
|
Re: Cannot pass list of maps to withSideEffect
This sounds like a bug in Gremlin.Net to me, especially since it’s working with the Inject() step. Could you please create an issue with the TinkerPop (to which Gremlin.Net belongs) project here:
This sounds like a bug in Gremlin.Net to me, especially since it’s working with the Inject() step. Could you please create an issue with the TinkerPop (to which Gremlin.Net belongs) project here:
|
By
Florian Hockmann
·
#6611
·
|
|
Cannot pass list of maps to withSideEffect
Hi All – I’m trying to use the withSideEffect() configuration to add a list of maps to GraphTraversalSource like is done in the Long Traversals recipe and the server throws an exception –
Hi All – I’m trying to use the withSideEffect() configuration to add a list of maps to GraphTraversalSource like is done in the Long Traversals recipe and the server throws an exception –
|
By
bill.poole@...
·
#6610
·
|
|
Re: Java Heap Space - Vertex.edges
Thank you Marc and Boxuan - I tried using vertex cut, but it appears to lead toward graph corruption (ie zombie nodes - see thread on 'graph corruption'). Agree that I need a new approach.
Thank you Marc and Boxuan - I tried using vertex cut, but it appears to lead toward graph corruption (ie zombie nodes - see thread on 'graph corruption'). Agree that I need a new approach.
|
By
Joe Obernberger
·
#6609
·
|
|
Re: Java Heap Space - Vertex.edges
Also, your observation is correct that `inE().toList();` can lead to OOM simply because `outE()` size is very large. As Marc pointed out, in this case you have to specify the label `inE('your-label')`
Also, your observation is correct that `inE().toList();` can lead to OOM simply because `outE()` size is very large. As Marc pointed out, in this case you have to specify the label `inE('your-label')`
|
By
Boxuan Li
·
#6608
·
|
|
Re: Java Heap Space - Vertex.edges
Hi Joe,
Unfortunately, JanusGraph does not support super node (a vertex with millions of neighbors) well. And yes, you probably need to remodel your graph. Alternatively, there is a POC that allows
Hi Joe,
Unfortunately, JanusGraph does not support super node (a vertex with millions of neighbors) well. And yes, you probably need to remodel your graph. Alternatively, there is a POC that allows
|
By
Boxuan Li
·
#6607
·
|
|
Re: Java Heap Space - Vertex.edges
Hi Joe,
The section in the blog "When Predicate Pushdown Fails" shows that you definitely have to include the edge label, so: .inE('your-label')
Best wishes, Marc
Hi Joe,
The section in the blog "When Predicate Pushdown Fails" shows that you definitely have to include the edge label, so: .inE('your-label')
Best wishes, Marc
|
By
hadoopmarc@...
·
#6606
·
|
|
Re: Java Heap Space - Vertex.edges
Thank you Marc - I tried something like this:
List<Edge> edgeList = traversal.V().has("myId", myId).inE().toList();
myId is an indexed field. This also runs out of memory if the
Thank you Marc - I tried something like this:
List<Edge> edgeList = traversal.V().has("myId", myId).inE().toList();
myId is an indexed field. This also runs out of memory if the
|
By
Joe Obernberger
·
#6605
·
|
|
Re: Deserializer for "janusgraph:RelationIdentifier" not found
But you are subscribed to the list and you are getting other messages here?
Am I not using JanusGraph.Net correctly?
Can you please show how you are creating the client and the
But you are subscribed to the list and you are getting other messages here?
Am I not using JanusGraph.Net correctly?
Can you please show how you are creating the client and the
|
By
Florian Hockmann
·
#6604
·
|
|
Re: Java Heap Space - Vertex.edges
Hi Joe,
Can you take a look at this blog from Boxuan Li: https://li-boxuan.medium.com/janusgraph-deep-dive-part-3-speed-up-edge-queries-3b9eb5ba34f8
In general, it is better to use the TinkerPop API
Hi Joe,
Can you take a look at this blog from Boxuan Li: https://li-boxuan.medium.com/janusgraph-deep-dive-part-3-speed-up-edge-queries-3b9eb5ba34f8
In general, it is better to use the TinkerPop API
|
By
hadoopmarc@...
·
#6603
·
|
|
Deserializer for "janusgraph:RelationIdentifier" not found
Hello again – I’m responding to this thread. I saw the response to my original email via the web interface, but never received it by email, so cannot send this as a reply to that email.
In my
Hello again – I’m responding to this thread. I saw the response to my original email via the web interface, but never received it by email, so cannot send this as a reply to that email.
In my
|
By
bill.poole@...
·
#6602
·
|
|
Re: Deserializer for "janusgraph:RelationIdentifier" not found
Hi Bill,
the error is telling you that Gremlin.Net cannot deserialize the GraphSON type “janusgraph:RelationIdentifier”. That’s because it’s a JanusGraph specific type and Gremlin.Net
Hi Bill,
the error is telling you that Gremlin.Net cannot deserialize the GraphSON type “janusgraph:RelationIdentifier”. That’s because it’s a JanusGraph specific type and Gremlin.Net
|
By
Florian Hockmann
·
#6601
·
|