|
Re: Not able to reindex with bigtable as backend
Please be sure to run all the steps (including a graph.tx().rollback() before index creation and a mgmt.commit() after update of the index) from the example
Please be sure to run all the steps (including a graph.tx().rollback() before index creation and a mgmt.commit() after update of the index) from the example
|
By
hadoopmarc@...
·
#5642
·
|
|
Not able to reindex with bigtable as backend
Hi community,
I am new to Janusgraph and am trying to build a POC. I ran into an issue that I really need some help. I am running Janusgraph on GCP with bigtable as storage backend. I am trying to
Hi community,
I am new to Janusgraph and am trying to build a POC. I ran into an issue that I really need some help. I am running Janusgraph on GCP with bigtable as storage backend. I am trying to
|
By
liqingtaobkd@...
·
#5641
·
|
|
Re: JanusGraphIndex how to retrieve constraint (indexOnly) specified for the global index?
You can do this:
JanusGraphSchemaType constraint = ManagementSystem.getGraphIndexDirect("indexName", ((ManagementSystem) mgmt).getWrappedTx()).getSchemaTypeConstraint();
If (constraint == null) then
You can do this:
JanusGraphSchemaType constraint = ManagementSystem.getGraphIndexDirect("indexName", ((ManagementSystem) mgmt).getWrappedTx()).getSchemaTypeConstraint();
If (constraint == null) then
|
By
Boxuan Li
·
#5640
·
|
|
Re: ConfiguredGraphFactory and Authentication not working
Hi Vinayak,
You showed the error message from the remote console. Does gremlin server itself log anything particular about the ConfigurationManagementGraph after a restart?
Marc
Hi Vinayak,
You showed the error message from the remote console. Does gremlin server itself log anything particular about the ConfigurationManagementGraph after a restart?
Marc
|
By
hadoopmarc@...
·
#5639
·
|
|
Re: ConfiguredGraphFactory and Authentication not working
Hi Marc,
Tried the approach you mentioned, still facing the same issue. In one of the blogs, I read that it is due to the Cassandra cluster is first configured with janusgraphfactory and it works for
Hi Marc,
Tried the approach you mentioned, still facing the same issue. In one of the blogs, I read that it is due to the Cassandra cluster is first configured with janusgraphfactory and it works for
|
By
Vinayak Bali
·
#5638
·
|
|
Re: ConfiguredGraphFactory and Authentication not working
Hi Vinayak,
Could you try in the gremlin-server.yaml with just:
graphs: {
ConfigurationManagementGraph: conf/janusgraph-cql-configurationgraph.properties
}
So, without the graph, graph1 and graph2
Hi Vinayak,
Could you try in the gremlin-server.yaml with just:
graphs: {
ConfigurationManagementGraph: conf/janusgraph-cql-configurationgraph.properties
}
So, without the graph, graph1 and graph2
|
By
hadoopmarc@...
·
#5637
·
|
|
Re: ConfiguredGraphFactory and Authentication not working
Hi All,
Investigated the issue further. We I start janusgraph by default janusgraph schema is created, but I need configuredmanagementgraph. Request you to please help regarding it .
Thanks &
Hi All,
Investigated the issue further. We I start janusgraph by default janusgraph schema is created, but I need configuredmanagementgraph. Request you to please help regarding it .
Thanks &
|
By
Vinayak Bali
·
#5636
·
|
|
Re: JanusGraphIndex how to retrieve constraint (indexOnly) specified for the global index?
Thanks. Still, my earlier answer remains unsatisfactory. Somehow, a new JanusGraph instance must be able to load an existing schema from the system table and have the information about label
Thanks. Still, my earlier answer remains unsatisfactory. Somehow, a new JanusGraph instance must be able to load an existing schema from the system table and have the information about label
|
By
hadoopmarc@...
·
#5635
·
|
|
ConfiguredGraphFactory and Authentication not working
Hi All,
Followed the following blogs for configuring authentication and ConfiguredGraphFactory
Hi All,
Followed the following blogs for configuring authentication and ConfiguredGraphFactory
|
By
Vinayak Bali
·
#5634
·
|
|
Re: JanusGraphIndex how to retrieve constraint (indexOnly) specified for the global index?
Thank you, Index class is having tx() transaction description, but I have not found it there as well,
I have added these comments to 1163 as suggested.
Regards, CM
Thank you, Index class is having tx() transaction description, but I have not found it there as well,
I have added these comments to 1163 as suggested.
Regards, CM
|
By
cmilowka
·
#5633
·
|
|
Re: JanusGraphIndex how to retrieve constraint (indexOnly) specified for the global index?
Confirmed, could not find it either. Could you please add it as a comment to:
https://github.com/JanusGraph/janusgraph/issues/1163
Unless someone comes up with a solution, it seems you will have to
Confirmed, could not find it either. Could you please add it as a comment to:
https://github.com/JanusGraph/janusgraph/issues/1163
Unless someone comes up with a solution, it seems you will have to
|
By
hadoopmarc@...
·
#5632
·
|
|
Re: Gremlin Query to return count for nodes and edges
Hi Vinayak,
Speeding up your query depends on your setup. 15.000 vertices/second is already fast. Is this the janusgraph inmemory backend? Or ScyllaDB?
In a perfect world, not there yet, your query
Hi Vinayak,
Speeding up your query depends on your setup. 15.000 vertices/second is already fast. Is this the janusgraph inmemory backend? Or ScyllaDB?
In a perfect world, not there yet, your query
|
By
hadoopmarc@...
·
#5631
·
|
|
Re: Gremlin Query to return count for nodes and edges
Hi All,
The query shared by HadoopMarc works. The query, I executed returns 752650 nodes and 297302 edges as a count. The time taken is around 1min. Is there any way to optimize it further ???
Thank
Hi All,
The query shared by HadoopMarc works. The query, I executed returns 752650 nodes and 297302 edges as a count. The time taken is around 1min. Is there any way to optimize it further ???
Thank
|
By
Vinayak Bali
·
#5630
·
|
|
Re: Gremlin Query to return count for nodes and edges
Good query from @hadoopmarcand I like @cmilowka's suggestion, although I needed to modify it veryslightly as follows:
g.V().hasLabel('A').union(__.count(), __.outE().count(), __.outE().inV().count()
Good query from @hadoopmarcand I like @cmilowka's suggestion, although I needed to modify it veryslightly as follows:
g.V().hasLabel('A').union(__.count(), __.outE().count(), __.outE().inV().count()
|
By
Graham Wallis <graham_wallis@...>
·
#5629
·
|
|
JanusGraphIndex how to retrieve constraint (indexOnly) specified for the global index?
Global indexes can be limited to the "constraint" by indexOnly() step, from JanusGraph documentation:
mgmt.buildIndex('byNameAndLabel',
Global indexes can be limited to the "constraint" by indexOnly() step, from JanusGraph documentation:
mgmt.buildIndex('byNameAndLabel',
|
By
cmilowka
·
#5628
·
|
|
Re: Gremlin Query to return count for nodes and edges
It may work as well, to count totals of all in and out edges for "A" label:
g.V().hasLabel('A').union( __.count(), __. outE().count(), __.inV().count() )
It may work as well, to count totals of all in and out edges for "A" label:
g.V().hasLabel('A').union( __.count(), __. outE().count(), __.inV().count() )
|
By
cmilowka
·
#5627
·
|
|
Re: Gremlin Query to return count for nodes and edges
Hi Vinayak,
A new attempt:
g = TinkerFactory.createModern().traversal()
g.withSideEffect('vs', new HashSet()).withSideEffect('es', new HashSet()).
Hi Vinayak,
A new attempt:
g = TinkerFactory.createModern().traversal()
g.withSideEffect('vs', new HashSet()).withSideEffect('es', new HashSet()).
|
By
hadoopmarc@...
·
#5626
·
|
|
Re: Changing graphname at runtime
You really have to try this out and see. I can only answer from what I read in the ref docs.
> Do I need to ConfiguredGraphFactory.close(GRAPH) before I update its configuration?
The docs say the
You really have to try this out and see. I can only answer from what I read in the ref docs.
> Do I need to ConfiguredGraphFactory.close(GRAPH) before I update its configuration?
The docs say the
|
By
hadoopmarc@...
·
#5625
·
|
|
Re: Gremlin Query to return count for nodes and edges
Hi Graham,
Tried itm the output is as
Hi Graham,
Tried itm the output is as
|
By
Vinayak Bali
·
#5624
·
|
|
Re: Gremlin Query to return count for nodes and edges
Hi Vinayak
You could do this:
g.V().hasLabel('A').as('a').outE().as('e').inV().as('b').select('a','e','b').by(count())
That should producesomething like:
==>{a=1, e=1,b=1}
Best regards,
Hi Vinayak
You could do this:
g.V().hasLabel('A').as('a').outE().as('e').inV().as('b').select('a','e','b').by(count())
That should producesomething like:
==>{a=1, e=1,b=1}
Best regards,
|
By
Graham Wallis <graham_wallis@...>
·
#5623
·
|