|
Re: Potential transaction issue (JG 0.6.0)
Hi Umesh,
What you reported might be due to a different cause. Are you able to reproduce it steadily, and if so, could you please share the steps to reproduce the problem? It would be great if you
Hi Umesh,
What you reported might be due to a different cause. Are you able to reproduce it steadily, and if so, could you please share the steps to reproduce the problem? It would be great if you
|
By
Boxuan Li
·
#6376
·
|
|
Re: Potential transaction issue (JG 0.6.0)
We faced below NPE with JG 0.6.0 while creating new vertex. Not sure if this is related but never seen this exception with earlier JG versions.
java.lang.NullPointerException: null
at
We faced below NPE with JG 0.6.0 while creating new vertex. Not sure if this is related but never seen this exception with earlier JG versions.
java.lang.NullPointerException: null
at
|
By
Umesh Gade
·
#6375
·
|
|
Re: Janusgraph embedded multi instance(JVM) data sync issue
Hi Marc,
All code and property configuration are shared in the last trail mail. I hope if we have not provided the cache properties then it means it will default false.
Thanks,
Pawan
Hi Marc,
All code and property configuration are shared in the last trail mail. I hope if we have not provided the cache properties then it means it will default false.
Thanks,
Pawan
|
By
Pawan Shriwas
·
#6374
·
|
|
Re: hasNext() slow for large number of incoming edges
Hi Boxuan, thanks for the response. Some background: I'm trying to use JG as a triplestore and importing rdf.
The triple <microsoft> <rdfs:type> <company> can be modelled as V('microsoft') ->
Hi Boxuan, thanks for the response. Some background: I'm trying to use JG as a triplestore and importing rdf.
The triple <microsoft> <rdfs:type> <company> can be modelled as V('microsoft') ->
|
By
Matthew Nguyen
·
#6373
·
|
|
Re: hasNext() slow for large number of incoming edges
Hi Matthew,
Unfortunately, that is not possible. You could do
g.V(v).inE(e).range(from, to).hasNext()
to “page” the result by yourself, but under the hood, it will fetch all the first “to”
Hi Matthew,
Unfortunately, that is not possible. You could do
g.V(v).inE(e).range(from, to).hasNext()
to “page” the result by yourself, but under the hood, it will fetch all the first “to”
|
By
Boxuan Li
·
#6372
·
|
|
dynamic graphics, limits and global index
Hi, if we're creating graphs dynamically in JG are the limits like 2^60 edges and Global V and E indexes bound/scoped to the graph or bound across all graphs in the set of graphs managed by
Hi, if we're creating graphs dynamically in JG are the limits like 2^60 edges and Global V and E indexes bound/scoped to the graph or bound across all graphs in the set of graphs managed by
|
By
Matthew Nguyen
·
#6371
·
|
|
Re: hasNext() slow for large number of incoming edges
Hi, I do need to traverse it but was hoping it would get chunked/streamed in. Or is there a better way for streaming/lazy loads?
Hi, I do need to traverse it but was hoping it would get chunked/streamed in. Or is there a better way for streaming/lazy loads?
|
By
Matthew Nguyen
·
#6370
·
|
|
Re: hasNext() slow for large number of incoming edges
Hi Mathew,
I don't know what it does underneath.
But if you want to just check about edge existence with hasNext, Can you try with limit 1.
g.V(n).inE(e).limit(1).hasNext()
Let's see,
Amiya
Hi Mathew,
I don't know what it does underneath.
But if you want to just check about edge existence with hasNext, Can you try with limit 1.
g.V(n).inE(e).limit(1).hasNext()
Let's see,
Amiya
|
By
AMIYA KUMAR SAHOO
·
#6369
·
|
|
hasNext() slow for large number of incoming edges
Hey folks, I have a Vertex v who has about 7m+ incoming edges e. The following query takes about 30+ seconds on a local installation of
Hey folks, I have a Vertex v who has about 7m+ incoming edges e. The following query takes about 30+ seconds on a local installation of
|
By
Matthew Nguyen
·
#6368
·
|
|
Re: JanusGraph 0.6.0 traversal change?
Duly noted. I'll keep in mind to dig deeper when seeing closed issues mentioning Tinkerpop updates. Thanks everyone!
Duly noted. I'll keep in mind to dig deeper when seeing closed issues mentioning Tinkerpop updates. Thanks everyone!
|
By
criminosis@...
·
#6367
·
|
|
Re: JanusGraph 0.6.0 traversal change?
Yes, exactly. This was a breaking change in TinkerPop 3.5.0 which is included in JanusGraph 0.6.0: https://tinkerpop.apache.org/docs/current/upgrade/#_anonymous_child_traversals
Von:
Yes, exactly. This was a breaking change in TinkerPop 3.5.0 which is included in JanusGraph 0.6.0: https://tinkerpop.apache.org/docs/current/upgrade/#_anonymous_child_traversals
Von:
|
By
Florian Hockmann
·
#6366
·
|
|
Re: JanusGraph 0.6.0 traversal change?
Yes. In JanusGraph 0.6.0, Apache TinkerPop was upgraded to 3.5.1 and requires using an anonymous traversal in such cases.
This is mentioned in their "Upgrade for users" guide here:
Yes. In JanusGraph 0.6.0, Apache TinkerPop was upgraded to 3.5.1 and requires using an anonymous traversal in such cases.
This is mentioned in their "Upgrade for users" guide here:
|
By
Clement de Groc
·
#6365
·
|
|
Re: JanusGraph 0.6.0 traversal change?
Ahh I see, I guess this is the intended usage now?
Basically doing "__.V" instead of "g.V" for the child traversal?
Ahh I see, I guess this is the intended usage now?
Basically doing "__.V" instead of "g.V" for the child traversal?
|
By
criminosis@...
·
#6364
·
|
|
JanusGraph 0.6.0 traversal change?
When running with 0.5.2 I was able to do this traversal to add an edge between to vertices
But when doing it through 0.6.0 I get this now:
After fiddling with it though I noticed I was able to do
When running with 0.5.2 I was able to do this traversal to add an edge between to vertices
But when doing it through 0.6.0 I get this now:
After fiddling with it though I noticed I was able to do
|
By
criminosis@...
·
#6363
·
|
|
Re: Janusgraph embedded multi instance(JVM) data sync issue
Hi Pawan,
Interesting, I could not find a JanusGraph unit test for this basic scenario (there is one with two instances and an index, though). This needs more investigation.
Meawhile, are you sure
Hi Pawan,
Interesting, I could not find a JanusGraph unit test for this basic scenario (there is one with two instances and an index, though). This needs more investigation.
Meawhile, are you sure
|
By
hadoopmarc@...
·
#6362
·
|
|
Re: Indexing Strategies for RDF edges/predicates on Janusgraph
Thanks for the clarification. That makes sense. I suppose if there were multiple edges from V(h) to V('mother') I would need to qualify it to insure the path exists?
eg
Thanks for the clarification. That makes sense. I suppose if there were multiple edges from V(h) to V('mother') I would need to qualify it to insure the path exists?
eg
|
By
Matthew Nguyen
·
#6361
·
|
|
Re: Indexing Strategies for RDF edges/predicates on Janusgraph
Hi Mathew,
Both of the example shows 2 different types of default index.
g.V(h).out('mother')
- This is example for default vertex-centric indexes per edge label
- This will help to traverse specific
Hi Mathew,
Both of the example shows 2 different types of default index.
g.V(h).out('mother')
- This is example for default vertex-centric indexes per edge label
- This will help to traverse specific
|
By
AMIYA KUMAR SAHOO
·
#6360
·
|
|
Re: Indexing Strategies for RDF edges/predicates on Janusgraph
Hi Amiya, I saw that but wasn't quite sure the intent given the example. It talks about edge labels but the examples are vertices & values?
g.V(h).out('mother') -> returns a vertex
Hi Amiya, I saw that but wasn't quite sure the intent given the example. It talks about edge labels but the examples are vertices & values?
g.V(h).out('mother') -> returns a vertex
|
By
Matthew Nguyen
·
#6359
·
|
|
Re: Indexing Strategies for RDF edges/predicates on Janusgraph
Hi Mathew,
As per the below Note from Janusgraph docs, even if company is having 1k different types of edge related to it, traverse by edge lable will be fast.
Such as find employees employedBy (edge
Hi Mathew,
As per the below Note from Janusgraph docs, even if company is having 1k different types of edge related to it, traverse by edge lable will be fast.
Such as find employees employedBy (edge
|
By
AMIYA KUMAR SAHOO
·
#6358
·
|
|
Re: Indexing Strategies for RDF edges/predicates on Janusgraph
Hi Matthew,
It would be possible to replace the employedBy, isSoldby, isLeasedBy relations with a relatedToCompany relation with employment, selling and lease properties. But I do not see any
Hi Matthew,
It would be possible to replace the employedBy, isSoldby, isLeasedBy relations with a relatedToCompany relation with employment, selling and lease properties. But I do not see any
|
By
hadoopmarc@...
·
#6357
·
|