Hola Miguel,

Wondering what "Main" method are you referring to that is "defined to run".
Can you be specific?

2011/3/22 Miguel Costa <miguel-co...@telecom.pt>

> I already fixed,
>
>
>
> I had the Main class defined on my project .
>
>
>
> Even if I execute hadoop –jar myyjar.jar mymainClass
>
> mymainClass is never executed.
>
> The project can not have a Main method defined to run if has more than one
> and we want to run different Main methods.
>
>
>
> Miguel
>
>
>
>
>
> *From:* Miguel Costa [mailto:miguel-co...@telecom.pt]
> *Sent:* terça-feira, 22 de Março de 2011 16:18
> *To:* common-user@hadoop.apache.org
> *Subject:* Hadoop Jar
>
>
>
> Hi,
>
>
>
> I’m trying to execute a jar file from ./bin/hadoop jar /mypath/myjar
> mymainclass
>
>
>
> But the jar that is execute is an old jar.
>
> If I Execute the jar from java –cp myjar maymainclass it runs fine.
>
>
>
> What am I doing wrong?
>
>
>
> Thanks,
>
>
>
> Miguel
>
>
>
>
>
>
>
>
>

Reply via email to