Have you tried the actual jobtracker port number and not the http port (50030).
Try specifying the port number specified in your $ HADOOP_HOME / conf / mapred-site.xml file under the mapred.job.tracker property. Here is my pseudo-mapred-site.xml conf
<property> <name>mapred.job.tracker</name> <value>localhost:9001</value> </property>
If you look at the JobTracker.getAddress(Configuration) method, you will see that it uses this property if the jobtracker host / port is not explicitly specified:
public static InetSocketAddress getAddress(Configuration conf) { String jobTrackerStr = conf.get("mapred.job.tracker", "localhost:8012"); return NetUtils.createSocketAddr(jobTrackerStr); }
source share