Step 11: Set Variables for Secure DataNodes
In order to allow DataNodes to start on a secure Hadoop cluster, you must set the following variables on all DataNodes in /etc/default/hadoop-hdfs-datanode.
export HADOOP_SECURE_DN_USER=hdfs export HADOOP_SECURE_DN_PID_DIR=/var/lib/hadoop-hdfs export HADOOP_SECURE_DN_LOG_DIR=/var/log/hadoop-hdfs export JSVC_HOME=/usr/lib/bigtop-utils/
Note:
Depending on the version of Linux you are using, you may not have the /usr/lib/bigtop-utils directory on your system. If that is the case, set the
JSVC_HOME variable to the /usr/libexec/bigtop-utils directory by using this command:
export JSVC_HOME=/usr/libexec/bigtop-utils
Page generated July 8, 2016.
<< Optional Step 10: Configuring a secure HDFS NFS Gateway | ©2016 Cloudera, Inc. All rights reserved | Step 12: Start up the NameNode >> |
Terms and Conditions Privacy Policy |