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 "Kan Zhang (JIRA)" <ji...@apache.org> on 2009/11/10 02:01:36 UTC

[jira] Created: (HADOOP-6367) Move Access Token implementation from Common to HDFS

Move Access Token implementation from Common to HDFS
----------------------------------------------------

                 Key: HADOOP-6367
                 URL: https://issues.apache.org/jira/browse/HADOOP-6367
             Project: Hadoop Common
          Issue Type: Improvement
            Reporter: Kan Zhang
            Assignee: Kan Zhang


Access Token is HDFS specific and should be part of HDFS code base. Also, rename AccessToken to BlockAccessToken (and AccessKey to BlockAccessKey) to be more precise.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6367) Move Access Token implementation from Common to HDFS

Posted by "Kan Zhang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kan Zhang updated HADOOP-6367:
------------------------------

    Attachment: c6367-03.patch

Attaching the same patch again. The first one didn't grant the license when attaching.

> Move Access Token implementation from Common to HDFS
> ----------------------------------------------------
>
>                 Key: HADOOP-6367
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6367
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>             Fix For: 0.21.0
>
>         Attachments: c6367-03.patch, c6367-03.patch
>
>
> Access Token is HDFS specific and should be part of HDFS code base. Also, rename AccessToken to BlockAccessToken (and AccessKey to BlockAccessKey) to be more precise.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6367) Move Access Token implementation from Common to HDFS

Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jitendra Nath Pandey updated HADOOP-6367:
-----------------------------------------

    Attachment: HADOOP-6367_HDFS-764-0_20.1.patch

Patch for hadoop 20 is added. This is a combined patch for HADOOP-6367 and HDFS-764. A combined patch or hadoop 20 is required otherwise build will fail. 

> Move Access Token implementation from Common to HDFS
> ----------------------------------------------------
>
>                 Key: HADOOP-6367
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6367
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>             Fix For: 0.21.0
>
>         Attachments: c6367-03.patch, c6367-03.patch, HADOOP-6367_HDFS-764-0_20.1.patch
>
>
> Access Token is HDFS specific and should be part of HDFS code base. Also, rename AccessToken to BlockAccessToken (and AccessKey to BlockAccessKey) to be more precise.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6367) Move Access Token implementation from Common to HDFS

Posted by "Kan Zhang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kan Zhang updated HADOOP-6367:
------------------------------

      Component/s: security
    Fix Version/s: 0.21.0
     Hadoop Flags: [Incompatible change]

> Move Access Token implementation from Common to HDFS
> ----------------------------------------------------
>
>                 Key: HADOOP-6367
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6367
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>             Fix For: 0.21.0
>
>         Attachments: c6367-03.patch
>
>
> Access Token is HDFS specific and should be part of HDFS code base. Also, rename AccessToken to BlockAccessToken (and AccessKey to BlockAccessKey) to be more precise.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6367) Move Access Token implementation from Common to HDFS

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776673#action_12776673 ] 

Hadoop QA commented on HADOOP-6367:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12424647/c6367-03.patch
  against trunk revision 833553.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 6 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/133/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/133/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/133/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/133/console

This message is automatically generated.

> Move Access Token implementation from Common to HDFS
> ----------------------------------------------------
>
>                 Key: HADOOP-6367
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6367
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>             Fix For: 0.21.0
>
>         Attachments: c6367-03.patch
>
>
> Access Token is HDFS specific and should be part of HDFS code base. Also, rename AccessToken to BlockAccessToken (and AccessKey to BlockAccessKey) to be more precise.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6367) Move Access Token implementation from Common to HDFS

Posted by "Kan Zhang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kan Zhang updated HADOOP-6367:
------------------------------

    Status: Patch Available  (was: Open)

> Move Access Token implementation from Common to HDFS
> ----------------------------------------------------
>
>                 Key: HADOOP-6367
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6367
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: c6367-03.patch
>
>
> Access Token is HDFS specific and should be part of HDFS code base. Also, rename AccessToken to BlockAccessToken (and AccessKey to BlockAccessKey) to be more precise.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6367) Move Access Token implementation from Common to HDFS

Posted by "Kan Zhang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kan Zhang updated HADOOP-6367:
------------------------------

    Attachment: c6367-03.patch

attaching a patch for the changes in common (7 files removed). No new test is added since there is no functional change (only moving code around and renaming).

> Move Access Token implementation from Common to HDFS
> ----------------------------------------------------
>
>                 Key: HADOOP-6367
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6367
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: c6367-03.patch
>
>
> Access Token is HDFS specific and should be part of HDFS code base. Also, rename AccessToken to BlockAccessToken (and AccessKey to BlockAccessKey) to be more precise.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6367) Move Access Token implementation from Common to HDFS

Posted by "Allen Wittenauer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12775236#action_12775236 ] 

Allen Wittenauer commented on HADOOP-6367:
------------------------------------------

Really?  Does this mean there is no security if I run the JobTracker and TaskTracker on a non-HDFS based file system?

> Move Access Token implementation from Common to HDFS
> ----------------------------------------------------
>
>                 Key: HADOOP-6367
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6367
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>
> Access Token is HDFS specific and should be part of HDFS code base. Also, rename AccessToken to BlockAccessToken (and AccessKey to BlockAccessKey) to be more precise.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6367) Move Access Token implementation from Common to HDFS

Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777141#action_12777141 ] 

Jitendra Nath Pandey commented on HADOOP-6367:
----------------------------------------------

+1 for the patch.

> Move Access Token implementation from Common to HDFS
> ----------------------------------------------------
>
>                 Key: HADOOP-6367
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6367
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>             Fix For: 0.21.0
>
>         Attachments: c6367-03.patch
>
>
> Access Token is HDFS specific and should be part of HDFS code base. Also, rename AccessToken to BlockAccessToken (and AccessKey to BlockAccessKey) to be more precise.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6367) Move Access Token implementation from Common to HDFS

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12781423#action_12781423 ] 

Hudson commented on HADOOP-6367:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #91 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk-Commit/91/])
    . Removes Access Token implementation from common. Contributed by Kan Zhang.


> Move Access Token implementation from Common to HDFS
> ----------------------------------------------------
>
>                 Key: HADOOP-6367
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6367
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>             Fix For: 0.21.0
>
>         Attachments: c6367-03.patch, c6367-03.patch
>
>
> Access Token is HDFS specific and should be part of HDFS code base. Also, rename AccessToken to BlockAccessToken (and AccessKey to BlockAccessKey) to be more precise.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6367) Move Access Token implementation from Common to HDFS

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12779409#action_12779409 ] 

Hudson commented on HADOOP-6367:
--------------------------------

Integrated in Hadoop-Common-trunk #162 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk/162/])
    . Removes Access Token implementation from common. Contributed by Kan Zhang.


> Move Access Token implementation from Common to HDFS
> ----------------------------------------------------
>
>                 Key: HADOOP-6367
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6367
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>             Fix For: 0.21.0
>
>         Attachments: c6367-03.patch, c6367-03.patch
>
>
> Access Token is HDFS specific and should be part of HDFS code base. Also, rename AccessToken to BlockAccessToken (and AccessKey to BlockAccessKey) to be more precise.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6367) Move Access Token implementation from Common to HDFS

Posted by "Kan Zhang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12775972#action_12775972 ] 

Kan Zhang commented on HADOOP-6367:
-----------------------------------

> Does this mean there is no security if I run the JobTracker and TaskTracker on a non-HDFS based file system?
That depends on whether that non-HDFS based file system enforces any access control. It's unrelated to how HDFS does its access control. Access Token is a feature of HDFS and currently I don't see how other file systems could make use of it.

> Move Access Token implementation from Common to HDFS
> ----------------------------------------------------
>
>                 Key: HADOOP-6367
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6367
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>
> Access Token is HDFS specific and should be part of HDFS code base. Also, rename AccessToken to BlockAccessToken (and AccessKey to BlockAccessKey) to be more precise.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6367) Move Access Token implementation from Common to HDFS

Posted by "Devaraj Das (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Devaraj Das updated HADOOP-6367:
--------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this. Thanks, Kan!

> Move Access Token implementation from Common to HDFS
> ----------------------------------------------------
>
>                 Key: HADOOP-6367
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6367
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>             Fix For: 0.21.0
>
>         Attachments: c6367-03.patch, c6367-03.patch
>
>
> Access Token is HDFS specific and should be part of HDFS code base. Also, rename AccessToken to BlockAccessToken (and AccessKey to BlockAccessKey) to be more precise.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.