You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by mallik arjun <ma...@gmail.com> on 2013/11/06 08:08:51 UTC
how to read the xml tags data
hi all,
how to write the mapreduce code to read the xml files tag info.
thanks,
mallik.
Re: how to read the xml tags data
Posted by unmesha sreeveni <un...@gmail.com>.
here is what u want
https://github.com/studhadoop/xmlparsing-hadoop/blob/master/XmlParser11.java
this is what i did. You can modify the code according to your intension.
Happy coding
On Wed, Nov 6, 2013 at 12:56 PM, murali adireddy
<mu...@gmail.com>wrote:
> 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 <ma...@gmail.com>wrote:
>
>> hi all,
>>
>> how to write the mapreduce code to read the xml files tag info.
>>
>>
>> thanks,
>> mallik.
>>
>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
*Amrita Center For Cyber Security*
* Amritapuri.www.amrita.edu/cyber/ <http://www.amrita.edu/cyber/>*
Re: how to read the xml tags data
Posted by unmesha sreeveni <un...@gmail.com>.
here is what u want
https://github.com/studhadoop/xmlparsing-hadoop/blob/master/XmlParser11.java
this is what i did. You can modify the code according to your intension.
Happy coding
On Wed, Nov 6, 2013 at 12:56 PM, murali adireddy
<mu...@gmail.com>wrote:
> 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 <ma...@gmail.com>wrote:
>
>> hi all,
>>
>> how to write the mapreduce code to read the xml files tag info.
>>
>>
>> thanks,
>> mallik.
>>
>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
*Amrita Center For Cyber Security*
* Amritapuri.www.amrita.edu/cyber/ <http://www.amrita.edu/cyber/>*
Re: how to read the xml tags data
Posted by unmesha sreeveni <un...@gmail.com>.
here is what u want
https://github.com/studhadoop/xmlparsing-hadoop/blob/master/XmlParser11.java
this is what i did. You can modify the code according to your intension.
Happy coding
On Wed, Nov 6, 2013 at 12:56 PM, murali adireddy
<mu...@gmail.com>wrote:
> 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 <ma...@gmail.com>wrote:
>
>> hi all,
>>
>> how to write the mapreduce code to read the xml files tag info.
>>
>>
>> thanks,
>> mallik.
>>
>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
*Amrita Center For Cyber Security*
* Amritapuri.www.amrita.edu/cyber/ <http://www.amrita.edu/cyber/>*
Re: how to read the xml tags data
Posted by unmesha sreeveni <un...@gmail.com>.
here is what u want
https://github.com/studhadoop/xmlparsing-hadoop/blob/master/XmlParser11.java
this is what i did. You can modify the code according to your intension.
Happy coding
On Wed, Nov 6, 2013 at 12:56 PM, murali adireddy
<mu...@gmail.com>wrote:
> 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 <ma...@gmail.com>wrote:
>
>> hi all,
>>
>> how to write the mapreduce code to read the xml files tag info.
>>
>>
>> thanks,
>> mallik.
>>
>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
*Amrita Center For Cyber Security*
* Amritapuri.www.amrita.edu/cyber/ <http://www.amrita.edu/cyber/>*
Re: how to read the xml tags data
Posted by murali adireddy <mu...@gmail.com>.
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 <ma...@gmail.com>wrote:
> hi all,
>
> how to write the mapreduce code to read the xml files tag info.
>
>
> thanks,
> mallik.
>
Re: how to read the xml tags data
Posted by murali adireddy <mu...@gmail.com>.
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 <ma...@gmail.com>wrote:
> hi all,
>
> how to write the mapreduce code to read the xml files tag info.
>
>
> thanks,
> mallik.
>
Re: how to read the xml tags data
Posted by murali adireddy <mu...@gmail.com>.
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 <ma...@gmail.com>wrote:
> hi all,
>
> how to write the mapreduce code to read the xml files tag info.
>
>
> thanks,
> mallik.
>
Re: how to read the xml tags data
Posted by murali adireddy <mu...@gmail.com>.
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 <ma...@gmail.com>wrote:
> hi all,
>
> how to write the mapreduce code to read the xml files tag info.
>
>
> thanks,
> mallik.
>