You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Santhosh G Nayak (JIRA)" <ji...@apache.org> on 2017/04/26 11:29:04 UTC

[jira] [Comment Edited] (HADOOP-14351) Azure: RemoteWasbAuthorizerImpl and RemoteSASKeyGeneratorImpl use Kerberos interactive user cache

    [ https://issues.apache.org/jira/browse/HADOOP-14351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15984612#comment-15984612 ] 

Santhosh G Nayak edited comment on HADOOP-14351 at 4/26/17 11:28 AM:
---------------------------------------------------------------------

Thanks [~liuml07] for reviewing the patch. Attached another patch containing the checkstyle fixes excluding the fix for the {{FileLength}} related warning. 
The below findbugs warning is unrelated to changes done in the patch which was introduced in [Commit #2217e2f8ff418b88eac6ad36cafe3a9795a11f40|https://github.com/apache/hadoop/commit/2217e2f8ff418b88eac6ad36cafe3a9795a11f40]  of HADOOP-10809 
{quote}
Useless object stored in variable keysToUpdateAsFolder of method org.apache.hadoop.fs.azure.NativeAzureFileSystem.mkdirs(Path, FsPermission, boolean)
{quote}


was (Author: snayak):
Attaching a patch containing the checkstyle fixes excluding the fix for the {{FileLength}} related warning. 
The below findbugs warning is unrelated to changes done in the patch which was introduced in [Commit #2217e2f8ff418b88eac6ad36cafe3a9795a11f40|https://github.com/apache/hadoop/commit/2217e2f8ff418b88eac6ad36cafe3a9795a11f40]  of HADOOP-10809 
{quote}
Useless object stored in variable keysToUpdateAsFolder of method org.apache.hadoop.fs.azure.NativeAzureFileSystem.mkdirs(Path, FsPermission, boolean)
{quote}

> Azure: RemoteWasbAuthorizerImpl and RemoteSASKeyGeneratorImpl use Kerberos interactive user cache
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-14351
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14351
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs/azure
>    Affects Versions: 2.9.0
>            Reporter: Santhosh G Nayak
>            Assignee: Santhosh G Nayak
>         Attachments: HADOOP-14351.1.patch, HADOOP-14351.2.patch
>
>
> Currently, {{RemoteWasbAuthorizerImpl.getRelativeBlobSASUri()}},  {{RemoteWasbAuthorizerImpl.getContainerSASUri()}} and {{RemoteSASKeyGeneratorImpl.authorize()}} use Kerberos interactive user's ticket cache if the kerberos credential is not available for {{UserGroupInformation.getCurrentUser()}} or {{UserGroupInformation.getRealUser()}}.
> It results in usage of interactive user's ticket for impersonation, whenever services try to do File System operations as another user, which is incorrect.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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