Converting a MapR Cluster from Root to Non-Root User
Procedure
-
Create a user with the same UID/GID across the cluster. Assign that user to the
MAPR_USER
environment variable. -
On each node:
-
After the previous step is complete on all nodes in the cluster, run the
upgrade2mapruser.sh
script on all nodes.# /opt/mapr/server/upgrade2mapruser.sh
This command may take several minutes to return. The script waits ten minutes for the process to complete across the entire cluster. If the cluster-wide operation takes longer than ten minutes, the script fails. Re-run the script on all nodes where the script failed.
WARNING: TheMAPR_UID_MISMATCH
alarm may raise during this process. The alarm will clear when this process is complete on all nodes.