简体   繁体   中英

How to Mount Secure HDFS?

To let the standard file system user or a program see the HDFS name space as a locally mounted directory, CDH4 ie has a hadoop-hdfs-fuse component.

It is working with NON secure HDFS, but on a Kerberos secured HDFS, how to do it there?

Thks.

Kerberos authentication support for fuse_dfs executable (shipped with Hadoop distribution) has been added since version 2.0.2 of Apache Hadoop distribution.

I have spent a lot of time on figuring out how this should be configured.I have found that In order to make Fuse-DFS pick the correct configuration files(that contain authentication type, kerberos not simple etc...), CLASSPATH must contain HADOOP_CONF_DIR before Hadoop jar directories .

When using Kerberos authentication, users must run kinit before accessing the FUSE mount point. Failing to do this will result in I/O errors when users attempt to access the mount point.

您可以使用支持Kerberos的py-hdfs-mount,并且更容易设置: https//github.com/EDS-APHP/py-hdfs-mount

hdfs保险丝模块还没有kerberos支持。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM