hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Lanitz <frank.lan...@sql-ag.de>
Subject Re: How to debug why example not finishing (or even starting)
Date Thu, 29 Jan 2015 10:24:08 GMT
Am 29.01.2015 um 11:12 schrieb Frank Lanitz:
> Am 29.01.2015 um 05:38 schrieb Akira AJISAKA:
>> Job.setJarByClass is missing in the grep job.
>> 
>> https://issues.apache.org/jira/browse/MAPREDUCE-6231
>> 
>> Did you run another example job (ex. PiEstimator)? Other example
>> jobs are setting user classes by Job.setJarByClass. I'm thinking
>> they would work in your environment.
> 
> Not yet, as I'm getting error messages such like "Not a valid jar".

So actually:

> hadoop@hadoopm:~$ hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.6.0.jar
grep input output 'dfs[a-z.]+'
> Not a valid JAR: /home/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.6.0.jar

running on openJDk.

Cheers,
Frank

Mime
View raw message