Have you built mahout? You'll need to do that via:
$mvn install


On Monday, November 21, 2011, DIPESH KUMAR SINGH <[email protected]>
wrote:
> I am unable to figure out how to use .job file.
>
> Do i need to build the DisplayKmeans.java file, by compiling (javac) and
> making jars etc.?
>
> To get started, i was trying to just run kmeans example in mahout from
CLI.
>
> I could make the hadoop sequence files in hdfs, but on running seq2sparse,
> i am getting following 2 errors.
>
> (I was following this ppt :
> Link<
http://assets.en.oreilly.com/1/event/61/Hands%20On%20Mahout%20-%20Mammoth%20Scale%20Machine%20Learning%20Presentation.ppt
>)
>
> Error: java.lang.ClassNotFoundException:
> org.apache.lucene.analysis.Analyzer
> Error: java.lang.ClassNotFoundException: org.apache.mahout.math.Vector
>
> It would be great, if someone can guide me through the specific steps and
> help me get started.
>
> Forgive me for my basic questions, i am new to mahout.
>
> Thanks & Regards,
>
> Dipesh
>
> On Sat, Nov 19, 2011 at 2:48 PM, Sean Owen <[email protected]> wrote:
>
>> You are not using the .job file, which has all the dependencies that you
>> need to send to Hadoop. I think you need to build the project.
>>
>> On Sat, Nov 19, 2011 at 3:54 AM, DIPESH KUMAR SINGH
>> <[email protected]>wrote:
>>
>> > Hi,
>> >
>> > I was trying to execute sample kmeans in mahout on reuters dataset to
get
>> > myself started with mahout. After creating the sequence files, i got
the
>> > following error.
>> >
>> > I am able to execute other map-reduce programs like wordcount on my
>> hadoop
>> > cluster.
>> >
>> > I am unable to figure how to include these missing classes which are
>> > indicated in exception. Please help.
>>  >
>>
>
>
>> >
>>
>
>
>
> --
> Dipesh Kr. Singh
>

Reply via email to