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

JAVA環境設定

>export JAVA_HOME=/usr/java/latest
>echo “export JAVA_HOME=/usr/java/latest” >> /etc/bashrc

(確認)echo $JAVA_HOME


wget http://archive.cloudera.com/redhat/cdh/cloudera-cdh3.repo
cp cloudera-cdh3.repo /etc/yum.repos.d/


yumのアップデート

>yum update yum

>yum install hadoop-0.20
yum install hadoop-0.20-namenode
yum install hadoop-0.20-datanode
yum install hadoop-0.20-secondarynamenode
yum install hadoop-0.20-jobtracker
yum install hadoop-0.20-tasktracker
yum install hadoop-pig
yum install hadoop-hive
yum install hadoop-hbase
確認

 

- Sponsored Link -