You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by "Hussain, Kamal (Kamal)" <ka...@alcatel-lucent.com> on 2010/09/03 17:42:26 UTC

XmlInputFormat.java using new Hadoop APIs

Hi there,
I was wondering if there is a version of XmlInputFormat.java which uses the newer Hadoop APIs. The one I found here<http://github.com/apache/mahout/blob/ad84344e4055b1e6adff5779339a33fa29e1265d/examples/src/main/java/org/apache/mahout/classifier/bayes/XmlInputFormat.java>  is using old APIs so doesn't work very well with my code.

Please let me know if someone has ported it already otherwise, I will take a stab.

Thanks
Kamal

Re: XmlInputFormat.java using new Hadoop APIs

Posted by Robin Anil <ro...@gmail.com>.
Please send a patch changing the current XMLInputFormat code, see the wiki
page on the style guidelines.  We are in the process of changing all code to
Hadoop 0.20 API

On Fri, Sep 3, 2010 at 9:31 PM, Shuja Rehman <sh...@gmail.com> wrote:

> Hi
>
> Check out this link
>
> http://xmlandhadoop.blogspot.com/
>
> On Fri, Sep 3, 2010 at 8:42 PM, Hussain, Kamal (Kamal) <
> kamal.hussain@alcatel-lucent.com> wrote:
>
> > Hi there,
> > I was wondering if there is a version of XmlInputFormat.java which uses
> the
> > newer Hadoop APIs. The one I found here<
> >
> http://github.com/apache/mahout/blob/ad84344e4055b1e6adff5779339a33fa29e1265d/examples/src/main/java/org/apache/mahout/classifier/bayes/XmlInputFormat.java
> >
> >  is using old APIs so doesn't work very well with my code.
> >
> > Please let me know if someone has ported it already otherwise, I will
> take
> > a stab.
> >
> > Thanks
> > Kamal
> >
>
>
>
> --
> Regards
> Shuja-ur-Rehman Baig
> http://pk.linkedin.com/in/shujamughal
> Cell: +92 3214207445
>

Re: XmlInputFormat.java using new Hadoop APIs

Posted by Shuja Rehman <sh...@gmail.com>.
Hi

Check out this link

http://xmlandhadoop.blogspot.com/

On Fri, Sep 3, 2010 at 8:42 PM, Hussain, Kamal (Kamal) <
kamal.hussain@alcatel-lucent.com> wrote:

> Hi there,
> I was wondering if there is a version of XmlInputFormat.java which uses the
> newer Hadoop APIs. The one I found here<
> http://github.com/apache/mahout/blob/ad84344e4055b1e6adff5779339a33fa29e1265d/examples/src/main/java/org/apache/mahout/classifier/bayes/XmlInputFormat.java>
>  is using old APIs so doesn't work very well with my code.
>
> Please let me know if someone has ported it already otherwise, I will take
> a stab.
>
> Thanks
> Kamal
>



-- 
Regards
Shuja-ur-Rehman Baig
http://pk.linkedin.com/in/shujamughal
Cell: +92 3214207445

Re: XmlInputFormat.java using new Hadoop APIs

Posted by Robin Anil <ro...@gmail.com>.
Not yet, take a stab!


On Fri, Sep 3, 2010 at 9:12 PM, Hussain, Kamal (Kamal) <
kamal.hussain@alcatel-lucent.com> wrote:

> Hi there,
> I was wondering if there is a version of XmlInputFormat.java which uses the
> newer Hadoop APIs. The one I found here<
> http://github.com/apache/mahout/blob/ad84344e4055b1e6adff5779339a33fa29e1265d/examples/src/main/java/org/apache/mahout/classifier/bayes/XmlInputFormat.java>
>  is using old APIs so doesn't work very well with my code.
>
> Please let me know if someone has ported it already otherwise, I will take
> a stab.
>
> Thanks
> Kamal
>