hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yiqun Lin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12895) RBF: Add ACL support for mount table
Date Wed, 13 Dec 2017 08:29:00 GMT

    [ https://issues.apache.org/jira/browse/HDFS-12895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16288873#comment-16288873

Yiqun Lin commented on HDFS-12895:

Thanks for the reviews, [~elgoiri] and [~huanbang1993], all the comments make sense to me
except following one:

RouterAdmin#printUsage should open/close the brackets.
The change of usage should be okay, this printed in my local
Federation Admin Tools:
	[-add <source> <nameservice> <destination> [-readonly] -owner <owner>
-group <group> -mode <mode>]
	[-rm <source>]
	[-ls <path>]
Attach the updated patch.

> RBF: Add ACL support for mount table
> ------------------------------------
>                 Key: HDFS-12895
>                 URL: https://issues.apache.org/jira/browse/HDFS-12895
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 3.0.0-alpha3
>            Reporter: Yiqun Lin
>            Assignee: Yiqun Lin
>              Labels: RBF
>         Attachments: HDFS-12895.001.patch, HDFS-12895.002.patch, HDFS-12895.003.patch
> Adding ACL support for the Mount Table management. Following is the initial design of
ACL control for the mount table management.
> Each mount table has its owner, group name and permission.
> The mount table permissions (FsPermission), here we use {{org.apache.hadoop.fs.permission.FsPermission}}
to do the access check:
> # READ permission: you can read the mount table info.
> # WRITE permission: you can add remove or update this mount table info.
> # EXECUTE permission: This won't be used.
> The add command of mount table will be extended like this
> {noformat}
> $HADOOP_HOME/bin/hdfs dfsrouteradmin [-add <source> <nameservice> <destination>
[-owner <owner>] [-group <group>] [-mode <mode>]]
> {noformat}
> *<mode> is UNIX-style permissions for the mount table. Permissions are specified
in octal, e.g. 0755. By default, this is set to 0755*.
> If we want update the ACL info of specfied mount table, just execute add command again.
This command not only adding for new mount talle but also updating mount table once it finds
given mount table is existed. 

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message