- Hive Contains: yum install hive-hcatalog hadoop hadoop-hdfs hadoop-libhdfs hadoop-yarn
hadoop-mapreduce hadoop-client openssl packages.If node is part of cluster where Hadoop and HDFS are installed. you need only install the hive-hcatalog package.
yum install hive-hcatalog
Jar files are available @ /usr/hdp/current/hive-server2/lib/mysql-connector-java.jar
Before HDP Versions 2.2.0, the DB drivers are available at /usr/lib/
/etc/keepalived.conf
service keepadlived start/stop
HAPROXY
HAPROXY is installed to divide the incoming traffic in
round robin fashion for the hive connections between the two edge nodes.
haproxy is installed on both the edge nodes. The node on which the VIP is
active, that haproxy is used actively. it receives the connection on port 10001
and directs the traffic to port 10000 on both the backend servers which are the
edge nodes in this case.
installed on /etc/haproxy
service haproxy start/stop
the
haproxy is dependent on the xinetd process, so that should be in running state.
service xinted start/stop
xinetd process executes the
custom process /opt/hiveCheck.sh on the backend