Questions tagged [dse-graph-frames]
9 questions
3
votes
0 answers
Issue with DataStax graph loader edge loading with property key
DSE VERSION 6.7 and DSE graph loader version 6.7
We have two vertex name "x" and "y" and there is connecting edges named "z" between for x to y.
That edge has property also. So wee needs to load that also. And properties data types are Txt(string)…

Mukul Lohar
- 111
- 7
2
votes
1 answer
Using Spark to add Edges gremlin
I can't save my edge when I'm using spark as follows:
for information it can save edge by using gremlin console
val graph = DseGraphFrameBuilder.dseGraph("GRAPH_NAME",…

BeginMoh
- 123
- 1
- 11
2
votes
1 answer
Can't initialize graph on Datastax using Spark
I'm trying to initialize my Datastax graph using Spark as follow :
val graphBuilder = spark.dseGraph("GRAPH_NAME")
but I have the following exception :
Exception in thread "main" java.lang.NoClassDefFoundError:…

BeginMoh
- 123
- 1
- 11
1
vote
0 answers
Testing and Mocking ScalaGraph with gremlin
I have a Service class that i am trying to unit test. The service class is as follows -:
class BtoService @Inject()(db: GrDbConnection,
businessService: BusinessService,
vertexIdGenerator:…

Nilay Gupta
- 133
- 1
- 5
1
vote
1 answer
How to export a Datastax graph based on a specific traversal using DseGraphFrame
I would like to export a DSE graph via a spark job , as per
https://docs.datastax.com/en/dse/6.0/dse-dev/datastax_enterprise/graph/graphAnalytics/dseGraphFrameExport.html
All this works fine within the spark-shell ,
I want to be doing this in Java…

zXor
- 208
- 1
- 10
1
vote
1 answer
I have three node dse graph cluster. Two node graph enabled one is search enabled. The problem is when i run api request goes on it does not response
I have three node dse Cassandra cluster. One node is search enabled, Two node is graph enabled. When I run APIs(which is coded in scala play framework), POST or GET request keeps going and going it does gives a response. There is no any information…

Mukul Lohar
- 111
- 7
1
vote
1 answer
Error using DseGraphFrame with querying timestamp field
I have a Person label with a created property defined:
schema.propertyKey(“created”).Timestamp().single().create()
I get the error below when trying to use DseGraphFrame to filter for the Person label using the created property in dse…

Glide
- 20,235
- 26
- 86
- 135
1
vote
1 answer
Does DseGraphFrame in Java support exporting graphs?
Per DSE docs, vertices and edges can be exported calling g.V().hasLabel("Person").write.json("/tmp/person_v_json") in dse spark.
Can the same be achieved using DseGraphFrame for the Java SDK? I want to make sure because I can't finda write() method.

Glide
- 20,235
- 26
- 86
- 135
0
votes
1 answer
Error when launching the graph (DSEGraphFrame )
I have a dse graph in validation/prod environement.
The problem occurs when I try to launch a DSEGraphFrame query using Spark in Scala.
val graph = spark.dseGraph("my_graph")
generates the following exception:
Exception in thread "main"
…

BeginMoh
- 123
- 1
- 11