...
Step 1: Install Apache Hadoop rpm packages using bigtop
Download bigtop repo as /etc/yum.repos.d/bigtop.repo (Bigtop repo file: https://distwww-us.apache.org/repos/dist/devbigtop/bigtop/-1.2.0-RC1/repos/centos7/)
Run 'yum install bigtop-tomcat hadoop hdfs hive hbase ranger'. bigtop-tomcat version need to be >= 6.0
Step 1: Get HAWQ/PXF/Ranger RPM package
Download rpm binary release tarball from Apache HAWQ website.
Copy it if you compile it by yourself: contrib/hawq-package/apache-hawq-rpm-%{hawq_version}-incubating.tar.gz
Step 2: Install HAWQ/PXF/Ranger runtime dependencies
Step 3: Install HAWQ/PXF Ranger with RPM package
Extract apache-hawq-rpm-2.2.0.0-incubating.tar.gz.
Go to the directory ‘hawq_rpm_packages’.
Install the rpm packages with below sequence:
rpm -ivh apache-hawq-2.2.0.0-el7.x86_64.rpm
rpm -ivh hawq-ranger-plugin-2.2.0.0-1.el7.centos.noarch.rpm
rpm -ivh apache-tomcat-7.0.62-el6.noarch.rpm
rpm -ivh pxf-service-3.2.1.0-1.el6.noarch.rpm
rpm -ivh pxf-hdfs-3.2.1.0-1.el6.noarch.rpm
rpm -ivh pxf-hive-3.2.1.0-1.el6.noarch.rpm
rpm -ivh pxf-hbase-3.2.1.0-1.el6.noarch.rpm
rpm -ivh pxf-jdbc-3.2.1.0-1.el6.noarch.rpm
rpm -ivh pxf-json-3.2.1.0-1.el6.noarch.rpm
rpm -ivh pxf-3.2.1.0-1.el6.noarch.rpm