关于Hadoop启动必须的配置文件

配置文件后,理论上jps查询会有如下进程:

* JPS
* DataNode
* NodeManager
* NameNode
* ResourceManager
* SecondaryNameNode

core-site.xml




   fs.default.name
   hdfs://192.168.1.2:9000
 


        hadoop.tmp.dir
        /simple/hadoop-2.4.1/tmp


hdfs-site.xml




dfs.replication
1


       dfs.name.dir
       /simple/Hadoop-2.4.1/hdfs/name


     dfs.data.dir
      /simple/hadoop-2.4.1/hdfs/data
 

mapred-site.xml





yarn.resourcemanager.hostname
192.168.1.2



yarn.nodemanager.aux-services
mapreduce_shuffle


profile

unset -f pathmunge
JAVA_HOME=/simple/jdk1.7.0_79
HADOOP_HOME=/simple/hadoop-2.4.1
export PATH=$JAVA_HOME/bin:$HADOOP_HOME/bin:$HADOOP_HOME/sbin:$PATH


你可能感兴趣的:(关于Hadoop启动必须的配置文件)