Company cluster, configured Hadoop. Run the job and want to check the running status, but do not know the ip address of the jobtracker machine:
Query the ip address of the hadoop jobtrack machine and view the file conf/mapred-site.xml
<? Xmlversion = "1.0"?>
<? Xml-stylesheettype = "text/xsl" href = "configuration. xsl"?>
<Configuration>
<Property>
<Name> mapred. job. tracker </name>
<Value> node1. 49001 </value>
</Property>
<Property>
<Name> mapred. local. dir </name>
<Value>/home/hadoop/hadoop_home/var </value>
</Property>
</Configuration>
Among them, mapred. job. tracker is the host (or IP) and Port of JobTracker. HOST: port.
This alias is disgusting. I checked the/etc/hosts and the hosts, slaves, and master under/etc/hadoop/conf.
2. ping node1.
Directly display the ip address, and then ip: 50030
Press enter three times and finally come out.
Http: // xxxxxx: 50030/jobtracker. jsp
Build a Hadoop environment on Ubuntu 13.04
Cluster configuration for Ubuntu 12.10 + Hadoop 1.2.1
Build a Hadoop environment on Ubuntu (standalone mode + pseudo Distribution Mode)
Configuration of Hadoop environment in Ubuntu
Detailed tutorial on creating a Hadoop environment for standalone Edition
Build a Hadoop environment (using virtual machines to build two Ubuntu systems in a Winodws environment)