**结束。**此问题不符合堆栈溢出准则。它目前不接受答案。
**想改进这个问题吗?**更新问题,使其成为堆栈溢出的主题。
两年前关门了。
改进这个问题
我想在一个ubuntu示例上安装impala。到目前为止,没有一种方法不起作用。
如何在ubuntu中安装impala的稳定版本?
失败的方法1:apt get
首先,我尝试使用
sudo apt-get update
sudo apt-get install impala
sudo apt-get install impala-server
sudo apt-get install impala-state-store
但是,impala存储库的公钥存在问题:
Err:8 https://archive.cloudera.com/impala/ubuntu/lucid/amd64/impala bionic Release
404 Not Found [IP: 151.101.192.167 443]
Err:4 http://archive.cloudera.com/impala/ubuntu/lucid/amd64/impala lucid-impala1 InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 327574EE02A818DD
Reading package lists... Done
E: The repository 'https://archive.cloudera.com/impala/ubuntu/lucid/amd64/impala bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by defau
lt.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://archive.cloudera.com/impala/ubuntu/lucid/amd64/impala lucid-impala1 InRelease: The following signatures couldn't be verified because the public key is not available:
NO_PUBKEY 327574EE02A818DD
E: The repository 'http://archive.cloudera.com/impala/ubuntu/lucid/amd64/impala lucid-impala1
InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
失败的方法2:构建
是的 git clone https://git-wip-us.apache.org/repos/asf/impala.git
,然后跑了 bin/bootstrap_build.sh
.
但是,文件bootstrap\u build.sh在最后一行引用了一个不存在的shell脚本 ./buildall.sh -notests -so
.
更新1:当我跑步时 sudo dpkg --install impala_2.11.0+cdh5.14.4+0-1.cdh5.14.4.p0.4~xenial-cdh5.14.4_amd64.deb
我发现以下错误:
dpkg: dependency problems prevent configuration of impala:
impala depends on bigtop-utils (>= 0.7); however:
Package bigtop-utils is not installed.
impala depends on hadoop; however:
Package hadoop is not installed.
impala depends on hadoop-hdfs; however:
Package hadoop-hdfs is not installed.
impala depends on hadoop-yarn; however:
Package hadoop-yarn is not installed.
impala depends on hadoop-mapreduce; however:
Package hadoop-mapreduce is not installed.
impala depends on hbase; however:
Package hbase is not installed.
impala depends on hive (>= 0.12.0+cdh5.1.0); however:
Package hive is not installed.
impala depends on zookeeper; however:
Package zookeeper is not installed.
impala depends on libhdfs0; however:
Package libhdfs0 is not installed.
impala depends on avro-libs; however:
Package avro-libs is not installed.
impala depends on parquet; however:
Package parquet is not installed.
impala depends on sentry (>= 1.3.0+cdh5.1.0); however:
Package sentry is not installed.
dpkg: error processing package impala (--install):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Errors were encountered while processing:
impala
更新2:根据本教程安装hadoop并没有解决hadoop依赖性问题。
2条答案
按热度按时间daolsyd01#
如果您获取与某个版本捆绑在一起的软件包,那么安装impala就更容易了,因为这些软件包与一组软件版本绑定在一起。选择一个cdh版本(例如cdh5.14.4),然后安装相应的软件包。所以看看:
http://archive.cloudera.com/cdh5/ubuntu/xenial/amd64/cdh/pool/contrib/i/impala/
你可以
wget
包,然后运行dpkg install
要安装它们:要在ubuntu16上设置 Impala ,请执行以下操作:
然后执行原始说明:
参考文献
在ubuntu或debian系统上安装最新的CDH5版本
安装最新的cdh5版本-步骤2:可选地添加存储库密钥
bkhjykvo2#
我会建议使用github回购,但稳定的分支,即2.x
虽然从dpkg安装不会安装所有依赖项,但您有两个选项:
从错误中安装所有依赖项
我已经使用下面的脚本/herdoc生成了一个命令。它可以通过更改heredoc中的错误消息与其他错误一起使用。
使用
apt-get install ./impala_2.11.0+cdh5.14.4+0-1.cdh5.14.4.p0.4~xenial-cdh5.14.4_amd64.deb
这是最简单的方法,因为一切都处理好了。这将导致如下结果: