Niftyクラウド環境の構築(5)

CDHbase-01:/etc/hosts –>> hosts.org バックアップ

mount -t nfs 175.184.120.108:/hadoop /mnt/hadoop
mount -t nfs 172.16.1.100:/hadoop.nfs /mnt/hadoop

cd /etc
ln -s /mnt/hadoop/conf.nfs/hosts hosts ※共有hostsにリンク作成

※HADOOP_HOME設定

ln -s /usr/lib/hadoop-0.20.2 /usr/lib/hadoop
export HADOOP_HOME=/usr/lib/hadoop
echo “export HADOOP_HOME=/usr/lib/hadoop” >> /etc/bashrc
tail -n 3 /etc/bashrc
echo $HADOOP_HOME



core-site.xml


hadoop.tmp.dir
/hadoop



hadoop.default.name
hdfs://cdh00:54310



hdfs-site.xml


dfs.name.dir
/data/dfs/name



dfs.data.dir
/data/dfs/data



mapred-site.xml


mapred.job.tracker
cdh00:54311



mapred.local.dir
/hdfs_area/mapred/local



mapred.system.dir
/mapred/system



 

- Sponsored Link -