没有安装hadoop的cloudera发行版

时间:2014-03-21 09:50:49

标签: unix hadoop cloudera-cdh

我按照cloudera安装手册中给出的手册安装cdh4但是无法使用apt-get安装jobtacker,tasktracker。有人可以帮助我。

hduser@Dell:~$ sudo apt-get install hadoop-0.20-mapreduce-jobtracker
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package hadoop-0.20-mapreduce-jobtracker
E: Couldn't find any package by regex 'hadoop-0.20-mapreduce-jobtracker'

1 个答案:

答案 0 :(得分:1)

您需要将Cloudera存储库地址添加到Linux中。

对于Debian:

  

deb http://archive.cloudera.com/cdh4/ - cdh4 contrib
  deb-src http://archive.cloudera.com/cdh4/ - cdh4 contrib

对于Ubuntu:

  

deb [arch = amd64] http://archive.cloudera.com/cdh4/ - cdh4 contrib
  deb-src http://archive.cloudera.com/cdh4/ - cdh4 contrib

当然,取决于您计划使用的Cloudera版本。