I read a blog post about configuring and installing hadoop before (address:). It can be installed and run correctly, but when monitoring Jobtracker on the web page, enter localhost:8088 (note here that the jobtracker interface of hadoop2.0 and later versions starts from 50030 It became 8088) and cannot be accessed. After reading some information, I found that the two configuration files mapred-site.xml and yarn-site.xml were not configured.
The first is the mapred-site.xml file. This configuration file does not originally exist, but there is a mapred-site.xml.template file. The method is to copy the mapred-site.xml.template file and name it mapred- site.xml and then configure it.
Command:
vim mapred-site.xml
Add the content as shown below:
##Then yarn- site.xml file configurationCommand:vim yarn-site.xml No need to reset the other ones, you’re done !The above is the detailed content of Example tutorial of hadoop 2.6.0 pseudo-distributed deployment installation. For more information, please follow other related articles on the PHP Chinese website!