|
Re: Duplicate Vertex
Hi Boxuan Li,
Hope this helps:
---------------------------------------------------------------------------------------------------
Vertex Index Name | Type | Unique | Backing
Hi Boxuan Li,
Hope this helps:
---------------------------------------------------------------------------------------------------
Vertex Index Name | Type | Unique | Backing
|
By
kumkar.dev@...
·
#5770
·
|
|
Re: Duplicate Vertex
Hi, can you share more details (what indexes do you have related to prop1 and/or prop2), or even minimal code to reproduce?
Hi, can you share more details (what indexes do you have related to prop1 and/or prop2), or even minimal code to reproduce?
|
By
Boxuan Li
·
#5769
·
|
|
Duplicate Vertex
Hello
We are on Janus 0.4.0 and faced one scenario wherein there were duplicate vertices created.
These 2 vertices were created in span of 9 milliseconds within single transaction.
We are using index
Hello
We are on Janus 0.4.0 and faced one scenario wherein there were duplicate vertices created.
These 2 vertices were created in span of 9 milliseconds within single transaction.
We are using index
|
By
kumkar.dev@...
·
#5768
·
Edited
|
|
Re: How to circumvent transaction cache?
Thanks for your thoughts.
1) I'm very interested to try out the PR you made for this issue.
2) I don't think the solution you gave me in that previous thread solves the issue. What if another user
Thanks for your thoughts.
1) I'm very interested to try out the PR you made for this issue.
2) I don't think the solution you gave me in that previous thread solves the issue. What if another user
|
By
timon.schneider@...
·
#5767
·
|
|
Re: Count Query Optimization
Amiya - I need to check the data, there is some mismatch with the counts.
Consider we have more than one relation to get the count. How can we modify the query?
For example:
A->E->B query is as
Amiya - I need to check the data, there is some mismatch with the counts.
Consider we have more than one relation to get the count. How can we modify the query?
For example:
A->E->B query is as
|
By
Vinayak Bali
·
#5766
·
|
|
Re: Count Query Optimization
Hi Vinayak,
Correct vertex count is ( 400332 non-unique, 34693 unique).
g.V().has('property1', 'A').aggregate('v'), all the vertex having property1 = A might be getting included in count in your
Hi Vinayak,
Correct vertex count is ( 400332 non-unique, 34693 unique).
g.V().has('property1', 'A').aggregate('v'), all the vertex having property1 = A might be getting included in count in your
|
By
AMIYA KUMAR SAHOO
·
#5765
·
|
|
Re: Count Query Optimization
Hi Amiya,
With dedup:
g.V().has('property1', 'A').
outE().has('property1','E').
where(inV().has('property1', 'B')). fold().
project('edgeCount', 'vertexCount').
Hi Amiya,
With dedup:
g.V().has('property1', 'A').
outE().has('property1','E').
where(inV().has('property1', 'B')). fold().
project('edgeCount', 'vertexCount').
|
By
Vinayak Bali
·
#5764
·
|
|
Re: Count Query Optimization
Hi Vinayak,
May be try below.
g.V().has('property1', 'A').
outE().has('property1','E').
where(inV().has('property1', 'B')). fold().
project('edgeCount', 'vertexCount').
Hi Vinayak,
May be try below.
g.V().has('property1', 'A').
outE().has('property1','E').
where(inV().has('property1', 'B')). fold().
project('edgeCount', 'vertexCount').
|
By
AMIYA KUMAR SAHOO
·
#5763
·
|
|
Re: Janusgraph - OLAP using Dataproc
Hi Claire!
Would you mind sharing the pom.xml file for your build? I'm trying a similar build for AWS and am hitting a mess of dependency errors.
Thank you :)
Ben
Hi Claire!
Would you mind sharing the pom.xml file for your build? I'm trying a similar build for AWS and am hitting a mess of dependency errors.
Thank you :)
Ben
|
By
kndoan94@...
·
#5762
·
|
|
Re: Caused by: org.janusgraph.core.JanusGraphException: A JanusGraph graph with the same instance id [0a000439355-0b2b58ca5c222] is already open. Might required forced shutdown.
Hi Srinivas,
In the yaml file determining class Settings you use the channelizer key twice. If you use ConfigurationManagentGraph only the following line should be present:
channelizer:
Hi Srinivas,
In the yaml file determining class Settings you use the channelizer key twice. If you use ConfigurationManagentGraph only the following line should be present:
channelizer:
|
By
hadoopmarc@...
·
#5761
·
|
|
Re: Count Query Optimization
Hi Vinayak,
Another attempt, this one is very similar to the one that works.
gremlin> graph =
Hi Vinayak,
Another attempt, this one is very similar to the one that works.
gremlin> graph =
|
By
hadoopmarc@...
·
#5760
·
|
|
Re: Count Query Optimization
Hi,
You may try to use denormalization by setting property1 from inV also on edge.
Then once edges are updated, following query should work:
g.V().has('property1',
Hi,
You may try to use denormalization by setting property1 from inV also on edge.
Then once edges are updated, following query should work:
g.V().has('property1',
|
By
Nicolas Trangosi <nicolas.trangosi@...>
·
#5759
·
|
|
Re: Count Query Optimization
Hi Marc,
Using local returns the output after each count. For
Hi Marc,
Using local returns the output after each count. For
|
By
Vinayak Bali
·
#5758
·
|
|
Re: Caused by: org.janusgraph.core.JanusGraphException: A JanusGraph graph with the same instance id [0a000439355-0b2b58ca5c222] is already open. Might required forced shutdown.
Hi Marc,
As per your info closed all instances other than current one.still if i restart server it is throwing same instance error.
as per logs there are
Hi Marc,
As per your info closed all instances other than current one.still if i restart server it is throwing same instance error.
as per logs there are
|
By
Real Life Adventure
·
#5757
·
|
|
Re: Count Query Optimization
Hi Vinayak,
Referring to you last post, what happens if you use aggregate(local, 'v') and aggregate(local, 'e'). The local modifier makes the aggregate() step lazy, which hopefully gives janusgraph
Hi Vinayak,
Referring to you last post, what happens if you use aggregate(local, 'v') and aggregate(local, 'e'). The local modifier makes the aggregate() step lazy, which hopefully gives janusgraph
|
By
hadoopmarc@...
·
#5756
·
|
|
Re: Count Query Optimization
Hi All,
The solution from BO XUAN LI to change config files worked for the following query:
g.V().has('property1', 'A').as('v1').outE().has('property1','E').as('e').inV().has('property1',
Hi All,
The solution from BO XUAN LI to change config files worked for the following query:
g.V().has('property1', 'A').as('v1').outE().has('property1','E').as('e').inV().has('property1',
|
By
Vinayak Bali
·
#5755
·
|
|
Re: JanusGraph 0.5.3 SparkGraph Computer with YARN Error - java.lang.ClassCastException: org.apache.hadoop.yarn.proto.YarnServiceProtos$GetNewApplicationRequestProto cannot be cast to org.apache.hadoop.hbase.shaded.com.google.protobuf.Message
Hi,
Because TinkerPop and JanusGraph do not ship with spark-yarn, all kinds of library conflict can occur when you start using spark-yarn. Since my blog from some years ago, where it was possible to
Hi,
Because TinkerPop and JanusGraph do not ship with spark-yarn, all kinds of library conflict can occur when you start using spark-yarn. Since my blog from some years ago, where it was possible to
|
By
hadoopmarc@...
·
#5754
·
|
|
Re: Caused by: org.janusgraph.core.JanusGraphException: A JanusGraph graph with the same instance id [0a000439355-0b2b58ca5c222] is already open. Might required forced shutdown.
Hi Srinivas,
No, you would not want to close the current instance, because it would close you out from further commands. This current instance will close automatically when exiting the gremlin
Hi Srinivas,
No, you would not want to close the current instance, because it would close you out from further commands. This current instance will close automatically when exiting the gremlin
|
By
hadoopmarc@...
·
#5753
·
|
|
Re: Caused by: org.janusgraph.core.JanusGraphException: A JanusGraph graph with the same instance id [0a000439355-0b2b58ca5c222] is already open. Might required forced shutdown.
Hi Mark,
I tried that one Before.Unable to Close current instance and the instanceid is not same as that in error.please check below logs.
gremlin> mgmt =
Hi Mark,
I tried that one Before.Unable to Close current instance and the instanceid is not same as that in error.please check below logs.
gremlin> mgmt =
|
By
Real Life Adventure
·
#5752
·
|
|
Re: Caused by: org.janusgraph.core.JanusGraphException: A JanusGraph graph with the same instance id [0a000439355-0b2b58ca5c222] is already open. Might required forced shutdown.
Hi Srinavas,
OK, I guess I was not clear enough.
The line with JanusGraphFactory should run locally in the gremlin console. This implies that you have to run gremlin console on the server host, or
Hi Srinavas,
OK, I guess I was not clear enough.
The line with JanusGraphFactory should run locally in the gremlin console. This implies that you have to run gremlin console on the server host, or
|
By
hadoopmarc@...
·
#5751
·
|