hadoop - Add new group to hdfs -


so there hdfs:hdfs user/group exists hadoop cluster there other users assigned hdfs gives write , read access file system how create new group , add existing users group write , read access file system ?

hdfs not maintain separate user/group in file system, instead uses user/group in underlying os unix. if create unix user/groups can used in hdfs also.

no need create user/group in nodes in cluster, need create user/groups in node through access hdfs filesystem.

once user/groups created in unix. use following command change owner:group name of file/directory

hadoop fs -chown <user>:<newgrouop> <path>    

above command should executed hdfs user


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -