janusgraph

Gremlin.Net System.InvalidOperationException: 'Deserializer for “janusgraph:RelationIdentifier” not found' exception

北慕城南 提交于 2019-12-24 17:12:54
问题 I am new in janusgraph and tinkerpop. I am using Gremlin.Net 3.2.7 to connect to janusgraph and all the request that return vertexes work fine for me but when I run any operation that return edges like "g.V(61464).outE('father').toList()" an exception in the library: System.InvalidOperationException: 'Deserializer for "janusgraph:RelationIdentifier" not found' the server didn't throw any exception, the serializes configuration are the default: serializers: - { className: org.apache.tinkerpop

asyncio - how many coroutines?

…衆ロ難τιáo~ 提交于 2019-12-23 20:41:05
问题 I have been struggling for a few days now with a python application where I am expecting to look for a file or files in a folder and iterate through the each file and each record in it and create objects to be persisted on a Janusgraph database. The particular OGM that I am using, requires that the transactions with the database are done in an asynchronously using asyncio. I have read a lot of blogs, posts about asyncio and I think I understand the concept of async, await, tasks, etc... In my

Limiting depth of shortest path query using Gremlin on JanusGraph

谁说胖子不能爱 提交于 2019-12-23 00:25:18
问题 I have a fairly large graph (currently 3806702 vertices and 7774654 edges, all edges with the same label) in JanusGraph. I am interested in shortest path searches in it. Gremlin recipes mention this query: g.V(startId).until(hasId(targetId)).repeat(out().simplePath()).path().limit(1) This returns path that I know to be a correct one immediately but then hangs the console ( top shows janusgraph and scylla to be processing stuff furiously though, so I guess it's working in the background, but

Gremlin-Python Connecting to existing JanusGraph

与世无争的帅哥 提交于 2019-12-22 11:14:43
问题 I Have created a graph using gremlin console gremlin> ConfiguredGraphFactory.graphNames ==>MYGRAPH gremlin> ConfiguredGraphFactory.getConfiguration('MYGRAPH') ==>storage.backend=cql ==>graph.graphname=MYGRAPH ==>storage.hostname=127.0.0.1 ==>Template_Configuration=false gremlin> g.V().properties() ==>vp[name->SFO] ==>vp[country->USA] ==>vp[name->ALD] ==>vp[country->IND] ==>vp[name->BLR] ==>vp[country->IND] gremlin> I want to connect with MYGRAPH using gremlin-python. Can someone please tell

JanusGraphException: Could not execute operation due to backend exception

杀马特。学长 韩版系。学妹 提交于 2019-12-22 11:14:37
问题 I'm going crazy because of this exception when starting up JanusGraph. It happened between restarts of the gremlin-server, without even touching the configuration files. This error always appears at the very first startup of gremlin-server. This is the stack trace from the logs: 6911 [main] INFO org.janusgraph.diskstorage.log.kcvs.KCVSLog - Loaded unidentified ReadMarker start time 2019-08-21T17:57:53.794212900Z into org.janusgraph.diskstorage.log.kcvs.KCVSLog$MessagePuller@51efb731 8148

Creating spark cluster with drone.yml not working

六月ゝ 毕业季﹏ 提交于 2019-12-22 01:31:44
问题 I have docker-compose.yml with below image and configuration version: '3' services: spark-master: image: bde2020/spark-master:2.4.4-hadoop2.7 container_name: spark-master ports: - "8080:8080" - "7077:7077" environment: - INIT_DAEMON_STEP=setup_spark spark-worker-1: image: bde2020/spark-worker:2.4.4-hadoop2.7 container_name: spark-worker-1 depends_on: - spark-master ports: - "8081:8081" environment: - "SPARK_MASTER=spark://spark-master:7077" here the docker-compose up log ---> https://jpst.it

Is cassandra unable to store relationships that cross partition size limit?

拜拜、爱过 提交于 2019-12-20 04:58:29
问题 I've noticed that relationships cannot be properly stored in C* due to its 100MB partition limit, denormalization doesn't help in this case and the fact that C* can have 2B cells per partition neither as those 2B cells of just Longs have 16GB ?!?!? Doesn't that cross 100MB partition size limit ? Which is what I don't understand in general, C* proclaims it can have 2B cells but a partition sizes should not cross 100MB ??? What is the idiomatic way to do this? People say that this an ideal use

Gremlin: how can I return vertex and their associated vertex?

故事扮演 提交于 2019-12-13 03:09:50
问题 I Need to return some groups and people in that group, like this: Group A -----Person A -----Person B -----Person C Group B -----Person D -----Person E -----Person F How can I do that with gremlin. They are connected to group with a edge. 回答1: It is always helpful to include a sample graph with your questions on Gremlin preferably as a something easily pasted to the Gremlin Console as follows: g.addV('group').property('name','Group A').as('ga'). addV('group').property('name','Group B').as('gb

Gremlin - select a vertex, create new vertices and edges in single query

陌路散爱 提交于 2019-12-13 02:48:23
问题 I have a user vertex already created. g.V().has('user','username','vipul').as('user') I want to create a new 'group' vertex with some properties and also a new 'options' vertex with some other properties. g.addV(label,'group','group_name','DC11').as('group') g.addV(label,'options','command_line_arguments','-D -n').as('options') Now I want to create an edge from user to group and another edge from group to options. user ---> group, group ---> options Can these queries be combined, selecting a

How to delete the unmodifiable vertex which has no edges in gremlin?

时光怂恿深爱的人放手 提交于 2019-12-11 14:46:52
问题 Unfortunately, I have three provides in my application. when I used two different providers which are having same email then there is another vertex got created with new id in the graph. Providers issue got solved.But, now I want to delete that newly created vertex. I have tried g.V('Persona').has('personaId','personaId').drop() But it is saying that, Cannot modify unmodifiable vertex: v[73732348] 回答1: My answer might not quite solve your problem, but I will just point out that the error you