mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mehant baid <baid.meh...@gmail.com>
Subject Re: Mahout 0.8 compilation issue on hadoop 1.0.3
Date Thu, 19 Sep 2013 18:15:46 GMT
Hey Sean,

Thanks for your reply.

Yes I had already removed the @override directive and it compiled
successfully. I was wondering if I should open a JIRA for this or like you
said since the project uses stable Hadoop 1.2.1 it is the duty of the
developers using older versions to figure out some of these minor details?

Thanks
Mehant


On Thu, Sep 19, 2013 at 2:40 AM, Sean Owen <srowen@gmail.com> wrote:

> THe project uses the latest stable Hadoop, 1.2.1.
>
> It's usually true that within the 1.x line everything is pretty backwards-
> and forwards- compatible. There have been a few cases where a change occurs
> that is still compile-time-compatible with code written for a different
> version, but not run-time compatible. That's at least solvable by building
> for a particular version.
>
> This one is tougher since an abstract class added an abstract method.
>
> Here's a possible hack that makes it work everywhere: remove the @Override
> on the methods that are new in 1.1.x. Does that do it? Because that doesn't
> break 1.2.x.
>
>
>
> On Thu, Sep 19, 2013 at 6:50 AM, Mehant Baid <baid.mehant@gmail.com>
> wrote:
>
> > I was trying to compile Mahout-0.8 on Hadoop version 1.0.3. In
> > DummyStatusReporter.java the @override directive is added for the method
> > getProgress(). The getProgress() method does not exist in its base class
> > (StatusReporter.java) in hadoop versions 1.0.3, 1.0.4 and is only
> included
> > in 1.1.1 onwards and hence I am getting a compilation error.
> >
> > Are these Hadoop versions not supported on Mahout-0.8 or should I open a
> > JIRA for this issue.
> >
> > Thanks
> > Mehant
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message