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




























2 comments:


  1. Printing custom designs has never been easier with Zizo DTF Transfers, which offers high-quality and durable options for all your apparel needs. If you're looking for reliable transfer solutions, you can visit Zizo DTF Transfers for a wide selection of vibrant and long-lasting transfers. Whether for personal projects or business orders, their products ensure your designs stand out. For excellent service and top-tier products, check out Zizo DTF Transfers.

    ReplyDelete

  Opatch reports 'Cyclic Dependency Detected' error when patching ODI   Issue: When applying a Patch Set Update (PSU) to WebLogic Se...