SuSE 安装 CDH3

Cloudera 为SUSE Linux Enterprise Server 11 (SLES 11). Service pack 1及以后版本提供64位包.

在SUSE系统上,请不要尝试IBM的Java版本了, Hadoop在它上面不能正常工作,请安装使用Oracle JDK ,CDH3 必须 Oracle JDK 1.6. Cloudera 建议版本 1.6.0_26. (最低支持版是 1.6.0_8) JDK6链接

在root设定JDK环境变量 vi /ect/profile

# export JAVA_HOME=<jdk-install-dir>
# export PATH=$JAVA_HOME/bin:$PATH

<jdk-install-dir> 类似 /usr/java/jdk1.6.0_26 这样.

 

二:开始安装CDH3在SUSE上
1: 

zypper addrepo -f http://archive.cloudera.com/sles/11/x86_64/cdh/cloudera-cdh3.repo

2:

zypper refresh

3:
 

rpm --import http://archive.cloudera.com/sles/11/x86_64/cdh/RPM-GPG-KEY-cloudera

4:

zypper search hadoop
zypper install hadoop-0.20 hadoop-0.20-native

5:

zypper install hadoop-hbase

6:Starting HBase in Standalone Mode

zypper install hadoop-hbase-master
/etc/init.d/hadoop-hbase-master start

您可能还喜欢...