Re: DataSet creation not working Spark 1.6.0 , populating wrong data CDH 5.7.1

2017-08-03 Thread Rabin Banerjee
Unfortunately I cant use scala/python. Any solution in Java ? On Thu, Aug 3, 2017 at 6:04 PM, Gourav Sengupta wrote: > Guru, > > Anyways you can pick up SCALA or Python. Makes things way easier. The > perfomance, maintainability, visibility, and minimum translation

Re: DataSet creation not working Spark 1.6.0 , populating wrong data CDH 5.7.1

2017-08-03 Thread Abdallah Mahmoud
Unsubscribe me Please Sent with Mailtrack *Abdallah Mahmoud Zidan* *Junior Data Scientist & Software Developer* *(+20) 01027228807* On 3 August 2017 at 14:39, Jörn Franke

Re: DataSet creation not working Spark 1.6.0 , populating wrong data CDH 5.7.1

2017-08-03 Thread Jörn Franke
You need to create a schema for person. https://spark.apache.org/docs/latest/sql-programming-guide.html#programmatically-specifying-the-schema > On 3. Aug 2017, at 12:09, Rabin Banerjee wrote: > > Hi All, > > I am trying to create a DataSet from DataFrame, where

Re: DataSet creation not working Spark 1.6.0 , populating wrong data CDH 5.7.1

2017-08-03 Thread Gourav Sengupta
Guru, Anyways you can pick up SCALA or Python. Makes things way easier. The perfomance, maintainability, visibility, and minimum translation loss makes things better. Regards, Gourav On Thu, Aug 3, 2017 at 11:09 AM, Rabin Banerjee < dev.rabin.baner...@gmail.com> wrote: > Hi All, > > I am

DataSet creation not working Spark 1.6.0 , populating wrong data CDH 5.7.1

2017-08-03 Thread Rabin Banerjee
Hi All, I am trying to create a DataSet from DataFrame, where dataframe has been created successfully, and using the same bean I am trying to create dataset. But when I am running it, Dataframe is created as expected. I am able to print the content as well. But not the dataset. The DataSet is