我正在尝试按照以下教程在AWS上安装apache-spot和Cloudera:
http://blog.cloudera.com/blog/2018/02/apache-spot-incubating-and-cloudera-on-aws-in-60-minutes/
但是当我跑步时:
sudo apt-get install cloudera-director-client
Ubuntu终端给我:
E: unable to locate package cloudera-director-client
我已经运行此代码来修复:
$ wget http://archive.cloudera.com/director/ubuntu/precise/amd64/director/cloudera-director.list
$ wget http://archive.cloudera.com/director/ubuntu/precise/amd64/director/archive.key
$ sudo apt-key add archive.key
$ sudo mv cloudera-director.list /etc/apt/sources.list.d
$ sudo apt-get update
有人可以帮助我吗?谢谢
答案 0 :(得分:1)
您安装的cloudera-director.list文件可能很旧。您列出的URL中的一个适用于Ubuntu 12.04(Precise Pangolin)。确保选择与您的操作系统版本匹配的版本。
Cloudera Altus Director 2.x可在http://archive.cloudera.com/director/ubuntu/trusty/amd64/director/上用于Ubuntu 14.04(Trusty Tahr)
Cloudera Altus Director 6.0.0在http://archive.cloudera.com/director6/6.0.0/ubuntu1604/或http://archive.cloudera.com/director6/6.0.0/ubuntu1404/上可用于Ubuntu 16.04和14.04
请尝试使用新的cloudera-director.list和archive.key再次安装