HailDevil
HailDevil
Explore posts from servers
JJanusGraph
Created by skywalker_101010 on 2/6/2024 in #questions
Best configuration for a single server
@Florian Hockmann Do you use the same janusgraph servers to write the data as well or these servers are only reposible for reading the data? I want to understand if keeping Janusgraph as servers has any performance improvements in writing data. Currently we use embedded janusgraph which fails with many exceptions due to memory and performance. What do you recommend based on your experience? cc: @NeO
11 replies
JJanusGraph
Created by HailDevil on 5/29/2024 in #questions
Java 17 support
Does that mean I can use Janusgraph as a dependency with a spring boot application running over java 17?
12 replies
JJanusGraph
Created by HailDevil on 5/29/2024 in #questions
Java 17 support
@Bo or @porunov Do you guys have any inputs on this?
12 replies
JJanusGraph
Created by HailDevil on 11/6/2023 in #questions
OLAP job failing with NullPointerException error
@Boxuan Li can you please help?
4 replies
JJanusGraph
Created by HailDevil on 9/12/2023 in #questions
Different vertex Ids with exactly same properties
Thanks Florian, that will be really helpful.
8 replies
JJanusGraph
Created by HailDevil on 9/12/2023 in #questions
Different vertex Ids with exactly same properties
Thanks for the response @florianhockmann No, I have not set it yet.
8 replies
JJanusGraph
Created by HailDevil on 9/12/2023 in #questions
Different vertex Ids with exactly same properties
So, I noticed that I have set read-consistency-level as ONE and write-consistency-level as QUORUM, I doubt this can give opportunity for race condition, where some cassandra nodes has yet to be completed the write operation for a particular record but another service pod has read for the same record ID and thinks that the record does not exist.
8 replies
JJanusGraph
Created by HailDevil on 8/19/2023 in #questions
StaleIndexRecordUtil.forceRemoveVertexFromGraphIndex not working
No description
16 replies
JJanusGraph
Created by HailDevil on 8/19/2023 in #questions
StaleIndexRecordUtil.forceRemoveVertexFromGraphIndex not working
ok, i tried running it with gremlin console, but did not see any affect on the count of such vertices
16 replies
JJanusGraph
Created by HailDevil on 8/19/2023 in #questions
StaleIndexRecordUtil.forceRemoveVertexFromGraphIndex not working
Just out of curiosity, what mgmt.removeGhostVertices() does?
16 replies
JJanusGraph
Created by HailDevil on 8/19/2023 in #questions
StaleIndexRecordUtil.forceRemoveVertexFromGraphIndex not working
I can go ahead with .drop().iterate() method, But the issue is, in past I have seen that, even though I drop such vertices with drop(), somehow they come back into existence after some time (when I say 'come back' I literally mean with same vertex ID). Which is why I doubt the correctness of using drop. In case if I can get the mapping of vertex ID and the property value, I may be able to find some workaround 🙂
16 replies
JJanusGraph
Created by HailDevil on 8/19/2023 in #questions
StaleIndexRecordUtil.forceRemoveVertexFromGraphIndex not working
I have a spark integration which I think can do this quickly, do you have any reference on how to do this scan?
16 replies
JJanusGraph
Created by HailDevil on 8/19/2023 in #questions
StaleIndexRecordUtil.forceRemoveVertexFromGraphIndex not working
requires values of all properties of that vertex which are used for each composite index
This could be difficult for me to identify! Is there any way to read graphindex and janusgaph_ids table to identiy which vertex id is mapped to which properties?
16 replies
JJanusGraph
Created by HailDevil on 8/19/2023 in #questions
StaleIndexRecordUtil.forceRemoveVertexFromGraphIndex not working
One more observation which I would like to add is: Sometimes, g.V().has('fileId', '1234') returns a vertex, but surprisingly the if I do a valueMap on it, it returns empty result [] The way my service works, I wont be able to reindex it in this form. So something is probably wrong with indexes only is what I assume!
16 replies
JJanusGraph
Created by HailDevil on 8/19/2023 in #questions
StaleIndexRecordUtil.forceRemoveVertexFromGraphIndex not working
Thanks Oleksandr for explaining it well!! So the issue I am struggling with here is that I can see thousands of vertices in my graph that do not have the property values that I have indexed. These vertices are isolated, lack any incoming or outgoing edges. I am not sure how sometimes these vertices are encountered during traversals of other vertices which are indexed properly. These vertices have become an issue as they are causing serious failures in production. Now to resolve this, I have identified all these empty vertices with g.V().hasNot('property-name') and used StaleIndexRecordUtil to get rid of them (as my understanding was these vertices might be stale indexes). Also in my case, I have multiple composite indexes with single properties, as you said I should be removing them from all the indexes, which I missed, I called the StaleIndexRecordUtil for only one Index. Also, one interesting fact is that, I was able to remove these vertices with g.V(id).drop().iterate() (this I tested in dev environment so far, not sure if i should be using it in prod). Do you thing I can go ahead with this?
16 replies
ATApache TinkerPop
Created by HailDevil on 7/13/2023 in #questions
Gremlin query to give response for 1 and 2 hops at same time
got it!! thanks a lot
9 replies
ATApache TinkerPop
Created by HailDevil on 7/13/2023 in #questions
Gremlin query to give response for 1 and 2 hops at same time
@spmallette hey thanks!! I needed to get the list of converters for which a added .fold() which fulfilled my purpose. Appreciate your help 🙂 just one more query, do you believe the query can face issues due to loops?
9 replies
ATApache TinkerPop
Created by HailDevil on 7/13/2023 in #questions
Gremlin query to give response for 1 and 2 hops at same time
apologies @spmallette yes that is the correct representation of the graph. I just added one more correction, please check https://gremlify.com/gko236mppr6 thanks for your response
9 replies
ATApache TinkerPop
Created by spmallette on 4/2/2023 in #questions
Does Gremlin do DFS or BFS?
Thanks for the detailed answer @spmallette I went through the links you provided and seems like a bit more research is needed from my side to understand the behavior of the query in my case. 🙂
7 replies