Hi all,
I am working on the project to load data fropm spark to tigergraoh. i already installed my cluster tigergraph with 3 nodes and spark environment.
Someone of you can give me different steps to install jdbc driver to connect from spark to tigergraph ?
Hi jon_herke,
Thank you very much for the link. Question: by downloading it from the GitHub , where I will install it ? Inside tigergraph binaries ? Thanks
After cloning it from GitHub I had to build the driver. This required downloading and installing the Maven build tool (which – obviously – requires Java) and build it locally (mvn compile then mvn package, probably the latter one is enough).
It will create the tg-jdbc-driver-1.2.jar file (in /ecosys/tools/etl/tg-jdbc-driver/tg-jdbc-driver/target) that you can copy wherever you want (but it should not be copied into the TigerGraph binaries, it should remain on the application/user side, i.e. on your computer).
This worked very well for me when using from Scala, but run into some issues when I tried it from Python, but it happened probably because of mistakes on my side.