Re: Parse XML using java spark

2016-04-18 Thread Mail.com
You might look at using JaxB or Stax. If it is simple enough use data frames auto generated scheme. Pradeep > On Apr 18, 2016, at 6:37 PM, Jinan Alhajjaj wrote: > > Thank you for your help. > I would like to parse the XML file using Java not scala . Can you please > provide me with exsample

Parse XML using java spark

2016-04-18 Thread Jinan Alhajjaj
Thank you for your help.I would like to parse the XML file using Java not scala . Can you please provide me with exsample of how to parse XMl via java using spark. My XML file is Wikipedia dump file Thank you

Parse XML using Java Spark

2016-04-18 Thread Jinan Alhajjaj
I would like to parse an XML file using JAVA not Scala. The XML files is Wikipedia Dump files If there is any example of how to parse an XML using Java of course by Apache Spark ,I would like to share it with me Thank you