|
Re: Indexing on sub-attribute of custom data type
Hi Marc,
Thanks for confirming about "creating an associated vertex which defines this custom data type" approach. In which case i would not be experimenting custom data types for now. Thanks for the
Hi Marc,
Thanks for confirming about "creating an associated vertex which defines this custom data type" approach. In which case i would not be experimenting custom data types for now. Thanks for the
|
By
Ronnie
·
#5997
·
|
|
Re: Could not call index
At first I thought it might have something to do with 2 new indices I added yesterday, so I re-indexed them just in case. But the result is still the same.
I'm having a hard time what does the error
At first I thought it might have something to do with 2 new indices I added yesterday, so I re-indexed them just in case. But the result is still the same.
I'm having a hard time what does the error
|
By
schwartz@...
·
#5996
·
|
|
Re: Could not call index
This is all I have in Stackdriver. If there's a way to see more details logs from inside the container, please tell how to get them and I'll gladly post them here.
This is all I have in Stackdriver. If there's a way to see more details logs from inside the container, please tell how to get them and I'll gladly post them here.
|
By
schwartz@...
·
#5995
·
|
|
Re: Could not call index
Hi, is this the full stacktrace? Is there a nested exception?
Hi, is this the full stacktrace? Is there a nested exception?
|
By
Boxuan Li
·
#5994
·
|
|
Could not call index
Hi! Running JanusGraph 0.5.3 against BigTable, and ES is used as the Index backend.
For a particular traversal I'm seeing the error message below. No clue what this means and where to look for a
Hi! Running JanusGraph 0.5.3 against BigTable, and ES is used as the Index backend.
For a particular traversal I'm seeing the error message below. No clue what this means and where to look for a
|
By
schwartz@...
·
#5993
·
|
|
Re: Index stuck on INSTALLED (single instance of JanusGraph)
THANK YOU!!! :)
By
schwartz@...
·
#5992
·
|
|
Re: Index stuck on INSTALLED (single instance of JanusGraph)
I had a similar problem, how I solved it:
mgmt.getGraphIndex('my_index_name').getIndexStatus(mgmt.getPropertyKey("property_i_ised"))
==>INSTALLED graph.getOpenTransactions() - > showed me all the open
I had a similar problem, how I solved it:
mgmt.getGraphIndex('my_index_name').getIndexStatus(mgmt.getPropertyKey("property_i_ised"))
==>INSTALLED graph.getOpenTransactions() - > showed me all the open
|
By
sergeymetallic@...
·
#5991
·
Edited
|
|
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
·
|