To enable security on HDP, you must add optional information to various configuration files.
Before you begin, set JSVC_Home in hadoop-env.sh.
For RHEL/CentOS/Oracle Linux:
export JSVC_HOME=/usr/libexec/bigtop-utils
For SLES and Ubuntu:
export JSVC_HOME=/usr/hdp/current/bigtop-utils