incubator-crunch-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Wills <jwi...@cloudera.com>
Subject Re: Running first example
Date Thu, 27 Dec 2012 20:35:32 GMT
Are you running hadoop -jar, or hadoop jar? The latter is the right one,
IIRC.

J


On Thu, Dec 27, 2012 at 10:38 AM, Renato MarroquĂ­n Mogrovejo <
renatoj.marroquin@gmail.com> wrote:

> Hi all,
>
> First of all, congrats for the project, I think it is awesome! I hope
> I can use it and who knows maybe contribute (:
> Anyways, I don't want to sound too clumsy but I was looking at the
> project [1] and I haven't been able to run the first example which is:
>
> {code}
> ./hadoop -jar
> ../../../ApacheCrunch/apache-crunch-0.4.0-incubating-src/crunch-examples/target/crunch-examples-0.4.0-incubating-job.jar
> org.apache.crunch.examples.WordCount
>
> ../../../ApacheCrunch/apache-crunch-0.4.0-incubating-src/crunch-examples/src/main/resources/access_logs.tar.gz
> .
> {/code}
>
> I keep getting this:
>
> Failed to load Main-Class manifest attribute from
>
> ../../../ApacheCrunch/apache-crunch-0.4.0-incubating-src/crunch-examples/target/crunch-examples-0.4.0-incubating-job.jar
>
> I am using hadoop 1.0.3 within MacOS and what I did is to download the
> sources and run mvn clean install. Any hints?
> Thanks in advance!
>
>
> Renato M.
>
> [1] http://incubator.apache.org/crunch/intro.html
>



-- 
Director of Data Science
Cloudera <http://www.cloudera.com>
Twitter: @josh_wills <http://twitter.com/josh_wills>

Mime
View raw message