I tried to run the wordcount example in C++ using Hadoop-0.20.203 on two nodes cluster. My two nodes are on Fedora. Compilation works fine, I got no errors and no warnings. But when I tried to run my program, I get an error like this :
bin/hadoop pipes -conf ../dev/word.xml -input testtile.txt -output wordcount-out 11/06/06 14:23:40 WARN mapred.JobClient: No job jar file set. User classes may not be found. See JobConf(Class) or JobConf#setJar(String). 11/06/06 14:23:40 INFO mapred.FileInputFormat: Total input paths to process : 1 11/06/06 14:23:40 INFO mapred.JobClient: Running job: job_201106061207_0007 11/06/06 14:23:41 INFO mapred.JobClient: map 0% reduce 0% 11/06/06 14:23:53 INFO mapred.JobClient: Task Id : attempt_201106061207_0007_m_000000_0, Status : FAILED java.io.IOException at org.apache.hadoop.mapred.pipes.OutputHandler.waitForAuthentication(OutputHandler.java:188) at org.apache.hadoop.mapred.pipes.Application.waitForAuthentication(Application.java:194) at org.apache.hadoop.mapred.pipes.Application.(Application.java:149) at org.apache.hadoop.mapred.pipes.PipesMapRunner.run(PipesMapRunner.java:68) at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:435) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:371) at org.apache.hadoop.mapred.Child$4.run(Child.java:259) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:416) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1059) at org.apache.hadoop.mapred.Child.main(Child.java:253) attempt_201106061207_0007_m_000000_0: Server failed to authenticate. Exiting ... However I tried the compiled wordcount example with that command on my cluster : bin/hadoop jar hadoop-examples-0.20.203.0.jar wordcount testtile.txt wordcount-out And that run works fine... Thats is why I dot not understand why my program did not work. If someone have any idea about the error message : Server failed to authenticate. I expected ssl is the guilty, but I disable every security options, but nothing change. -- View this message in context: http://old.nabble.com/Server-failed-to-authenticate%2C-wordcount-example-tp31798396p31798396.html Sent from the Hadoop core-user mailing list archive at Nabble.com.
