Member since
10-20-2016
2
Posts
1
Kudos Received
0
Solutions
11-19-2018
01:28 AM
The script seems wrong. With this configuration, the lines for "hiveserver2" will never be valid. The settings in the previous lines "export HADOOP_CLIENT_OPTS=" will overwirte them all with the "$HADOOP_CLIENT_OPTS" at the end. The name of ErrorFile will become "hive-metastore-error.log-`date +'%Y%m%d%H%M'" for example. The script should be: if [ "$SERVICE" = "metastore" ]; then .... elif [ "$SERVICE" = "hiveserver2" ]; then .... fi
... View more
10-20-2016
07:53 AM
1 Kudo
For the cluster without Internet connection,
1) download the package on the other host (internet reachable).
http://mirror.centos.org/centos/6/os/x86_64/Packages/python-argparse-1.2.1-2.1.el6.noarch.rpm
2) copy and install it to all the nodes in the cluster.
... View more