|
Re: Parameterized bulk insert (addV) script in gremlin-python
Wow, works like a charm using gremlin-python, and I don't even have to use a script!
Thanks for the quick wisdom!
SF
Wow, works like a charm using gremlin-python, and I don't even have to use a script!
Thanks for the quick wisdom!
SF
|
By
Scott Friedman
·
#6292
·
|
|
Re: Parameterized bulk insert (addV) script in gremlin-python
Hi Scott,
You can try to use this thread for inspiration:
https://groups.google.com/g/gremlin-users/c/HtBRwaU0pnQ/m/duFs5-imBAAJ
2 1/2 years ago I was impressed by this solution! This really iterates
Hi Scott,
You can try to use this thread for inspiration:
https://groups.google.com/g/gremlin-users/c/HtBRwaU0pnQ/m/duFs5-imBAAJ
2 1/2 years ago I was impressed by this solution! This really iterates
|
By
hadoopmarc@...
·
#6291
·
|
|
Parameterized bulk insert (addV) script in gremlin-python
Good afternoon,
I'm attempting to use gremlin-python to do bulk vertex or edge inserts, and I'd figured I could use params to send in a simple script. A simple proof of concept would be:
cmd =
Good afternoon,
I'm attempting to use gremlin-python to do bulk vertex or edge inserts, and I'd figured I could use params to send in a simple script. A simple proof of concept would be:
cmd =
|
By
Scott Friedman
·
#6290
·
|
|
Re: JG as a 3store, rdf support
Thanks Marc, hadn't seen ERGS but looks interesting and will take a look.
Thanks Marc, hadn't seen ERGS but looks interesting and will take a look.
|
By
Matthew Nguyen <nguyenm9@...>
·
#6289
·
|
|
Re: Using a user-supplied string as vertex ID
Thanks, Boxuan! Looks like a great discussion in that github issue; I hope something eventually comes of it!
Thanks, Boxuan! Looks like a great discussion in that github issue; I hope something eventually comes of it!
|
By
Scott Friedman
·
#6288
·
|
|
Re: Python output to mgmt queries
Hi Marc,
Thank you for your reply. I would like to access this information only from the schema (my graph is empty now). Your second solution could work but it only prints the result. So to get the
Hi Marc,
Thank you for your reply. I would like to access this information only from the schema (my graph is empty now). Your second solution could work but it only prints the result. So to get the
|
By
dimi
·
#6287
·
|
|
Re: JG as a 3store, rdf support
Hi Matthew,
Not an answer to your questions, but a few remarks that might help anyway:
while a single client has its limits in adding vertices and edges, people use distributed computing frameworks
Hi Matthew,
Not an answer to your questions, but a few remarks that might help anyway:
while a single client has its limits in adding vertices and edges, people use distributed computing frameworks
|
By
hadoopmarc@...
·
#6286
·
|
|
Re: Python output to mgmt queries
I am not sure what you are up to and the API changes in remote connections may have confused you.
If you want to see the labels of all vertices in the graph (for janusgraph-0.6.x with
I am not sure what you are up to and the API changes in remote connections may have confused you.
If you want to see the labels of all vertices in the graph (for janusgraph-0.6.x with
|
By
hadoopmarc@...
·
#6285
·
|
|
Re: Using a user-supplied string as vertex ID
Hi Scott,
Currently, JanusGraph does not support user-specified string identifiers. You could check out https://github.com/JanusGraph/janusgraph/issues/1221 to see discussions on this
Hi Scott,
Currently, JanusGraph does not support user-specified string identifiers. You could check out https://github.com/JanusGraph/janusgraph/issues/1221 to see discussions on this
|
By
Boxuan Li
·
#6284
·
|
|
Re: Important | Queries for edge label connections
Hi Pawan,
Regarding your first question, try this in Java:
mgmt.getEdgeLabel("belongsTo").mappedConnections()
which should give you a list of Java objects that contain the outgoing and incoming labels
Hi Pawan,
Regarding your first question, try this in Java:
mgmt.getEdgeLabel("belongsTo").mappedConnections()
which should give you a list of Java objects that contain the outgoing and incoming labels
|
By
Boxuan Li
·
#6283
·
Edited
|
|
Using a user-supplied string as vertex ID
Greetings,
I'd like to specify unique string IDs for newly-added vertices in JanusGraph. I've verified that I can set graph.set-vertex-id to True and then add integer IDs via my (python) client as
Greetings,
I'd like to specify unique string IDs for newly-added vertices in JanusGraph. I've verified that I can set graph.set-vertex-id to True and then add integer IDs via my (python) client as
|
By
Scott Friedman
·
#6282
·
|
|
JG as a 3store, rdf support
Hey folks, been playing with JG the last couple weeks and am able to import a few million triples using rdf2g (cassandra/solr backend). I'm processing around 1000 triples/sec currently after turning
Hey folks, been playing with JG the last couple weeks and am able to import a few million triples using rdf2g (cassandra/solr backend). I'm processing around 1000 triples/sec currently after turning
|
By
Matthew Nguyen <nguyenm9@...>
·
#6281
·
|
|
Important | Queries for edge label connections
Hi All,
I need a solution for these two things, but I tried but was not able to find the solution.
1. I want to list the edgeLabel connection created in janusgraph
Hi All,
I need a solution for these two things, but I tried but was not able to find the solution.
1. I want to list the edgeLabel connection created in janusgraph
|
By
Pawan Shriwas
·
#6280
·
|
|
Python output to mgmt queries
Hi! I am trying to parse some basic info from the schema via Python but I am probably doing something wrong.
I can request the management info with the Client object in python:
from
Hi! I am trying to parse some basic info from the schema via Python but I am probably doing something wrong.
I can request the management info with the Client object in python:
from
|
By
dimi
·
#6279
·
Edited
|
|
Re: high-scale-lib dependency
Hm, in Janusgraph version 0.6.0 there is a different library used https://github.com/datastax/java-driver , is there any point to have the dependency on apache cassandra?
Hm, in Janusgraph version 0.6.0 there is a different library used https://github.com/datastax/java-driver , is there any point to have the dependency on apache cassandra?
|
By
sergeymetallic@...
·
#6278
·
|
|
Re: high-scale-lib dependency
Hey! Just wanted to report that we had a similar issue with high-scale-lib.
Replacing high-scale-lib with JCTools sounds like a good option, but I'm not sure it will work for all modules: if I'm not
Hey! Just wanted to report that we had a similar issue with high-scale-lib.
Replacing high-scale-lib with JCTools sounds like a good option, but I'm not sure it will work for all modules: if I'm not
|
By
Clement de Groc
·
#6277
·
|
|
high-scale-lib dependency
There is a java library dependency in Janusgraph "high-scale-lib" which is old and unsupported (last update happened 8 years back, see https://github.com/boundary/high-scale-lib). When Janusgraph is
There is a java library dependency in Janusgraph "high-scale-lib" which is old and unsupported (last update happened 8 years back, see https://github.com/boundary/high-scale-lib). When Janusgraph is
|
By
sergeymetallic@...
·
#6276
·
Edited
|
|
Re: High HBase backend 'configuration' row contention
Hi Tendai,
Just one thing came to my mind: did you apply the JanusGraphFactory inside a singleton object so that all tasks from all cores in a spark executor use the same JanusGraph instance? If not,
Hi Tendai,
Just one thing came to my mind: did you apply the JanusGraphFactory inside a singleton object so that all tasks from all cores in a spark executor use the same JanusGraph instance? If not,
|
By
hadoopmarc@...
·
#6275
·
|
|
Re: High HBase backend 'configuration' row contention
Hi Marc,
Thanks for responding back. The configuration row in question, which is created by Janusgraph when the HBase table is first initialized, is having slow read performance due to the
Hi Marc,
Thanks for responding back. The configuration row in question, which is created by Janusgraph when the HBase table is first initialized, is having slow read performance due to the
|
By
Tendai Munetsi
·
#6274
·
|
|
Re: Bindings for graphs created using ConfiguredGraphFactory not working as expected
Hello Marc,
Thank you for your reply. In response to your suggestions and the questions you posed:
Are you sure you did start Cassandra ("cassandra/bin/cassandra") before starting JanusGraph? - Yes,
Hello Marc,
Thank you for your reply. In response to your suggestions and the questions you posed:
Are you sure you did start Cassandra ("cassandra/bin/cassandra") before starting JanusGraph? - Yes,
|
By
anya.sharma@...
·
#6273
·
|