Hadoop Common
  1. Hadoop Common
  2. HADOOP-7721

dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.205.0, 0.24.0
    • Fix Version/s: 0.20.205.0, 0.23.0, 0.24.0
    • Component/s: None
    • Labels:
      None
    1. HADOOP-7721-20s.1.patch
      10 kB
      Jitendra Nath Pandey
    2. HADOOP-7721-branch-0.20-security.patch
      11 kB
      Jitendra Nath Pandey
    3. HADOOP-7721-branch-0.20-security.patch
      10 kB
      Jitendra Nath Pandey
    4. HADOOP-7721-trunk.patch
      0.9 kB
      Jitendra Nath Pandey

      Issue Links

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        1d 22h 56m 1 Jitendra Nath Pandey 06/Oct/11 19:16
        Patch Available Patch Available Resolved Resolved
        3h 26m 1 Jitendra Nath Pandey 06/Oct/11 22:42
        Resolved Resolved Closed Closed
        12d 2h 43m 1 Matt Foley 19/Oct/11 01:26
        Gavin made changes -
        Link This issue depends upon HDFS-2409 [ HDFS-2409 ]
        Gavin made changes -
        Link This issue depends on HDFS-2409 [ HDFS-2409 ]
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #846 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/846/)
        Move HADOOP-7668, HADOOP-7509, HADOOP-7745, MAPREDUCE-2764, HADOOP-7766 and HADOOP-7721 entries from trunk to 0.23 in CHANGES.txt.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190132
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #846 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/846/ ) Move HADOOP-7668 , HADOOP-7509 , HADOOP-7745 , MAPREDUCE-2764 , HADOOP-7766 and HADOOP-7721 entries from trunk to 0.23 in CHANGES.txt. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190132 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #876 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/876/)
        Move HADOOP-7668, HADOOP-7509, HADOOP-7745, MAPREDUCE-2764, HADOOP-7766 and HADOOP-7721 entries from trunk to 0.23 in CHANGES.txt.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190132
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #876 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/876/ ) Move HADOOP-7668 , HADOOP-7509 , HADOOP-7745 , MAPREDUCE-2764 , HADOOP-7766 and HADOOP-7721 entries from trunk to 0.23 in CHANGES.txt. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190132 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #1182 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1182/)
        Move HADOOP-7668, HADOOP-7509, HADOOP-7745, MAPREDUCE-2764, HADOOP-7766 and HADOOP-7721 entries from trunk to 0.23 in CHANGES.txt.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190132
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #1182 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1182/ ) Move HADOOP-7668 , HADOOP-7509 , HADOOP-7745 , MAPREDUCE-2764 , HADOOP-7766 and HADOOP-7721 entries from trunk to 0.23 in CHANGES.txt. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190132 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #1259 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1259/)
        Move HADOOP-7668, HADOOP-7509, HADOOP-7745, MAPREDUCE-2764, HADOOP-7766 and HADOOP-7721 entries from trunk to 0.23 in CHANGES.txt.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190132
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #1259 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1259/ ) Move HADOOP-7668 , HADOOP-7509 , HADOOP-7745 , MAPREDUCE-2764 , HADOOP-7766 and HADOOP-7721 entries from trunk to 0.23 in CHANGES.txt. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190132 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #1201 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1201/)
        Move HADOOP-7668, HADOOP-7509, HADOOP-7745, MAPREDUCE-2764, HADOOP-7766 and HADOOP-7721 entries from trunk to 0.23 in CHANGES.txt.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190132
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #1201 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1201/ ) Move HADOOP-7668 , HADOOP-7509 , HADOOP-7745 , MAPREDUCE-2764 , HADOOP-7766 and HADOOP-7721 entries from trunk to 0.23 in CHANGES.txt. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190132 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Tsz Wo Nicholas Sze made changes -
        Link This issue is related to HDFS-2316 [ HDFS-2316 ]
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-0.23-Build #64 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/64/)
        svn merge -c 1179869 from trunk for HADOOP-7721.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189476
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-auth
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Build #64 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/64/ ) svn merge -c 1179869 from trunk for HADOOP-7721 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189476 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-auth /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Build #52 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/52/)
        svn merge -c 1179869 from trunk for HADOOP-7721.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189476
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-auth
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #52 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/52/ ) svn merge -c 1179869 from trunk for HADOOP-7721 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189476 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-auth /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-0.23-Commit #60 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/60/)
        svn merge -c 1179869 from trunk for HADOOP-7721.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189476
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-auth
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Commit #60 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/60/ ) svn merge -c 1179869 from trunk for HADOOP-7721 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189476 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-auth /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-0.23-Commit #63 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/63/)
        svn merge -c 1179869 from trunk for HADOOP-7721.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189476
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-auth
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        Hudson added a comment - Integrated in Hadoop-Common-0.23-Commit #63 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/63/ ) svn merge -c 1179869 from trunk for HADOOP-7721 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189476 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-auth /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Commit #64 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/64/)
        svn merge -c 1179869 from trunk for HADOOP-7721.

        szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189476
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-auth
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
        • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Commit #64 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/64/ ) svn merge -c 1179869 from trunk for HADOOP-7721 . szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189476 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-auth /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
        Tsz Wo Nicholas Sze made changes -
        Fix Version/s 0.23.0 [ 12315569 ]
        Target Version/s 0.24.0, 0.20.205.0 [ 12317652, 12316390 ] 0.20.205.0, 0.24.0 [ 12316390, 12317652 ]
        Hide
        Tsz Wo Nicholas Sze added a comment -

        Merged to 0.23.

        Show
        Tsz Wo Nicholas Sze added a comment - Merged to 0.23.
        Matt Foley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Matt Foley added a comment -

        Closed upon release of 0.20.205.0

        Show
        Matt Foley added a comment - Closed upon release of 0.20.205.0
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #853 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/853/)
        HADOOP-7721. Add a log before login in KerberosAuthenticationHandler.

        jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1179869
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #853 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/853/ ) HADOOP-7721 . Add a log before login in KerberosAuthenticationHandler. jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1179869 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #823 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/823/)
        HADOOP-7721. Add a log before login in KerberosAuthenticationHandler.

        jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1179869
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #823 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/823/ ) HADOOP-7721 . Add a log before login in KerberosAuthenticationHandler. jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1179869 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #1026 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1026/)
        HADOOP-7721. Add a log before login in KerberosAuthenticationHandler.

        jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1179869
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #1026 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1026/ ) HADOOP-7721 . Add a log before login in KerberosAuthenticationHandler. jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1179869 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #1104 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1104/)
        HADOOP-7721. Add a log before login in KerberosAuthenticationHandler.

        jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1179869
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #1104 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1104/ ) HADOOP-7721 . Add a log before login in KerberosAuthenticationHandler. jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1179869 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #1043 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1043/)
        HADOOP-7721. Add a log before login in KerberosAuthenticationHandler.

        jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1179869
        Files :

        • /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #1043 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1043/ ) HADOOP-7721 . Add a log before login in KerberosAuthenticationHandler. jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1179869 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        Jitendra Nath Pandey made changes -
        Fix Version/s 0.24.0 [ 12317652 ]
        Target Version/s 0.24.0, 0.20.205.0 [ 12317652, 12316390 ] 0.20.205.0, 0.24.0 [ 12316390, 12317652 ]
        Jitendra Nath Pandey made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Target Version/s 0.24.0, 0.20.205.0 [ 12317652, 12316390 ] 0.20.205.0, 0.24.0 [ 12316390, 12317652 ]
        Resolution Fixed [ 1 ]
        Hide
        Jitendra Nath Pandey added a comment -

        Committed to trunk. The hdfs part of the patch is committed in HDFS-2409.

        Show
        Jitendra Nath Pandey added a comment - Committed to trunk. The hdfs part of the patch is committed in HDFS-2409 .
        Hide
        Jitendra Nath Pandey added a comment -

        The trunk patch for common, just adds a log, so no tests required.

        Show
        Jitendra Nath Pandey added a comment - The trunk patch for common, just adds a log, so no tests required.
        Hide
        Tsz Wo Nicholas Sze added a comment -

        +1 the patch for trunk looks good.

        Show
        Tsz Wo Nicholas Sze added a comment - +1 the patch for trunk looks good.
        Hide
        Hadoop QA added a comment -

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

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

        -1 tests included. The patch doesn't appear to include any new or modified tests.
        Please justify why no new tests are needed for this patch.
        Also please list what manual steps were performed to verify this patch.

        +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 passed unit tests in .

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

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

        This message is automatically generated.

        Show
        Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12498041/HADOOP-7721-trunk.patch against trunk revision . +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +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 passed unit tests in . +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/270//testReport/ Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/270//console This message is automatically generated.
        Hide
        Jitendra Nath Pandey added a comment -

        The last two comments refer to patches for trunk.

        Show
        Jitendra Nath Pandey added a comment - The last two comments refer to patches for trunk.
        Jitendra Nath Pandey made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Target Version/s 0.24.0, 0.20.205.0 [ 12317652, 12316390 ] 0.20.205.0, 0.24.0 [ 12316390, 12317652 ]
        Jitendra Nath Pandey made changes -
        Attachment HADOOP-7721-trunk.patch [ 12498041 ]
        Hide
        Jitendra Nath Pandey added a comment -

        The common part of the patch is attached. It is very minor. The HDFS patch is in HDFS-2409.

        Show
        Jitendra Nath Pandey added a comment - The common part of the patch is attached. It is very minor. The HDFS patch is in HDFS-2409 .
        Hide
        Jitendra Nath Pandey added a comment -

        The hdfs part of the patch is tracked in HDFS-2409.

        Show
        Jitendra Nath Pandey added a comment - The hdfs part of the patch is tracked in HDFS-2409 .
        Jitendra Nath Pandey made changes -
        Link This issue depends on HDFS-2409 [ HDFS-2409 ]
        Matt Foley made changes -
        Target Version/s 0.24.0, 0.20.205.1 [ 12317652, 12318244 ] 0.20.205.0, 0.24.0 [ 12316390, 12317652 ]
        Matt Foley made changes -
        Fix Version/s 0.20.206.0 [ 12316501 ]
        Fix Version/s 0.24.0 [ 12317652 ]
        Target Version/s 0.20.205.1 [ 12318244 ] 0.20.205.1, 0.24.0 [ 12318244, 12317652 ]
        Hide
        Matt Foley added a comment -

        Bug is still open for trunk fix.

        Show
        Matt Foley added a comment - Bug is still open for trunk fix.
        Hide
        Tsz Wo Nicholas Sze added a comment -

        +1 the new patch looks good.

        Show
        Tsz Wo Nicholas Sze added a comment - +1 the new patch looks good.
        Jitendra Nath Pandey made changes -
        Attachment HADOOP-7721-branch-0.20-security.patch [ 12497945 ]
        Hide
        Jitendra Nath Pandey added a comment -

        Updated patch to fix a test failure.

        Show
        Jitendra Nath Pandey added a comment - Updated patch to fix a test failure.
        Hide
        Tsz Wo Nicholas Sze added a comment -

        +1 patch looks good.

        Show
        Tsz Wo Nicholas Sze added a comment - +1 patch looks good.
        Hide
        Jitendra Nath Pandey added a comment -

        Incorporating the change for HDFS-2405 because that fix was needed too to test any webhdfs operation, in secure mode.

        Show
        Jitendra Nath Pandey added a comment - Incorporating the change for HDFS-2405 because that fix was needed too to test any webhdfs operation, in secure mode.
        Jitendra Nath Pandey made changes -
        Link This issue incorporates HDFS-2405 [ HDFS-2405 ]
        Jitendra Nath Pandey made changes -
        Fix Version/s 0.20.205.0 [ 12316390 ]
        Fix Version/s 0.20.206.0 [ 12316501 ]
        Fix Version/s 0.24.0 [ 12317652 ]
        Affects Version/s 0.24.0 [ 12317652 ]
        Hide
        Jitendra Nath Pandey added a comment -

        Yes, this change is needed for trunk too.
        Changed the patch file name format.

        Show
        Jitendra Nath Pandey added a comment - Yes, this change is needed for trunk too. Changed the patch file name format.
        Jitendra Nath Pandey made changes -
        Attachment HADOOP-7721-branch-0.20-security.patch [ 12497926 ]
        Hide
        Aaron T. Myers added a comment -

        Hey Jitendra, thanks a lot for updating the issue summary and posting a patch. Does this change not also need to be made on trunk?

        Also, per the discussion on common-dev@ and the how to contribute wiki, please format your patch file names as "<issue number>-<full branch name>.patch", without patch version numbers.

        Show
        Aaron T. Myers added a comment - Hey Jitendra, thanks a lot for updating the issue summary and posting a patch. Does this change not also need to be made on trunk? Also, per the discussion on common-dev@ and the how to contribute wiki , please format your patch file names as "<issue number>-<full branch name>.patch", without patch version numbers.
        Hide
        Jitendra Nath Pandey added a comment -

        > what exactly are you referring to when you say "kerberos.principal" ?
        Changed the title to refer to dfs.web.authentication.kerberos.principal. That's where this issue showed up.

        Show
        Jitendra Nath Pandey added a comment - > what exactly are you referring to when you say "kerberos.principal" ? Changed the title to refer to dfs.web.authentication.kerberos.principal. That's where this issue showed up.
        Jitendra Nath Pandey made changes -
        Summary kerberos.principal expects the full hostname and does not replace _HOST with the hostname dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
        Jitendra Nath Pandey made changes -
        Attachment HADOOP-7721-20s.1.patch [ 12497767 ]
        Hide
        Jitendra Nath Pandey added a comment -

        The attached patch fixes the issue by passing the principal and keytab as parameters in the filter initialization.
        AuthFilter is modified not to load the configuration, rather it relies completely on FilterConfigs.

        Show
        Jitendra Nath Pandey added a comment - The attached patch fixes the issue by passing the principal and keytab as parameters in the filter initialization. AuthFilter is modified not to load the configuration, rather it relies completely on FilterConfigs.
        Hide
        Aaron T. Myers added a comment -

        Hey Arpit, what exactly are you referring to when you say "kerberos.principal" ?

        Show
        Aaron T. Myers added a comment - Hey Arpit, what exactly are you referring to when you say " kerberos.principal " ?
        Arpit Gupta made changes -
        Assignee Jitendra Nath Pandey [ jnp ]
        Arpit Gupta made changes -
        Field Original Value New Value
        Affects Version/s 0.20.205.0 [ 12316390 ]
        Target Version/s 0.20.205.1 [ 12318244 ]
        Hide
        Arpit Gupta added a comment -

        Because of this issue when webhdfs is turned on, the kerberos login fails. The user has to specify the actual host name in the principal.

        We should see if we can use the _HOST like we do for other keytabs specified in hadoop

        Show
        Arpit Gupta added a comment - Because of this issue when webhdfs is turned on, the kerberos login fails. The user has to specify the actual host name in the principal. We should see if we can use the _HOST like we do for other keytabs specified in hadoop
        Arpit Gupta created issue -

          People

          • Assignee:
            Jitendra Nath Pandey
            Reporter:
            Arpit Gupta
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development