INSTALLATION DOCUMENTS BY RAVI

Thursday, April 26, 2018

ERROR: Attempting to operate on hdfs datanode as root

Getting error when we tried to start hadoop as a root user












To resolve this navigate to /usr/hdf/3.1.1.0-35/hadoop/etc/hadoop
open hadoop-env.sh file
Add the below lines
export HDFS_NAMENODE_USER="root"
export HDFS_DATANODE_USER="root"
export HDFS_SECONDARYNAMENODE_USER="root"
export YARN_RESOURCEMANAGER_USER="root"
export YARN_NODEMANAGER_USER="root"





















Start hadoop now




























No comments:

Post a Comment

SQL query to find whether OdiSendMail is configured or not ODI 12c

In the SQL developer connect to the ODI work repository user (Ex: DEV_ODI_REPO) and run the below query. select SCEN_NAME,TASK_NAME3,DE...