I installed Hadoop and YARN on my MAC. I am able to run the wordcount example and output results on HDFS (pesudo-distribute mode), I know my program is running data file on HDFS because I have to copy file to HDFS for it to run. However, when I check on my WEB UI for YARN, there is no record that any task has been accomplished. After research online, it seems that the application is still running locally.
After start-yarn.sh, I can open Resource Manager web UI http://localhost:8088/
, problem is that no task ever shows up. Furthermore, I cannot even access to my JobTracker Web UI.
I found out the following link. it has a similar problem with mine, but the solution doesn't work for me
Hadoop is not showing my job in the job tracker even though it is running
My XML set-up is as follows
mapred-site.xml
<configuration>
<property>
<name>mapred.job.tracker</name>
<value>localhost:9001</value>
</property>
<property>
<name>mapred.framework.name</name>
<value>yarn</value>
</property>
</configuration>
yarn-site.xml
<property>
<name>yarn.nodemanager.aux-services</name>
<value>mapreduce_shuffle</value>
</property>
<property>
<name>yarn.nodemanager.aux-services.mapreduce.shuffle.class</name>
<value>org.apache.hadoop.mapred.ShuffleHandler</value>
</property>
<property>
<name>yarn.resourcemanager.address</name>
<value>localhost:9002</value>
</property>
core-site.xml
<configuration>
<property>
<name>fs.defaultFS</name>
<value>hdfs://localhost:9000</value>
</property>
</configuration>
Anyone knows what the problem is? Thanks