如何在Ubuntu上安装Impala?
我想在Ubuntu实例上安装。到目前为止,下面的方法没有一个不起作用 如何在Ubuntu中安装稳定版本的Impala 第1条失败的方法:apt get 首先,我尝试使用如何在Ubuntu上安装Impala?,ubuntu,ubuntu-16.04,impala,Ubuntu,Ubuntu 16.04,Impala,我想在Ubuntu实例上安装。到目前为止,下面的方法没有一个不起作用 如何在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://archiv
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克隆https://git-wip-us.apache.org/repos/asf/impala.git
,然后运行bin/bootstrap\u build.sh
但是,该文件在最后一行/buildall.sh-notests-so
中引用了一个不存在的shell脚本
更新1:当我运行sudo dpkg——安装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依赖性问题。如果您获取与发行版捆绑的软件包,安装Impala会更容易,因为这些软件包与一组软件版本绑定。选择CDH版本(例如cdh5.14.4),然后安装相应的软件包。那么看看: 您可以
wget
安装这些软件包,然后运行dpkg install
安装它们:
wget http://archive.cloudera.com/cdh5/ubuntu/xenial/amd64/cdh/pool/contrib/i/impala/impala-catalog_2.11.0+cdh5.14.4+0-1.cdh5.14.4.p0.4~xenial-cdh5.14.4_amd64.deb
wget http://archive.cloudera.com/cdh5/ubuntu/xenial/amd64/cdh/pool/contrib/i/impala/impala-dbg_2.11.0+cdh5.14.4+0-1.cdh5.14.4.p0.4~xenial-cdh5.14.4_amd64.deb
wget http://archive.cloudera.com/cdh5/ubuntu/xenial/amd64/cdh/pool/contrib/i/impala/impala-server_2.11.0+cdh5.14.4+0-1.cdh5.14.4.p0.4~xenial-cdh5.14.4_amd64.deb
wget http://archive.cloudera.com/cdh5/ubuntu/xenial/amd64/cdh/pool/contrib/i/impala/impala-shell_2.11.0+cdh5.14.4+0-1.cdh5.14.4.p0.4~xenial-cdh5.14.4_amd64.deb
wget http://archive.cloudera.com/cdh5/ubuntu/xenial/amd64/cdh/pool/contrib/i/impala/impala-state-store_2.11.0+cdh5.14.4+0-1.cdh5.14.4.p0.4~xenial-cdh5.14.4_amd64.deb
wget http://archive.cloudera.com/cdh5/ubuntu/xenial/amd64/cdh/pool/contrib/i/impala/impala_2.11.0+cdh5.14.4+0-1.cdh5.14.4.p0.4~xenial-cdh5.14.4_amd64.deb
dpkg --install impal*.deb
要在Ubuntu16上设置Impala,请执行以下操作:
wget 'https://archive.cloudera.com/cdh5/ubuntu/xenial/amd64/cdh/cloudera.list'
mv cloudera.list /etc/apt/sources.list.d/cloudera.list
wget 'https://archive.cloudera.com/cdh5/ubuntu/xenial/amd64/cdh/archive.key'
apt-key add archive.key`
然后执行原始说明:
sudo apt-get update
sudo apt-get install impala
sudo apt-get install impala-server
sudo apt-get install impala-state-store
工具书类
apt获得安装。/impala_2.11.0+cdh5.14.4+0-1.cdh5.14.4.p0.4~xenial-cdh5.14.4_amd64.deb
这是一种更简单的方法,因为所有的事情都处理好了谢谢如何自动安装所有必需的依赖项(请参阅问题中的更新1)?更新了答案。您是否计划针对HBase或Hive表运行Impala?你打算在HDFS上运行它吗?我想在一个实例上运行Impala。你能通过这个命令发布你的ubuntu版本吗?lsb release-a还可以发布
sudo apt list--installed
的输出,这将有助于找到安装的确切软件包。
$ echo "sudo apt-get install " `grep "Package" << Devidas | awk '{print $2}' | tr '\r\n' ' ' ; echo ' '
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
Devidas`
sudo apt-get install bigtop-utils hadoop hadoop-hdfs hadoop-yarn hadoop-mapreduce \
hbase hive zookeeper libhdfs0 avro-libs parquet sentry