Error in starting sparkR: Error in socketConnection(port = monitorPort) :

2015-09-25 Thread Jonathan Yue
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

Re: Spark for Oracle sample code

2015-09-25 Thread Jonathan Yue
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

Help! Problem of UnsatisfiedLinkError with Spark JDBC JNI dynamic library

2015-09-04 Thread Jonathan Yue
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"