I have been trying to start p sparkR but always get the error about monitorPort:
export
LD_LIBRARY_PATH=$HOME/jaguar/lib:$HOME/opt/hadoop/lib/nativeJDBCJAR=$HOME/jaguar/lib/jaguar-jdbc-2.0.jarsparkR
\ --driver-class-path $JDBCJAR \ --driver-library-path $HOME/jaguar/lib \
--conf spark.executor.
In your dbtable you can insert "select ..." instead of table name. I never
tried, but saw example from the web. Best regards, Jonathan
From: Cui Lin
To: user
Sent: Friday, September 25, 2015 4:12 PM
Subject: Spark for Oracle sample code
Hello, All,
I found the examples for JDBC
Could anyone help me with Spark scala using JDBC to get data? The JDBC is based
on our home-brewn C++ JNIlibrary. I use sbt to compile and package the app
into a jar and use spark-submit to submit the jar to standalone Spark.The
problem is that it finally gives "Exception in thread "main"
jav