1. Download Ambari-impala-service
sudo git clone https://github.com/cas-bigdatalab/ambari-impala-service.git/var/lib/ambari-server/resources/stacks /hdp/2.4/services/impala
2./ETC/YUM.REPOS.D New Impala.repo
[Cloudera-cdh5]
# Packages for Cloudera's distribution for Hadoop, Version 5, on RedHat or CentOS 7 x86_64
Name=cloudera ' s distribution for Hadoop, Version 5
baseurl=https://archive.cloudera.com/cdh5/redhat/7/x86_64/cdh/5/
Gpgkey =https://archive.cloudera.com/cdh5/redhat/7/x86_64/cdh/rpm-gpg-key-cloudera
Gpgcheck = 1
3.web page
Actions-->add service-->impala, then step by step installation
4./etc/default/bigtop-utils modifying Java_home
5. configuration file/etc/hadoop/conf/core-site.xml Add content
<property>
<name>dfs.client.read.shortcircuit</name>
<value>true</value>
</property>
<property>
<name>dfs.client.read.shortcircuit.skip.checksum</name>
<value>false</value>
</property>
<property>
<name>dfs.datanode.hdfs-blocks-metadata.enabled</name>
<value>true</value>
</property>
/etc/hadoop/conf/hdfs-site.xml
<property>
<name>dfs.datanode.hdfs-blocks-metadata.enabled</name>
<value>true</value>
</property>
<property>
<name>dfs.block.local-path-access.user</name>
<value>impala</value>
</property>
<property>
<name>dfs.client.file-block-storage-locations.timeout.millis</name>
<value>60000</value>
</property>
6. Copy the configuration file to/etc/impala/conf
7. Page Setup Launch Impala