spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sonal Goyal <sonalgoy...@gmail.com>
Subject Re: Reading xml in java using spark
Date Mon, 31 Aug 2015 11:44:56 GMT
I think the mahout project had an xmlinoutformat which you can leverage.
On Aug 31, 2015 5:10 PM, "rakesh sharma" <rakeshsharma14@hotmail.com> wrote:

> I want to parse an xml file in spark
> But as far as example is concerned it reads it as text file. The maping to
> xml will be a tedious job.
> How can I find the number of elements of a particular type using that. Any
> help in java/scala code is also welcome
>
> thanks
> rakesh
>

Mime
View raw message