You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Arpit Gupta (Created) (JIRA)" <ji...@apache.org> on 2011/10/07 19:18:30 UTC

[jira] [Created] (HDFS-2416) hadoop calls cat, tail, copyToLocal, distcp on a secure cluster with an webhdfs uri fail with a 401

hadoop calls cat, tail, copyToLocal, distcp on a secure cluster with an webhdfs uri fail with a 401
---------------------------------------------------------------------------------------------------

                 Key: HDFS-2416
                 URL: https://issues.apache.org/jira/browse/HDFS-2416
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 0.20.205.0
            Reporter: Arpit Gupta




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Jitendra Nath Pandey updated HDFS-2416:
---------------------------------------

    Attachment: HDFS-2416-branch-0.20-security.7.patch
    
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2416) hadoop calls cat, tail, get, copyToLocal, distcp on a secure cluster with an webhdfs uri fail with a 401

Posted by "Arpit Gupta (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arpit Gupta updated HDFS-2416:
------------------------------

    Summary: hadoop calls cat, tail, get, copyToLocal, distcp on a secure cluster with an webhdfs uri fail with a 401  (was: hadoop calls cat, tail, copyToLocal, distcp on a secure cluster with an webhdfs uri fail with a 401)
    
> hadoop calls cat, tail, get, copyToLocal, distcp on a secure cluster with an webhdfs uri fail with a 401
> --------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

Posted by "Tsz Wo (Nicholas), SZE (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13133034#comment-13133034 ] 

Tsz Wo (Nicholas), SZE commented on HDFS-2416:
----------------------------------------------

Thanks for fixing this.  Some comments on the patch:
- For the code below,
-* typo: ivalid
-* Calling toString() is unnecessary.
{code}
+      throw new InvalidToken("token (" + identifier.toString()
+          + ") is ivalid, password doesn't match");
{code}

- The JspHelper.getUGI(request, conf) is not used except for test, how about removing it?

- For DelegationTokenArgumentParam, let's have the class name TokenParam and NAME="token".  Then, it would be consistent with other parameters.

                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>         Attachments: HDFS-2416-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Jitendra Nath Pandey updated HDFS-2416:
---------------------------------------

    Fix Version/s: 0.24.0
                   0.23.0
                   0.20.205.1
           Status: Patch Available  (was: Open)
    
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

Posted by "Arpit Gupta (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arpit Gupta updated HDFS-2416:
------------------------------

    Summary: distcp with a webhdfs uri on a secure cluster fails  (was: hadoop calls cat, tail, get, copyToLocal, on a secure cluster with an webhdfs uri fail with a 401)
    
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

Posted by "Tsz Wo (Nicholas), SZE (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HDFS-2416:
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.20.206.0
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

Merged to 0.23.

Resolving this.
                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (HDFS-2416) hadoop calls cat, tail, get, copyToLocal, distcp on a secure cluster with an webhdfs uri fail with a 401

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

Jitendra Nath Pandey reassigned HDFS-2416:
------------------------------------------

    Assignee: Jitendra Nath Pandey
    
> hadoop calls cat, tail, get, copyToLocal, distcp on a secure cluster with an webhdfs uri fail with a 401
> --------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

Posted by "Tsz Wo (Nicholas), SZE (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13141842#comment-13141842 ] 

Tsz Wo (Nicholas), SZE commented on HDFS-2416:
----------------------------------------------

+1 the trunk patch looks good except that there are some tabs in WebHdfsFileSystem.renewDelegationToken(..).
                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Hudson commented on HDFS-2416:
------------------------------

Integrated in Hadoop-Mapreduce-trunk #885 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/885/])
    HDFS-2416. distcp with a webhdfs uri on a secure cluster fails.
HADOOP-7792. Common component for HDFS-2416: Add verifyToken method to AbstractDelegationTokenSecretManager.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1196434
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/ByteRangeInputStream.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/AuthFilter.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/DelegationParam.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/TokenArgumentParam.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/UserProvider.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/security/TestDelegationToken.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsUrl.java

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1196386
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/AbstractDelegationTokenSecretManager.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/token/delegation/TestDelegationToken.java

                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Jitendra Nath Pandey commented on HDFS-2416:
--------------------------------------------

{quote}
The JspHelper.getUGI(request, conf) is not used except for test, how about removing it?
{quote}
 It is used in a few jsp files.
                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Hudson commented on HDFS-2416:
------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #1256 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1256/])
    HDFS-2416. distcp with a webhdfs uri on a secure cluster fails.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1196434
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/ByteRangeInputStream.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/AuthFilter.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/DelegationParam.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/TokenArgumentParam.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/UserProvider.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/security/TestDelegationToken.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsUrl.java

                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Jitendra Nath Pandey updated HDFS-2416:
---------------------------------------

    Attachment: HDFS-2416-trunk.patch

Trunk patch uploaded. The common part of the patch is in HADOOP-7792.
                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Hudson commented on HDFS-2416:
------------------------------

Integrated in Hadoop-Mapreduce-0.23-Build #79 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/79/])
    Merged r1196434 and r1196386 from trunk for HADOOP-7792 and HDFS-2416.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1196812
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/AbstractDelegationTokenSecretManager.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/token/delegation/TestDelegationToken.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/ByteRangeInputStream.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/AuthFilter.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/DelegationParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/TokenArgumentParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/UserProvider.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/security/TestDelegationToken.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsUrl.java

                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Hudson commented on HDFS-2416:
------------------------------

Integrated in Hadoop-Hdfs-0.23-Commit #139 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/139/])
    Merged r1196434 and r1196386 from trunk for HADOOP-7792 and HDFS-2416.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1196812
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/AbstractDelegationTokenSecretManager.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/token/delegation/TestDelegationToken.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/ByteRangeInputStream.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/AuthFilter.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/DelegationParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/TokenArgumentParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/UserProvider.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/security/TestDelegationToken.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsUrl.java

                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Hudson commented on HDFS-2416:
------------------------------

Integrated in Hadoop-Common-0.23-Commit #138 (See [https://builds.apache.org/job/Hadoop-Common-0.23-Commit/138/])
    Merged r1196434 and r1196386 from trunk for HADOOP-7792 and HDFS-2416.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1196812
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/AbstractDelegationTokenSecretManager.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/token/delegation/TestDelegationToken.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/ByteRangeInputStream.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/AuthFilter.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/DelegationParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/TokenArgumentParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/UserProvider.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/security/TestDelegationToken.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsUrl.java

                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Hadoop QA commented on HDFS-2416:
---------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12501895/HDFS-2416-trunk.patch
  against trunk revision .

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

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

    -1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/1517//console

This message is automatically generated.
                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Hudson commented on HDFS-2416:
------------------------------

Integrated in Hadoop-Mapreduce-0.23-Commit #149 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/149/])
    Merged r1196434 and r1196386 from trunk for HADOOP-7792 and HDFS-2416.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1196812
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/AbstractDelegationTokenSecretManager.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/token/delegation/TestDelegationToken.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/ByteRangeInputStream.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/AuthFilter.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/DelegationParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/TokenArgumentParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/UserProvider.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/security/TestDelegationToken.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsUrl.java

                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Jitendra Nath Pandey updated HDFS-2416:
---------------------------------------

    Attachment: HDFS-2416-branch-0.20-security.patch

The problem happened because tasks connecting to the namenode fail in the absence of kerberos authentication. The fix is not to require kerberos authentication if token is present and instead authenticate the token.
 The patch fixes it by bypassing kerberos authentication in AuthFilter in hdfs if token is there and verifies the token in JspHelper. The same code path is used for token authentication in hftp also.
                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>         Attachments: HDFS-2416-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

Posted by "Tsz Wo (Nicholas), SZE (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HDFS-2416:
-----------------------------------------

    Issue Type: Sub-task  (was: Bug)
        Parent: HDFS-2316
    
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>         Attachments: HDFS-2416-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Hudson commented on HDFS-2416:
------------------------------

Integrated in Hadoop-Common-trunk-Commit #1234 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1234/])
    HDFS-2416. distcp with a webhdfs uri on a secure cluster fails.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1196434
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/ByteRangeInputStream.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/AuthFilter.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/DelegationParam.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/TokenArgumentParam.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/UserProvider.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/security/TestDelegationToken.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsUrl.java

                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Hudson commented on HDFS-2416:
------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #1254 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1254/])
    HADOOP-7792. Common component for HDFS-2416: Add verifyToken method to AbstractDelegationTokenSecretManager.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1196386
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/AbstractDelegationTokenSecretManager.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/token/delegation/TestDelegationToken.java

                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Jitendra Nath Pandey updated HDFS-2416:
---------------------------------------

    Attachment: HDFS-2416-trunk.patch

Removed the tabs.
                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

Posted by "Arun C Murthy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arun C Murthy updated HDFS-2416:
--------------------------------

    Fix Version/s:     (was: 0.23.1)
                       (was: 0.24.0)
                   0.23.0
    
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.23.0, 1.0.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Hudson commented on HDFS-2416:
------------------------------

Integrated in Hadoop-Hdfs-0.23-Commit #136 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/136/])
    svn merge -c 1196434 from trunk for HDFS-2416.

szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1196436
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/ByteRangeInputStream.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/AuthFilter.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/DelegationParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/TokenArgumentParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/UserProvider.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/security/TestDelegationToken.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsUrl.java

                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2416) hadoop calls cat, tail, get, copyToLocal, on a secure cluster with an webhdfs uri fail with a 401

Posted by "Arpit Gupta (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arpit Gupta updated HDFS-2416:
------------------------------

    Summary: hadoop calls cat, tail, get, copyToLocal, on a secure cluster with an webhdfs uri fail with a 401  (was: hadoop calls cat, tail, get, copyToLocal, distcp on a secure cluster with an webhdfs uri fail with a 401)
    
> hadoop calls cat, tail, get, copyToLocal, on a secure cluster with an webhdfs uri fail with a 401
> -------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Hudson commented on HDFS-2416:
------------------------------

Integrated in Hadoop-Mapreduce-0.23-Build #78 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/78/])
    Revert the previous commit 1196436 for HDFS-2416.
svn merge -c 1196434 from trunk for HDFS-2416.

szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1196439
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/ByteRangeInputStream.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/AuthFilter.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/DelegationParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/TokenArgumentParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/UserProvider.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/security/TestDelegationToken.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsUrl.java

szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1196436
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/ByteRangeInputStream.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/AuthFilter.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/DelegationParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/TokenArgumentParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/UserProvider.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/security/TestDelegationToken.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsUrl.java

                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) hadoop calls cat, tail, copyToLocal, distcp on a secure cluster with an webhdfs uri fail with a 401

Posted by "Arpit Gupta (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13122971#comment-13122971 ] 

Arpit Gupta commented on HDFS-2416:
-----------------------------------

Here is the output of the distcp job

org.apache.hadoop.ipc.RemoteException: Delegation Token can be issued only with kerberos or web authentication
        at org.apache.hadoop.hdfs.web.JsonUtil.toRemoteException(JsonUtil.java:111)
        at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.validateResponse(WebHdfsFileSystem.java:229)
        at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.run(WebHdfsFileSystem.java:321)
        at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.getDelegationToken(WebHdfsFileSystem.java:502)
        at org.apache.hadoop.mapreduce.security.TokenCache.obtainTokensForNamenodesInternal(TokenCache.java:118)
        at org.apache.hadoop.mapreduce.security.TokenCache.obtainTokensForNamenodes(TokenCache.java:79)
        at org.apache.hadoop.tools.DistCp.checkSrcPath(DistCp.java:632)
        at org.apache.hadoop.tools.DistCp.copy(DistCp.java:656)
        at org.apache.hadoop.tools.DistCp.run(DistCp.java:881)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
        at org.apache.hadoop.tools.DistCp.main(DistCp.java:908)



a dfs -cat returns the following...


cat: Unauthorized (error code=401)
                
> hadoop calls cat, tail, copyToLocal, distcp on a secure cluster with an webhdfs uri fail with a 401
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Hudson commented on HDFS-2416:
------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #1306 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1306/])
    HADOOP-7792. Common component for HDFS-2416: Add verifyToken method to AbstractDelegationTokenSecretManager.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1196386
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/AbstractDelegationTokenSecretManager.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/token/delegation/TestDelegationToken.java

                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Hudson commented on HDFS-2416:
------------------------------

Integrated in Hadoop-Hdfs-0.23-Build #64 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/64/])
    Revert the previous commit 1196436 for HDFS-2416.
svn merge -c 1196434 from trunk for HDFS-2416.

szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1196439
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/ByteRangeInputStream.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/AuthFilter.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/DelegationParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/TokenArgumentParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/UserProvider.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/security/TestDelegationToken.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsUrl.java

szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1196436
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/ByteRangeInputStream.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/AuthFilter.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/DelegationParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/TokenArgumentParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/UserProvider.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/security/TestDelegationToken.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsUrl.java

                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

Posted by "Tsz Wo (Nicholas), SZE (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13134702#comment-13134702 ] 

Tsz Wo (Nicholas), SZE commented on HDFS-2416:
----------------------------------------------

+1 patch looks good.  Below are some minor comments:

- add javadoc to verifyToken(..)

- add javadoc to ByteRangeInputStream constructor

- revert the changes in WebHdfsFileSystem.addDt2Query(..) and remove getDtString(..)

- How about renaming DelegationTokenArgumentParam to TokenParam?
                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Jitendra Nath Pandey updated HDFS-2416:
---------------------------------------

    Attachment: HDFS-2419-branch-0.20-security.patch
    
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>         Attachments: HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

Posted by "Tsz Wo (Nicholas), SZE (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HDFS-2416:
-----------------------------------------


Merged to 0.23.0.
                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Jitendra Nath Pandey updated HDFS-2416:
---------------------------------------

    Attachment: HDFS-2419-branch-0.20-security.patch

Attached patch fixes the distcp problem. It also incorporates the fix for HDFS-2416 because distcp needs that fix as well. I still need to do some cleanup in the code, but the patch is working.
                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>         Attachments: HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Jitendra Nath Pandey resolved HDFS-2416.
----------------------------------------

    Resolution: Fixed

Committed.
                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Jitendra Nath Pandey updated HDFS-2416:
---------------------------------------

    Attachment: HDFS-2416-branch-0.20-security.6.patch

Updated patch addressing the comments.

                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Hudson commented on HDFS-2416:
------------------------------

Integrated in Hadoop-Common-0.23-Commit #135 (See [https://builds.apache.org/job/Hadoop-Common-0.23-Commit/135/])
    svn merge -c 1196434 from trunk for HDFS-2416.

szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1196436
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/ByteRangeInputStream.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/AuthFilter.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/DelegationParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/TokenArgumentParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/UserProvider.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/security/TestDelegationToken.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsUrl.java

                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

Posted by "Eli Collins (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eli Collins updated HDFS-2416:
------------------------------

    Target Version/s:   (was: 1.0.0)
       Fix Version/s:     (was: 1.1.0)
                          (was: 0.23.0)
                      0.23.1

This was included in branch-23.0 but not shipped as part of the 23.0 release.
                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.24.0, 0.23.1, 1.0.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Jitendra Nath Pandey updated HDFS-2416:
---------------------------------------

    Attachment: HDFS-2416-branch-0.20-security.8.patch

Updated patch addressing the comments. I renamed DelegationTokenArgumentParam to TokenArgumentParam, to emphasize that this is used where token is used as an argument.
                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

Posted by "Tsz Wo (Nicholas), SZE (Reopened) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE reopened HDFS-2416:
------------------------------------------


> Merged to 0.23.

It turns out that 0.23 cannot be compiled after the merge.  Reverted the 0.23 commit.
                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Hudson commented on HDFS-2416:
------------------------------

Integrated in Hadoop-Common-0.23-Commit #136 (See [https://builds.apache.org/job/Hadoop-Common-0.23-Commit/136/])
    Revert the previous commit 1196436 for HDFS-2416.

szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1196439
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/ByteRangeInputStream.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/AuthFilter.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/DelegationParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/TokenArgumentParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/UserProvider.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/security/TestDelegationToken.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsUrl.java

                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Hudson commented on HDFS-2416:
------------------------------

Integrated in Hadoop-Common-trunk-Commit #1231 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1231/])
    HADOOP-7792. Common component for HDFS-2416: Add verifyToken method to AbstractDelegationTokenSecretManager.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1196386
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/AbstractDelegationTokenSecretManager.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/token/delegation/TestDelegationToken.java

                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Hudson commented on HDFS-2416:
------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #1309 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1309/])
    HDFS-2416. distcp with a webhdfs uri on a secure cluster fails.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1196434
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/ByteRangeInputStream.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/AuthFilter.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/DelegationParam.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/TokenArgumentParam.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/UserProvider.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/security/TestDelegationToken.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsUrl.java

                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Hudson commented on HDFS-2416:
------------------------------

Integrated in Hadoop-Hdfs-trunk #851 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/851/])
    HDFS-2416. distcp with a webhdfs uri on a secure cluster fails.
HADOOP-7792. Common component for HDFS-2416: Add verifyToken method to AbstractDelegationTokenSecretManager.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1196434
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/ByteRangeInputStream.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/AuthFilter.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/DelegationParam.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/TokenArgumentParam.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/UserProvider.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/security/TestDelegationToken.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsUrl.java

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1196386
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/AbstractDelegationTokenSecretManager.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/token/delegation/TestDelegationToken.java

                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Hudson commented on HDFS-2416:
------------------------------

Integrated in Hadoop-Mapreduce-0.23-Commit #146 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/146/])
    svn merge -c 1196434 from trunk for HDFS-2416.

szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1196436
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/ByteRangeInputStream.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/AuthFilter.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/DelegationParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/TokenArgumentParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/UserProvider.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/security/TestDelegationToken.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsUrl.java

                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Hadoop QA commented on HDFS-2416:
---------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12501841/HDFS-2416-trunk.patch
  against trunk revision .

    +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 (version 1.3.9) warnings.

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

    -1 core tests.  The patch failed these unit tests:
                  org.apache.hadoop.hdfs.TestFileCreationClient
                  org.apache.hadoop.hdfs.TestSetrepIncreasing

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

Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/1515//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/1515//console

This message is automatically generated.
                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Hudson commented on HDFS-2416:
------------------------------

Integrated in Hadoop-Mapreduce-0.23-Commit #147 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/147/])
    Revert the previous commit 1196436 for HDFS-2416.

szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1196439
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/ByteRangeInputStream.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/AuthFilter.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/DelegationParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/TokenArgumentParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/UserProvider.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/security/TestDelegationToken.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsUrl.java

                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Hudson commented on HDFS-2416:
------------------------------

Integrated in Hadoop-Hdfs-0.23-Commit #137 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/137/])
    Revert the previous commit 1196436 for HDFS-2416.

szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1196439
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/ByteRangeInputStream.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/AuthFilter.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/DelegationParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/TokenArgumentParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/UserProvider.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/security/TestDelegationToken.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsUrl.java

                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2416) distcp with a webhdfs uri on a secure cluster fails

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

Hudson commented on HDFS-2416:
------------------------------

Integrated in Hadoop-Hdfs-0.23-Build #65 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/65/])
    Merged r1196434 and r1196386 from trunk for HADOOP-7792 and HDFS-2416.

jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1196812
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/AbstractDelegationTokenSecretManager.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/token/delegation/TestDelegationToken.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/ByteRangeInputStream.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/JspHelper.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/AuthFilter.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/DelegationParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/TokenArgumentParam.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/resources/UserProvider.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/security/TestDelegationToken.java
* /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsUrl.java

                
> distcp with a webhdfs uri on a secure cluster fails
> ---------------------------------------------------
>
>                 Key: HDFS-2416
>                 URL: https://issues.apache.org/jira/browse/HDFS-2416
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.1, 0.20.206.0, 0.23.0, 0.24.0
>
>         Attachments: HDFS-2416-branch-0.20-security.6.patch, HDFS-2416-branch-0.20-security.7.patch, HDFS-2416-branch-0.20-security.8.patch, HDFS-2416-branch-0.20-security.patch, HDFS-2416-trunk.patch, HDFS-2416-trunk.patch, HDFS-2419-branch-0.20-security.patch, HDFS-2419-branch-0.20-security.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira