[
https://issues.apache.org/jira/browse/HADOOP-15969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16708728#comment-16708728
]
Steve Loughran commented on HADOOP-15969:
-----------------------------------------
checkstyle feedback needs addressing; nothing major
{code}
./hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystemStore.java:91:import
static
org.apache.hadoop.fs.azurebfs.constants.AbfsHttpConstants.FORWARD_SLASH;:15:
Unused import -
org.apache.hadoop.fs.azurebfs.constants.AbfsHttpConstants.FORWARD_SLASH.
[UnusedImports]
./hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestGetNameSpaceEnabled.java:38:public
class ITestGetNameSpaceEnabled extends AbstractAbfsIntegrationTest {: Missing
a Javadoc comment. [JavadocType]
./hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestGetNameSpaceEnabled.java:83:
secret = (char)(secret.charAt(0) + 1) + secret.substring(1);:20: 'typecast'
is not followed by whitespace. [WhitespaceAfter]
{code}
> ABFS: getNamespaceEnabled can fail blocking user access thru ACLs
> -----------------------------------------------------------------
>
> Key: HADOOP-15969
> URL: https://issues.apache.org/jira/browse/HADOOP-15969
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/azure
> Affects Versions: 3.2.0
> Reporter: Da Zhou
> Assignee: Da Zhou
> Priority: Major
> Attachments: HADOOP-15969-001.patch, HADOOP-15969-002.patch
>
>
> The Get Filesystem Properties operation requires Read permission to the
> Filesystem. Read permission to the Filesystem can only be granted thru RBAC,
> Shared Key, or SAS. This prevents giving low privilege users access to
> specific files or directories within the filesystem. An administrator should
> be able to set an ACL on a file granting read permission to a user, without
> giving them read permission to the entire Filesystem.
> Fortunately there is another way to determine if HNS is enabled. The Get
> Path Access Control (getAclStatus) operation only requires traversal access,
> and for the root folder / all authenticated users have traversal access.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]