What is the Hadoop CDH3u6 configuration file like
Editor to share with you what the Hadoop CDH3u6 configuration file is like, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
# JAVAexport JAVA_HOME=/usr/lib/jdk1.7.0_60export JRE_HOME=/usr/lib/jdk1.7.0_60/jre export CLASSPATH=.:$CLASSPATH:$JAVA_HOME/lib:$JRE_HOME/lib export PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin
Core-site.xml
Fs.default.name hdfs://cdh0:8020 hadoop.tmp.dir / data/dfs/$ {user.name}
Hdfs-site.xml
Dfs.name.dir / data/dfs/name dfs.data.dir / data/dfs/dn dfs.replication 1
Mapred-site.xml
Mapred.job.tracker cdh0:8021 mapred.local.dir / data/mapred/local
Masters
Cdh0
Slaves
Cdh2
Synchronize small script
#! / bin/bashcd / etc/hadoop-0.20/conf.clusterscp masters slaves hdfs-site.xml core-site.xml mapred-site.xml root@cdh2:/etc/hadoop-0.20/conf.cluster/ above is all the content of the article "what is the Hadoop CDH3u6 configuration file?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!