|
Re: Index stuck on INSTALLED (single instance of JanusGraph)
It seems that I had lots of instances registered in the cluster, probably due to shutdowns.
I got the list by using mgmt.getOpenInstances().toList()
I closed all instances expect for the current one,
It seems that I had lots of instances registered in the cluster, probably due to shutdowns.
I got the list by using mgmt.getOpenInstances().toList()
I closed all instances expect for the current one,
|
By
schwartz@...
·
#5990
·
|
|
Index stuck on INSTALLED (single instance of JanusGraph)
I tried adding a composite index based on 2 existing properties.
As far as I understand, the initial stated is INSTALLED, then after all instances become aware of it, it should be REGISTERED.
Only
I tried adding a composite index based on 2 existing properties.
As far as I understand, the initial stated is INSTALLED, then after all instances become aware of it, it should be REGISTERED.
Only
|
By
schwartz@...
·
#5989
·
|
|
Re: How to replay a transaction log from the begining
Hi Ojas,
Ideally, by using Instant.now() to add your log processor, you should be able to see your callback invoked as soon as the transaction completes (if you are using a single in-memory storage
Hi Ojas,
Ideally, by using Instant.now() to add your log processor, you should be able to see your callback invoked as soon as the transaction completes (if you are using a single in-memory storage
|
By
Boxuan Li
·
#5988
·
|
|
Re: Indexing on sub-attribute of custom data type
Regarding documentation on custom attributes: Jason Plurad published an example project a few years ago (so, for an older JanusGraph version).
See,
Regarding documentation on custom attributes: Jason Plurad published an example project a few years ago (so, for an older JanusGraph version).
See,
|
By
hadoopmarc@...
·
#5987
·
|
|
Re: Indexing on sub-attribute of custom data type
Hi Ronnie,
Actually, "creating an associated vertex which defines this custom data type" sounds like an excellent idea! If an attribute is important enough to define an index on, it probably deserves
Hi Ronnie,
Actually, "creating an associated vertex which defines this custom data type" sounds like an excellent idea! If an attribute is important enough to define an index on, it probably deserves
|
By
hadoopmarc@...
·
#5986
·
|
|
Indexing on sub-attribute of custom data type
Hi,
Few questions related to custom data types (https://docs.janusgraph.org/basics/common-questions/#custom-class-datatype)
1. Is it possible to index on a sub-attribute of a custom data type? If not,
Hi,
Few questions related to custom data types (https://docs.janusgraph.org/basics/common-questions/#custom-class-datatype)
1. Is it possible to index on a sub-attribute of a custom data type? If not,
|
By
Ronnie
·
#5985
·
|
|
Re: Union with Count returning unexpected results
Hi Vinayak,
I guess this has to do with differences in lazy vs eager evaluation between the two queries. The TinkerPop ref docs reference the aggregated values with
Hi Vinayak,
I guess this has to do with differences in lazy vs eager evaluation between the two queries. The TinkerPop ref docs reference the aggregated values with
|
By
hadoopmarc@...
·
#5984
·
|
|
Re: How to replay a transaction log from the begining
Hi Boxuan,
Thanks. This indeed helped. Initially nothing happened (or at least it appeared that way) so I changed the start time to EPOCH and left the application running for a while and after
Hi Boxuan,
Thanks. This indeed helped. Initially nothing happened (or at least it appeared that way) so I changed the start time to EPOCH and left the application running for a while and after
|
By
ojas.dubey@...
·
#5983
·
|
|
Re: How to replay a transaction log from the begining
Hi Ojas,
Your `startLogProcessor` method looks good to me. I suspect that you are not using the transaction returned in step 1 to do the vertex/edge operations. In step 2, you are using `g.addV` which
Hi Ojas,
Your `startLogProcessor` method looks good to me. I suspect that you are not using the transaction returned in step 1 to do the vertex/edge operations. In step 2, you are using `g.addV` which
|
By
Boxuan Li
·
#5982
·
|
|
Re: How to replay a transaction log from the begining
Hi Boxuan,
Please find the code below:
1. Starting the transaction (identifier value is TestBatchLogger)
public JanusGraphTransaction startJanusGraphTransaction(String identifier) {
return
Hi Boxuan,
Please find the code below:
1. Starting the transaction (identifier value is TestBatchLogger)
public JanusGraphTransaction startJanusGraphTransaction(String identifier) {
return
|
By
ojas.dubey@...
·
#5981
·
|
|
Re: How to replay a transaction log from the begining
Hi Ojas,
Can you share your code and explain what you mean by "unable to work"? Is it running but not producing results as you expected, or encountering errors/exceptions?
Best,
Boxuan
Hi Ojas,
Can you share your code and explain what you mean by "unable to work"? Is it running but not producing results as you expected, or encountering errors/exceptions?
Best,
Boxuan
|
By
Boxuan Li
·
#5980
·
|
|
Re: How to replay a transaction log from the begining
Hi,
Was wondering if this had been implemented.
I am running JanusGraph over Cassandra and was trying to work with the transaction log feature using the provided documentation.
So far I have
Hi,
Was wondering if this had been implemented.
I am running JanusGraph over Cassandra and was trying to work with the transaction log feature using the provided documentation.
So far I have
|
By
ojas.dubey@...
·
#5979
·
|
|
Union with Count returning unexpected results
Hi All,
The objective is to count the number of nodes and edges.
Query:
g2.inject(1).union(V().has('title', 'A').aggregate('v1').union(outE().has('title', 'E1').aggregate('e').inV().has('title',
Hi All,
The objective is to count the number of nodes and edges.
Query:
g2.inject(1).union(V().has('title', 'A').aggregate('v1').union(outE().has('title', 'E1').aggregate('e').inV().has('title',
|
By
Vinayak Bali
·
#5978
·
|
|
Re: Dynamic control of graph configuration
Have you tried https://docs.janusgraph.org/basics/transactions/#transaction-configuration ? It allows you to enable/disable storage.batch-loading per transaction.
Have you tried https://docs.janusgraph.org/basics/transactions/#transaction-configuration ? It allows you to enable/disable storage.batch-loading per transaction.
|
By
Boxuan Li
·
#5977
·
|
|
Re: Dynamic control of graph configuration
Hi Frederick,
This is a good question, but I have no answer. For myself, I have always take a fresh janusgraph instance if I wanted to change one of the properties!
Best wishes, Marc
Hi Frederick,
This is a good question, but I have no answer. For myself, I have always take a fresh janusgraph instance if I wanted to change one of the properties!
Best wishes, Marc
|
By
hadoopmarc@...
·
#5976
·
|
|
Re: Avoiding duplicate vertex creation using unique indices
Hi Umesh,
I read this yesterday and thought your reasoning was sound, but at the same time it seemed unlikely it was in the ref docs for no reason. Just now, a scenario appeared to me where both locks
Hi Umesh,
I read this yesterday and thought your reasoning was sound, but at the same time it seemed unlikely it was in the ref docs for no reason. Just now, a scenario appeared to me where both locks
|
By
hadoopmarc@...
·
#5975
·
|
|
Re: Failed to connect to a Cassandra cluster's all nodes without default port
It works well with version 0.6.0-SNAPSHOT.
hope the realease version come soon
It works well with version 0.6.0-SNAPSHOT.
hope the realease version come soon
|
By
zhouyu74748585@...
·
#5974
·
|
|
Re: Failed to connect to a Cassandra cluster's all nodes without default port
Sorry I misunderstood your problem. I thought you have a cluster with different transport ports, which is not supported prior to Cassandra 4.
Turns out your cluster is using a uniform non-default
Sorry I misunderstood your problem. I thought you have a cluster with different transport ports, which is not supported prior to Cassandra 4.
Turns out your cluster is using a uniform non-default
|
By
Boxuan Li
·
#5973
·
|
|
Re: Failed to connect to a Cassandra cluster's all nodes without default port
Got it. It does not seem to be a JanusGraph problem. I didn’t dig deep into it but seems it’s a limitation of Cassandra. See https://datastax-oss.atlassian.net/browse/JAVA-1388#icft=JAVA-1388 and
Got it. It does not seem to be a JanusGraph problem. I didn’t dig deep into it but seems it’s a limitation of Cassandra. See https://datastax-oss.atlassian.net/browse/JAVA-1388#icft=JAVA-1388 and
|
By
Boxuan Li
·
#5972
·
|
|
Avoiding duplicate vertex creation using unique indices
Hi All,
To avoid a situation of duplicate vertex creation due to parallel transactions, we are using index uniqueness over property which defines uniqueness of vertex. As per doc, we need to
Hi All,
To avoid a situation of duplicate vertex creation due to parallel transactions, we are using index uniqueness over property which defines uniqueness of vertex. As per doc, we need to
|
By
Umesh Gade <er.umeshgade@...>
·
#5971
·
|