Ahh- yes I think we started removing MAHOUT_LOCAL capability I see the check 
for MAHOUT_LOCAL was removed in this commit:


https://github.com/apache/mahout/commit/daad3a4ce618cbd05be468c4ce6e451618f3a028


So it would make sense that you are seeing that Error in local mode.

________________________________
From: Raviteja Lokineni <raviteja.lokin...@gmail.com>
Sent: Friday, August 5, 2016 2:28:08 PM
To: mahout
Subject: Re: MAHOUT-1876 - Lucene compatibility

Nope in a Linux environment.

On Aug 5, 2016 2:21 PM, "Suneel Marthi" <smar...@apache.org> wrote:

> r u running this on windows prompt or in Cygwin.
>
> Suggest use Cygwin.
>
> On Fri, Aug 5, 2016 at 2:15 PM, Raviteja Lokineni <
> raviteja.lokin...@gmail.com> wrote:
>
> > This is what I get.
> >
> > $ ./classify-20newsgroups.sh
> > /home/lok268/projects/mahout/examples/bin/set-dfs-commands.sh: line
> > 36: /bin/hadoop: No such file or directory
> > /home/lok268/projects/mahout/examples/bin/set-dfs-commands.sh: line
> > 38: [: too many arguments
> > /home/lok268/projects/mahout/examples/bin/set-dfs-commands.sh: line
> > 43: [: -eq: unary operator expected
> > Can't determine Hadoop version.
> >
> >
> > On Fri, Aug 5, 2016 at 2:08 PM, Suneel Marthi <smar...@apache.org>
> wrote:
> >
> > > u don't need a hadoop cluster for that,
> > >
> > > set MAHOUT_LOCAL=true
> > > and u shuld be able to run locally
> > >
> > > On Fri, Aug 5, 2016 at 1:57 PM, Raviteja Lokineni <
> > > raviteja.lokin...@gmail.com> wrote:
> > >
> > > > Hi Andrew,
> > > >
> > > > Looks like the examples don't seem to work unless on a hadoop
> cluster.
> > > If I
> > > > get some time I will download a cloudera quickstart vm and test it
> out.
> > > >
> > > > Thanks,
> > > > Raviteja
> > > >
> > > > On Fri, Aug 5, 2016 at 12:53 PM, Andrew Palumbo <ap....@outlook.com>
> > > > wrote:
> > > >
> > > > > Thanks again Raviteja,
> > > > > Tests pass in my Linux env as well.
> > > > >
> > > > > FYI, if the windows script has not yet been officially deprecated
> it
> > > > > should be soon.
> > > > >
> > > > > As Suneel said, someone will merge it over the weekend.  In the
> > > meantime
> > > > > it would good to ensure that some of the examples are working in
> the
> > > > > $MAHOUT_HOME/examples/bin dir.  Could you try running
> > > > > classify-wikipedia.sh  option (2), cluster-reuters.sh option (1) pr
> > (2)
> > > > and
> > > > > classify-20newsgroups.sh option 1 in (pseudo)cluster mode if
> > possible?
> > > > >
> > > > > This would to ensure that seq2sparse is working correctly which
> > relies
> > > > > heavily on lucene.
> > > > >
> > > > > Thanks again for the great contribution.
> > > > >
> > > > > Andy
> > > > >
> > > > >
> > > > > -------- Original message --------
> > > > > From: Raviteja Lokineni <raviteja.lokin...@gmail.com>
> > > > > Date: 08/05/2016 12:42 PM (GMT-05:00)
> > > > > To: mahout <dev@mahout.apache.org>
> > > > > Subject: Re: MAHOUT-1876 - Lucene compatibility
> > > > >
> > > > > Just a FYI, all the tests are successful on windows too ;)
> > > > >
> > > > > On Fri, Aug 5, 2016 at 12:18 PM, Andrew Palumbo <
> ap....@outlook.com>
> > > > > wrote:
> > > > >
> > > > > > +1
> > > > > >
> > > > > > ________________________________
> > > > > > From: Raviteja Lokineni <raviteja.lokin...@gmail.com>
> > > > > > Sent: Friday, August 5, 2016 12:14:24 PM
> > > > > > To: mahout
> > > > > > Subject: Re: MAHOUT-1876 - Lucene compatibility
> > > > > >
> > > > > > Yay! for the heads up on merging.
> > > > > >
> > > > > > FYI, I take back my word on failure on windows though. I had to
> > > include
> > > > > the
> > > > > > hadoop.dll file on PATH. Tests are running (I am running it just
> to
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > *Raviteja Lokineni* | Business Intelligence Developer
> > > > TD Ameritrade
> > > >
> > > > E: raviteja.lokin...@gmail.com
> > > >
> > > > [image: View Raviteja Lokineni's profile on LinkedIn]
> > > > <http://in.linkedin.com/in/ravitejalokineni>
> > > >
> > >
> >
> >
> >
> > --
> > *Raviteja Lokineni* | Business Intelligence Developer
> > TD Ameritrade
> >
> > E: raviteja.lokin...@gmail.com
> >
> > [image: View Raviteja Lokineni's profile on LinkedIn]
> > <http://in.linkedin.com/in/ravitejalokineni>
> >
>

Reply via email to