Reputation: 1004
I am trying to add external libraries for spark for that i have tried putting the libraries in /usr/lib/spark/lib
. After successfully adding the library when i am
running my code i am getting error: not found.
I don't know where else to place the jar files, i am using CDH 5.7.0
Upvotes: 0
Views: 1151
Reputation: 1004
I am found the solution after digging a little bit and i fixed this issue by adding the jar while opening the spark shell from terminal.
I used below code :
spark-shell --jars "dddd-xxx-2.2.jar,xxx-examples-2.2.jar"
Upvotes: 1