无法在Ubuntu 10.04 VM上安装Cloudera CDH4

时间:2014-12-01 10:29:24

标签: hadoop cloudera cloudera-cdh

我想在我的Windows 8机器上使用Ubuntu10.04通过VMware配置Hadoop。我正在尝试在VM上安装Cloudera CDH4,但我收到以下错误:

W: Failed to fetch http://archive.cloudera.com/cdh4/ubuntu/precise/amd64/cdh/dists/precise-cdh4/Release  Unable to find expected entry  contrib/binary-i386/Packages in Meta-index file (malformed Release file?)

我已按照以下步骤操作:

sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jdk

export JAVA_HOME=/usr/lib/jvm/java-6-sun/
export CLASS_PATH=$JAVA_HOME/lib
PATH=$PATH:$JAVA_HOME/bin

#Hadoop Installation steps :
/usr/bin/wget http://archive-primary.cloudera.com/cdh4/one-click-install/precise/amd64/cdh4-repository_1.0_all.deb


Can you please help me on this?

1 个答案:

答案 0 :(得分:0)

问题是您在基于清晰(10.04)的系统上使用精确(12.04)存储库。

使用此链接代替为基于lucid的VM安装cdh存储库:

wget http://archive.cloudera.com/cdh4/one-click-install/lucid/amd64/cdh4-repository_1.0_all.deb

注意:确保在安装新cdh存储库之前删除现有的cdh存储库。