- hdfs內的檔案權限管理與一般的Unix system 類似。 - 都有使用 rwx ,但是hdfs幾乎不會直接執行 程式 ,所以 x 幾乎不會用到。 - 預設上使用 目前 local system 的 username 為 讀取 hdfs file的 user。 - 所以,如果user name與 hdfs上的file設定 相同就有操作的權限。 比較特別的地方, - hdfs上的 group mapping 是由 namenode上的 group 去判定的。 "HDFS stores the user and group of a file or directory as strings; there is no conversion from user and group identity numbers as is conventional in Unix." 如果把 dfs.premissions 改成 false 將不會檢查權限。 HDFS Permissions Guide http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/HdfsPermissionsGuide.html#User_Identity
文章標籤
全站熱搜
創作者介紹
創作者 peicheng 的頭像
peicheng

FLASHC

peicheng 發表在 痞客邦 留言(0) 人氣(42)