HailDevil
Explore posts from serversJJanusGraph
•Created by HailDevil on 8/13/2024 in #questions
Janusgraph Servers start throwing Exceptions when load increases
![No description](https://cdn.answeroverflow.com/1272925643226746930/image.png)
2 replies
JJanusGraph
•Created by HailDevil on 5/29/2024 in #questions
Java 17 support
When can we expect Janusgraph to support Java 17? 🙂
12 replies
JJanusGraph
•Created by HailDevil on 11/6/2023 in #questions
OLAP job failing with NullPointerException error
![No description](https://cdn.answeroverflow.com/1171069831219515462/image.png)
4 replies
JJanusGraph
•Created by HailDevil on 10/19/2023 in #questions
drop() slow performance
I have to drop thousands of vertex ids from the graph, and .drop().iterate() takes like 1 minute for each vertex.
Seems like it is gonna take ages for my task to complete.
Is there any other quicker way to achieve this? like a bulk drop operation?
4 replies
JJanusGraph
•Created by HailDevil on 9/12/2023 in #questions
Different vertex Ids with exactly same properties
I am using Janusgraph 1.0.0-rc2 with Cassandra as a backend.
I recently encountered an issue where I saw two different vertices with different vertex ID but have exactly same properties,
Even when I have indexed the property as UNIQUE.
Is this a known issue of rc2 version?
8 replies
JJanusGraph
•Created by HailDevil on 8/19/2023 in #questions
StaleIndexRecordUtil.forceRemoveVertexFromGraphIndex not working
The job is getting successful, but I can still see the vertices in the graph.
It is weird that even If I pass a non existent vertex ID, the job does not fail.
any idea why such behavior? or am I missing something?
16 replies
JJanusGraph
•Created by HailDevil on 8/18/2023 in #questions
Check status of StandardScannerExecutor job
![No description](https://cdn.answeroverflow.com/1142015242260451348/image.png)
3 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
I have a graph setup with certain type of vertices like:
inputFiles, outputFiles, convertors
convertors basically take some input files, process them and produce output files.
For example:
convertor-abc -----output----> outputFile-1
|
|
input
|
|
inputFile-1
this inputFile-1 can be an input to more than one convertors., an input file can also be an output file for another convertor vice versa for output file.
I need to write a gremlin query which takes an input file id, looks for all the convertors for which this input file is given as input, and also all the input output files given to these convertors and gives in response;
For example:
{
"file": "inputFile-id",
"convertors":
[
{
"convertor": "convertor-1",
"inputs" : [
{
"file": "inputFile-id-1"
},
{
"file": "inputFile-id-2"
}
],
"outputs" : [
{
"file": "outputFile-id-1"
},
{
"file": "outputFile-id-2"
}
]
},
{
"convertor": "convertor-2",
"inputs" : [
{
"file": "inputFile-id-3"
},
{
"file": "inputFile-id-4"
}
],
"outputs" : [
{
"file": "outputFile-id-3"
},
{
"file": "outputFile-id-4"
}
]
}
]
}
How can I achieve this in single gremlin query, also it is fesable to have a single query to achieve this? or its better to break the query into two and first we fetch all the convertors and then look for its input output files?9 replies
JJanusGraph
•Created by HailDevil on 6/21/2023 in #questions
Should not allow creating vertex with only one of the composite index
I have created unique composite index using : .addKey(key1).addKey(key2).unique().buildCompositeIndex()
I want to keep the combination of key1 and key2 unique. Please let me know if I can achieve that with the above statement.
Also i found that janusgraph is allowing me to create vertices using only one of the key, for example i can create vertices with key1 only, why it is allowing me to do so? shouldnt it fail since key2 is not given?
1 replies