Get the App
SLTechnology News&Howtos  ›  Servers  › 

What is the Hadoop CDH3u6 configuration file like

Shulou Source: shulou.com Published: 2022-05-31 21:52:44 09月22日 Update

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!

Tags: Articles documents configuration content not much most more knowledge scripts industry information information channels channels references synchronization learning help Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL OPPO Reno Apple NVidia Xiaomi