Install impala1.4.1 using the RMP package

Source: Internet
Author: User
Install the Impala dependency package first
Add repo using Yum installation
sudo wget-o/etc/yum.repos.d/bigtop.repo Http://www.apache.org/dist/bigtop/bigtop-0.7.0/repos/centos5/bigtop.repo
sudo yum install bigtop-utils


The version of CDH that Hadoop uses for 5.1.2 is required for the Impala version 1.4.1
Download the RMP package from the Cloudera warehouse
impala1.4.1 Warehouse Address http://archive.cloudera.com/cdh5/redhat/5/x86_64/cdh/5.1.2/RPMS/x86_64/
Install the State-store and catalog services on the Namenode, install the Impala-server service on the Datanode, and the Impala Basic service is installed on each machine
You must use--force--nodeps when you install the Impala Base service because the RMP package checks the dependent environment
sudo rpm-ivh impala-1.4.1+cdh5.1.2+0-1.cdh5.1.2.p0.3.el5.x86_64.rpm--force--nodeps
Copy or soft-link core-site.xml,hdfs-site.xml,hbase-stie.xml to Impala's conf directory after each node is loaded with the corresponding service
sudo ln-s $HADOOP _conf_dir/core-site.xml/etc/impala/conf/core-site.xml
sudo ln-s $HADOOP _conf_dir/hdfs-site.xml/etc/impala/conf/hdfs-site.xml
sudo ln-s $HBASE _conf_dir/hbase-site.xml/etc/impala/conf/hbase-site.xml
Because Impala needs to use hive's metadata, it's namenode to copy Hive-site.xml.


Because Hadoop and other components are installed with a tar package, and Impala is installed with the RPM package, the jar link created by Impala is not valid, so remove the invalid link manually and then re-add the required jar package

Impala default installation directory is/usr/lib/impala,jar package address is/usr/lib/impala/lib/

The

Jar package can be downloaded from here https://repository.cloudera.com/content/groups/cloudera-repos/because Impala does not loop to add a directory when it starts loading the jar/usr/lib /impala/lib/all the files under the file, but in the boot file to write dead jar package name, so add jar package when you want to rename, or do a soft link
Impala also needs HADOOP's libhadoop.so and libhdfs.so, which write so files can be from $hadoop_home/src/hadoop-hdfs-project/hadoop-hdfs/src/build/ target/usr/local/lib/and $hadoop_home/lib/native/both directories get to


last start Services
sudo service Impala-state-store Start
sudo service impala-catalog start
Datenode start sudo service impala-server start

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.