hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From murali adireddy <murali.adire...@gmail.com>
Subject Re: how to read the xml tags data
Date Wed, 06 Nov 2013 07:26:21 GMT
Hi Mallik Arjun,

you can use "XmlInputFormat" class which is provided by Apache mohut and
not provided by Hadoop.

Here is the link for the code.

https://github.com/apache/mahout/blob/ad84344e4055b1e6adff5779339a33fa29e1265d/examples/src/main/java/org/apache/mahout/classifier/bayes/XmlInputFormat.java

And here is another link explained about using of xml input file.

http://xmlandhadoop.blogspot.com/




Thanks,
Murali AdiReddy


On Wed, Nov 6, 2013 at 12:38 PM, mallik arjun <mallik.cloud@gmail.com>wrote:

> hi all,
>
> how to write the mapreduce code to read the xml files tag info.
>
>
> thanks,
> mallik.
>

Mime
View raw message