• Welcome to the world's largest Chinese hacker forum

    Welcome to the world's largest Chinese hacker forum, our forum registration is open! You can now register for technical communication with us, this is a free and open to the world of the BBS, we founded the purpose for the study of network security, please don't release business of black/grey, or on the BBS posts, to seek help hacker if violations, we will permanently frozen your IP and account, thank you for your cooperation. Hacker attack and defense cracking or network Security

    business please click here: Creation Security  From CNHACKTEAM

Recommended Posts

创建Hadoop系统用户

为大数据开启Kerberos,

需为不同服务准备不同的用户。

启动服务时需要使用相应的用户。

须在所有节点创建以下用户和用户组。

用户划分:

用户:组守护程序

hdfs: hadoop NameNode,辅助NameNode,JournalNode,DataNode

yarn: hadoop资源管理器、节点管理器

mapred:hadoop MapReduce作业历史服务器

创建:

#创建大数据组

groupadd hadoop

#创建各用户并设置密码

useradd hdfs -g hadoop

echo hdfs | passwd - stdin hdfs

useradd yarn -g hadoop

回声纱线|密码-标准输入纱线

useradd mapred -g hadoop

echo mapred | passwd - stdin mapred

Link to comment
Share on other sites