Re: Java MongoDB Spark Stratio (Please give me a hint)

2016-06-13 Thread Umair Janjua
The dataframe does not get any data. What could I be doing wrong here. I have rechecked the credentials and other stuff. I am still trying to debug the issue without any luck so far. On Mon, Jun 13, 2016 at 11:30 AM, Umair Janjua wrote: > Any idea what I might be doing

Re: Java MongoDB Spark Stratio (Please give me a hint)

2016-06-13 Thread Umair Janjua
Any idea what I might be doing wrong. I am new to spark and I cannot proceed forward from here: --- JavaSparkContext sc = new JavaSparkContext("local[*]", "test spark-mongodb java"); SQLContext sqlContext = new

Java MongoDB Spark Stratio (Please give me a hint)

2016-06-10 Thread Umair Janjua
Hi my code, When i run this program is gets stuck at sqlContext.read().format("com.stratio.datasource.mongodb").options(options).load(); line and then it does not proceed forward. Nothing happens after that. What should I do? How can I debug it. I am stuck here. Please any hint would be