Re: XML Data Source for Spark

2016-04-25 Thread Hyukjin Kwon
Hi Janan, Sorry, I was sleeping. I guess you sent a email to me first and then ask it to mailing list because I am not answering. I just tested this to double-check and could produce the same exception below: java.lang.NoSuchMethodError: scala.Predef$.$conforms()Lscala/Predef$$less$colon$less; a

Re: XML Data Source for Spark

2016-04-25 Thread Michael Armbrust
You are using a version of the library that was compiled for a different version of Scala than the version of Spark that you are using. Make sure that they match up. On Mon, Apr 25, 2016 at 5:19 PM, Mohamed ismail wrote: > here is an example with code. > http://stackoverflow.com/questions/33078

Re: XML Data Source for Spark

2016-04-25 Thread Mohamed ismail
here is an example with code.  http://stackoverflow.com/questions/33078221/xml-processing-in-spark I haven't tried. On Monday, April 25, 2016 1:06 PM, Jinan Alhajjaj wrote: Hi All,I am trying to use XML data source that is used for parsing and querying XML data with Apache Spark, for

XML Data Source for Spark

2016-04-25 Thread Jinan Alhajjaj
Hi All,I am trying to use XML data source that is used for parsing and querying XML data with Apache Spark, for Spark SQL and data frames.I am using Apache spark version 1.6.1 and I am using Java as a programming language. I wrote this sample code :SparkConf conf = new SparkConf().setAppName("p