What are the considerations for hadoop3.x installation
This article introduces the relevant knowledge of "what are the matters needing attention in hadoop3.x installation". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
You need to configure the following hadoop_conf_dir in the environment variable
Export HADOOP_HOME=/opt/software/hadoop-3.2.1-bak
Export PATH=$PATH:$HADOOP_HOME/bin
Export HADOOP_CONF_DIR=$HADOOP_HOME/etc/hadoop
HADOOP_CONF_DIR is mainly HADOOP_CONF_DIR, otherwise all scripts will be reported to command not found.
Add in hadoop-env.sh
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"
If you do not add it, it will cause all startup commands to fail.
When using hadoop, the script command is not to do this, sh hdfs, but. / hdfs
This is the end of the content of "what are the considerations for hadoop3.x installation". Thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!