如何限制对 hdfs 中特定文件夹的访问。用户不应通过 hue、hive 或任何其他方式访问该文件夹。
最佳答案
除了 chmod
之外,您还可以使用 ACL(访问控制列表)。有了它,您可以设置文件、文件夹和用户的权限。
user::rw-
user:bruce:rwx #effective:r--
group::r-x #effective:r--
group:sales:rwx #effective:r--
mask::r--
other::r--
检查下面的链接
https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/HdfsPermissionsGuide.html
关于hadoop - 访问 hdfs 文件夹,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34603893/