The 500 error code does not really tell anything about what is the problem. This makes troubleshooting little bit hard. To identify this kind of problem, we have to go to cluster to check logs.
For example, looking into hadoop-hdfs-namenode-*.log and try to find following error:
2014-08-14 14:21:42,386 WARN org.apache.hadoop.ipc.Server: Incorrect header or version mismatch from 192.168.72.1:15444 got version 7 expected version 4
Basically, this is telling us that cluster expects version 4, but client is using version 7.
Having this kind of information, lower the version of hadoop jar files. Now my hadoop code works perfect fine with cluster.
No comments:
Post a Comment