如何创建用户访问mapR集群并被MCS识别?
How to create users to access mapR cluster and be recognized by MCS?
如何通过 mapr control system (MCS)
网络 ui 创建可以 'seen' 的用户?
目前在 6 个 CentOS 7
节点上安装了 mapr 运行,并且其中一个节点(例如 node02)充当用户登录的边缘节点(使用 gnome 桌面环境和 xrdp
).在 node02 上使用 system-config-users
时,可以创建用户和组,但是当尝试在 MCS 中为这些 users/groups 分配属性时(例如设置权限或分配卷),MCS 给出错误 'this user or group does not exist'.
可能误解了信息,但 this post from the mapr community forms as well as the official documentation 似乎暗示 mapr 集群中使用的任何节点上的用户都应该能够在 MCS 中进行配置:
'MapR 使用每个节点的本机操作系统配置来验证用户和组以访问集群'。
然而,正如上一段所述,情况似乎并非如此。
不熟悉使用 mapr 以及对正在发生的事情以及如何纠正它的任何解释。
似乎集群的用户和组在集群中的每个 节点上必须具有相同的名称、UID 和GID。你不能把它们放在一个上。需要使用如下命令:
clush -a 'groupadd -g 677 mygroup'
clush -a useradd -g 677 -u 6771 myuser_0001
clush -a ‘echo "myuser0001:mypassword123" | chpasswd'
mkdir $MAPR_HOME/directory/user/myuser0001
chown myuser0001 $MAPR_HOME/user/myuser0001
可以在docs中找到确凿的信息:
Any user of the cluster must be established with the same Linux UID and GID on every node in the cluster.
如何通过 mapr control system (MCS)
网络 ui 创建可以 'seen' 的用户?
目前在 6 个 CentOS 7
节点上安装了 mapr 运行,并且其中一个节点(例如 node02)充当用户登录的边缘节点(使用 gnome 桌面环境和 xrdp
).在 node02 上使用 system-config-users
时,可以创建用户和组,但是当尝试在 MCS 中为这些 users/groups 分配属性时(例如设置权限或分配卷),MCS 给出错误 'this user or group does not exist'.
可能误解了信息,但 this post from the mapr community forms as well as the official documentation 似乎暗示 mapr 集群中使用的任何节点上的用户都应该能够在 MCS 中进行配置:
'MapR 使用每个节点的本机操作系统配置来验证用户和组以访问集群'。
然而,正如上一段所述,情况似乎并非如此。
不熟悉使用 mapr 以及对正在发生的事情以及如何纠正它的任何解释。
似乎集群的用户和组在集群中的每个 节点上必须具有相同的名称、UID 和GID。你不能把它们放在一个上。需要使用如下命令:
clush -a 'groupadd -g 677 mygroup'
clush -a useradd -g 677 -u 6771 myuser_0001
clush -a ‘echo "myuser0001:mypassword123" | chpasswd'
mkdir $MAPR_HOME/directory/user/myuser0001
chown myuser0001 $MAPR_HOME/user/myuser0001
可以在docs中找到确凿的信息:
Any user of the cluster must be established with the same Linux UID and GID on every node in the cluster.