hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miguel Costa <miguel-co...@telecom.pt>
Subject RE: Hadoop Jar
Date Tue, 22 Mar 2011 17:01:59 GMT
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-costa@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 

	

 

 

 

 


Mime
View raw message