linux - Regarding hadoop users and their respective permissions -


consider scenario:

have namenode user nn-user-01, implies nn-user-01 must having passwordless ssh datanodes present in cluster communication between namenode , datanodes can handled smoothly, right?

consider case when require submit job different user namenode nn-user-02, need setup passwordless ssh between nn-user-02 , datanodes?

there ways handle situation?

no! user nn-user-02 needs have access new directory in /user directory on hdfs eg.: /user/nn-user-02. record, not mandatory user on node have passwordless ssh nodes.below reason that:

the namenode doesn't communicate datanodes @ all. datanodes communicate namenode. so, default not need user have passwordless ssh datanodes. said, have passwordless ssh 1 node (any 'one' user) other nodes easier distribution of configuration files (when changed in tarball/package installation of hadoop cluster) nodes seamlessly without hassle of entering password everytime.


Comments