gdotv
Explore posts from serversATApache TinkerPop
•Created by gdotv on 10/17/2024 in #questions
Is there a way to specify a query execution timeout via the GremlinLangScriptEngine?
that makes perfect sense, I think for my use case it's acceptable to just not offer the ability to timeout queries for in-memory graphs
5 replies
ATApache TinkerPop
•Created by Max on 9/28/2024 in #questions
Best practices for local development with Neptune.
There's https://docs.localstack.cloud/user-guide/aws/neptune/ if you're looking for a quick solution that emulates the Neptune querying API.
11 replies
JJanusGraph
•Created by gdotv on 8/9/2024 in #questions
Granular configuration options for such as JANUSGRAPH_RELATION_DELIMITER on driver
Noted, thanks for confirming - I expect almost no one is going to run into this issue but thought I'd double check, much appreciated!
5 replies
ATApache TinkerPop
•Created by b4lls4ck on 8/1/2024 in #questions
How to find the edges of a node that have a weight of x or greater?
Try P.gte instead, with the correct import from the gremlin-python library, that should do it
8 replies
JJanusGraph
•Created by b4lls4ck on 7/18/2024 in #questions
Is there a suitable JanusGraph visualizer where you can see your created graphs?
there's a free 1 month trial, so you don't have to go straight to checkout on G.V() but yeah, it is ultimately a paywalled product. We do discounts for small companies, happy to discuss your circumstances if that helps in the decision. For free tools, might also be worth checking the "Powered By" section at https://tinkerpop.apache.org/community.html, i think it mostly overlaps with the list on JanusGraph's websites but should be useful nonetheless
8 replies
JJanusGraph
•Created by b4lls4ck on 7/18/2024 in #questions
Is there a suitable JanusGraph visualizer where you can see your created graphs?
8 replies
ATApache TinkerPop
•Created by gdotv on 6/18/2024 in #questions
Is NoHostAvailableException losing/not including relevant error context (3.7.0 above)?
I think that's exactly what I need here, awesome! I'll close this out and wait for the next tinkerpop release
5 replies
JJanusGraph
•Created by gdotv on 5/22/2024 in #questions
Creating a customer serializer Io Registry in Java
cool, i think that clarifies everything, im clear on the approach to take moving forward for G.V(), the best solution is to simply allow onboarding a user's custom IO registry via a packaged jar, likely the same one they would drop under lib for their JG install
12 replies
JJanusGraph
•Created by rpuga on 5/27/2024 in #questions
Unable to load GraphSON file
(taking this point on board also as I can see how this would look like GraphSON in context)
8 replies
JJanusGraph
•Created by rpuga on 5/27/2024 in #questions
Unable to load GraphSON file
I think i see the problem, there's a slight confusion between JSON and GraphSON here - the JSON export from "Export Graph Results" in G.V() is JSON, not GraphSON. I'd recommend trying the GraphML export from G.V() instead, that'll be importable to JG via the IO step
8 replies
JJanusGraph
•Created by gdotv on 5/22/2024 in #questions
Creating a customer serializer Io Registry in Java
thanks, that confirms my understanding - i think i got misled by the custom attribute serialization aspect on JanusGraph itself, as i was aware of the IoRegistry based implementations within Tinkerpop. Is it fair to say that the AttributeSerializer's purpose, specific to JanusGraph, is only to handle writing back to the storage backend, hence why it is JG specific?
12 replies
JJanusGraph
•Created by gdotv on 5/22/2024 in #questions
Creating a customer serializer Io Registry in Java
My second question is around customer serializers - everything in the docs mentions the use of AttributeSerializer as the super class to use but I notice IoRegistry class registration expects a serializer class inheriting an implementation specific to the serializer in use (GraphSON, Gryo, GraphBinary...). Is there an additional custom serializer matching the serializer type in use?
12 replies
JJanusGraph
•Created by gdotv on 5/22/2024 in #questions
Creating a customer serializer Io Registry in Java
@porunov got a little follow up question or two here as I'm trying to get this setup for testing. I've snatched some custom classes/serializers from https://github.com/pluradj/janusgraph-attribute-serializer/tree/master (I know it's deprecated but it's still workable by the looks of it).
I've configured my JG instance with a couple custom attribute types, but when attempting to add a vertex with one of those custom types, I'm getting the following error:
, which is thrown server side. Would that indicate a misconfiguration on my end or is there some other config im missing here?
12 replies
JJanusGraph
•Created by gdotv on 5/22/2024 in #questions
Creating a customer serializer Io Registry in Java
Cool, ill keep you posted - ill snatch some custom serialisers from the repo's tests and try going for a multi ioregistry load setup on the driver, on for janusgraph and one for custom types if configured in g.v. I'll wrestle a bit with java reflection to figure out what the right way of prompting those but im assuming file path to jar or perhaps class file
12 replies
ATApache TinkerPop
•Created by gdotv on 2/23/2024 in #questions
Configuring Websockets connection to pass through a proxy server
disregard that last part, i've figured it out, used https://github.com/awslabs/amazon-neptune-tools/blob/master/neptune-export/src/main/java/org/apache/tinkerpop/gremlin/driver/LBAwareSigV4WebSocketChannelizer.java for reference!
13 replies
ATApache TinkerPop
•Created by gdotv on 2/23/2024 in #questions
Configuring Websockets connection to pass through a proxy server
the end goal is to set the channelizer in the ClusterBuilder to the new overriden class (all Java stuff btw)
13 replies
ATApache TinkerPop
•Created by gdotv on 2/23/2024 in #questions
Configuring Websockets connection to pass through a proxy server
i could extend the server version of the channelizer just fine but obviously that's no good
13 replies
ATApache TinkerPop
•Created by gdotv on 2/23/2024 in #questions
Configuring Websockets connection to pass through a proxy server
the issue im running into is trying to extend the WebSocketChannelizer class or implement my own version, i may be daft here but it's unclear how I can do this
13 replies
ATApache TinkerPop
•Created by gdotv on 2/23/2024 in #questions
Configuring Websockets connection to pass through a proxy server
For reference, i'd like to slide in this type of code in the configure method of the WebSocketChannelizer, before all the pipeline.addLast statements:
13 replies
ATApache TinkerPop
•Created by gdotv on 2/23/2024 in #questions
Configuring Websockets connection to pass through a proxy server
makes total sense, is there a way to implement an overriding channelizer for the gremlin driver? can't see anything documented. Also just had some chat with a user who implemented this and it appears just regular HTTP proxy awareness would do, SOCKS is completely over the top here, at least from what i can tell
13 replies