|
ERROR org.apache.spark.scheduler.cluster.StandaloneSchedulerBackend - Application has been killed. Reason: All masters are unresponsive! Giving up.
Hi All, gremlin> graph = GraphFactory.open('conf/hadoop-graph/read-cql-standalone-cluster.properties') ==>hadoopgraph[cqlinputformat->nulloutputformat] gremlin> g = graph.traversal().withComputer(Spar
Hi All, gremlin> graph = GraphFactory.open('conf/hadoop-graph/read-cql-standalone-cluster.properties') ==>hadoopgraph[cqlinputformat->nulloutputformat] gremlin> g = graph.traversal().withComputer(Spar
|
By
Vinayak Bali
· #5802
·
|
|
Count Query Optimisation
Hi All, The Data Model of the graph is as follows: Nodes: Label: Node1, count: 130K Label: Node2, count: 183K Label: Node3, count: 437K Label: Node4, count: 156 Relations: Node1 to Node2 Label: Edge1,
Hi All, The Data Model of the graph is as follows: Nodes: Label: Node1, count: 130K Label: Node2, count: 183K Label: Node3, count: 437K Label: Node4, count: 156 Relations: Node1 to Node2 Label: Edge1,
|
By
Vinayak Bali
· #5799
·
|
|
Count Query Optimization
Hi All, query.batch = true AND query.fast-property = true this doesn't work. facing the same problem. Is there any other way?? Thanks & Regards, Vinayak
Hi All, query.batch = true AND query.fast-property = true this doesn't work. facing the same problem. Is there any other way?? Thanks & Regards, Vinayak
|
By
Vinayak Bali
· #5795
·
|
|
Count Query Optimization
Hi All, Adding these properties in the configuration file affects edge traversal. Retrieving a single edge takes 7 mins of time. 1) Turn on query.batch 2) Turn off query.fast-property Count query is f
Hi All, Adding these properties in the configuration file affects edge traversal. Retrieving a single edge takes 7 mins of time. 1) Turn on query.batch 2) Turn off query.fast-property Count query is f
|
By
Vinayak Bali
· #5775
·
|
|
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 follow
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 follow
|
By
Vinayak Bali
· #5766
·
|
|
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'). by(count(local)). by(unfold().bothV().d
Hi Amiya, With dedup: g.V().has('property1', 'A'). outE().has('property1','E'). where(inV().has('property1', 'B')). fold(). project('edgeCount', 'vertexCount'). by(count(local)). by(unfold().bothV().d
|
By
Vinayak Bali
· #5764
·
|
|
Count Query Optimization
Hi Marc, Using local returns the output after each count. For example: ==>[vetexCount:184439,edgeCount:972] ==>[vetexCount:184440,edgeCount:973] ==>[vetexCount:184441,edgeCount:974] ==>[vetexCount:184
Hi Marc, Using local returns the output after each count. For example: ==>[vetexCount:184439,edgeCount:972] ==>[vetexCount:184440,edgeCount:973] ==>[vetexCount:184441,edgeCount:974] ==>[vetexCount:184
|
By
Vinayak Bali
· #5758
·
|
|
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', 'B').as('v2'
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', 'B').as('v2'
|
By
Vinayak Bali
· #5755
·
|
|
Threads are unresponsive for some time after a particular amount of data transfer(119MB)
Hi Marc, That is where the problem lies. I am not using the gremlin console. Want to execute queries through API built-in Java. Thanks & Regards, Vinayak
Hi Marc, That is where the problem lies. I am not using the gremlin console. Want to execute queries through API built-in Java. Thanks & Regards, Vinayak
|
By
Vinayak Bali
· #5748
·
|
|
Threads are unresponsive for some time after a particular amount of data transfer(119MB)
Hi Marc, I am using cluster mode to connect to janusgraph after creating the gremlin query. A sample of code is as follows: Cluster cluster = Cluster.build().addContactPoint("xx.xx.xx.xx") .port(8182)
Hi Marc, I am using cluster mode to connect to janusgraph after creating the gremlin query. A sample of code is as follows: Cluster cluster = Cluster.build().addContactPoint("xx.xx.xx.xx") .port(8182)
|
By
Vinayak Bali
· #5739
·
|
|
Threads are unresponsive for some time after a particular amount of data transfer(119MB)
Hi Marc, I went through some blogs but didn't get a method to connect to janusgraph using embedded mode using java. We are using Cassandra as a backend and cql to connect to it. Not sure how I will be
Hi Marc, I went through some blogs but didn't get a method to connect to janusgraph using embedded mode using java. We are using Cassandra as a backend and cql to connect to it. Not sure how I will be
|
By
Vinayak Bali
· #5734
·
|
|
JMX authentication for cassandra
Hi Marc, The article was useful and complete the JMX authentication successfully. But when I allow password authentication for Cassandra by changing the following lines in Cassandra.yaml, it stops wor
Hi Marc, The article was useful and complete the JMX authentication successfully. But when I allow password authentication for Cassandra by changing the following lines in Cassandra.yaml, it stops wor
|
By
Vinayak Bali
· #5733
·
|
|
Threads are unresponsive for some time after a particular amount of data transfer(119MB)
Hi All, We are connecting to janusgraph using java. A cluster connection with the gremlin driver is used for the connectivity. At the start, we were getting out of memory error, but tweaking some chan
Hi All, We are connecting to janusgraph using java. A cluster connection with the gremlin driver is used for the connectivity. At the start, we were getting out of memory error, but tweaking some chan
|
By
Vinayak Bali
· #5719
·
|
|
Count Query Optimization
Hi All, The schema consists of A, B as nodes, and E as an edge with some other nodes and edges. A: 183468 B: 437317 E: 186513 Query: g.V().has('property1', 'A').as('v1').outE().has('property1','E').as
Hi All, The schema consists of A, B as nodes, and E as an edge with some other nodes and edges. A: 183468 B: 437317 E: 186513 Query: g.V().has('property1', 'A').as('v1').outE().has('property1','E').as
|
By
Vinayak Bali
· #5717
·
|
|
JMX authentication for cassandra
Hi Marc, We get the same error.
Hi Marc, We get the same error.
|
By
Vinayak Bali
· #5714
·
|
|
JMX authentication for cassandra
Hi Marc, How can I enable JMX authentication for the Cassandra daemon ?? Thanks & Regards, Vinayak
Hi Marc, How can I enable JMX authentication for the Cassandra daemon ?? Thanks & Regards, Vinayak
|
By
Vinayak Bali
· #5707
·
|
|
Script16.groovy: 2: unable to resolve class StandardJanusGraph
Hi Marc, The same code works for JanusGraphFactory but not for ConfiguredGraphFactory. I investigated issue further. For ConfiguredGraphFactory we establish remote connection using following commands:
Hi Marc, The same code works for JanusGraphFactory but not for ConfiguredGraphFactory. I investigated issue further. For ConfiguredGraphFactory we establish remote connection using following commands:
|
By
Vinayak Bali
· #5703
·
|
|
Script16.groovy: 2: unable to resolve class StandardJanusGraph
Hi Marc, If possible please share the code used, let me check if it can be used to modify my code. Thanks & Regards, Vinayak
Hi Marc, If possible please share the code used, let me check if it can be used to modify my code. Thanks & Regards, Vinayak
|
By
Vinayak Bali
· #5696
·
|
|
Script16.groovy: 2: unable to resolve class StandardJanusGraph
Hi Marc, Explicitly, imported StandardJanusGraph using the following import command which is not working: org.janusgraph.graphdb.database.StandardJanusGraph Tried Graph approach too, it throws the fol
Hi Marc, Explicitly, imported StandardJanusGraph using the following import command which is not working: org.janusgraph.graphdb.database.StandardJanusGraph Tried Graph approach too, it throws the fol
|
By
Vinayak Bali
· #5694
·
|
|
Driver's for java connectivity
Hi, The goal is to execute a query which retrieves all the data from database and store it to a file to analyse the results Thanks Vinayak
Hi, The goal is to execute a query which retrieves all the data from database and store it to a file to analyse the results Thanks Vinayak
|
By
Vinayak Bali
· #5693
·
|