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

[jira] [Created] (HADOOP-7721) kerberos.principal expects the full hostname and does not replace _HOST with the hostname

kerberos.principal expects the full hostname and does not replace _HOST with the hostname
-----------------------------------------------------------------------------------------

                 Key: HADOOP-7721
                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
             Project: Hadoop Common
          Issue Type: Bug
            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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

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

Yes, this change is needed for trunk too. 
Changed the patch file name format. 
                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Jitendra Nath Pandey updated HADOOP-7721:
-----------------------------------------

    Affects Version/s: 0.24.0
        Fix Version/s: 0.24.0
                       0.20.206.0
                       0.20.205.0
    
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0, 0.20.206.0, 0.24.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Hudson commented on HADOOP-7721:
--------------------------------

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

                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0, 0.23.0, 0.24.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-trunk.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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Hudson commented on HADOOP-7721:
--------------------------------

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

                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0, 0.24.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-trunk.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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Jitendra Nath Pandey updated HADOOP-7721:
-----------------------------------------

    Summary: dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname  (was: 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
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>         Attachments: HADOOP-7721-20s.1.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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Hudson commented on HADOOP-7721:
--------------------------------

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

                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0, 0.23.0, 0.24.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-trunk.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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Hudson commented on HADOOP-7721:
--------------------------------

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

                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0, 0.23.0, 0.24.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-trunk.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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

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

The trunk patch for common, just adds a log, so no tests required. 
                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-trunk.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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Matt Foley updated HADOOP-7721:
-------------------------------

    Target Version/s: 0.20.205.1, 0.24.0  (was: 0.20.205.1)
       Fix Version/s:     (was: 0.24.0)
                          (was: 0.20.206.0)

Bug is still open for trunk fix.
                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Jitendra Nath Pandey updated HADOOP-7721:
-----------------------------------------

          Resolution: Fixed
    Target Version/s: 0.20.205.0, 0.24.0  (was: 0.24.0, 0.20.205.0)
        Hadoop Flags: Reviewed
              Status: Resolved  (was: Patch Available)

Committed to trunk. The hdfs part of the patch is committed in HDFS-2409.
                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-trunk.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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Hudson commented on HADOOP-7721:
--------------------------------

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

                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0, 0.24.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-trunk.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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Hadoop QA commented on HADOOP-7721:
-----------------------------------

-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.
                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-trunk.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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Hudson commented on HADOOP-7721:
--------------------------------

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

                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0, 0.23.0, 0.24.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-trunk.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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Tsz Wo (Nicholas), SZE commented on HADOOP-7721:
------------------------------------------------

+1 the new patch looks good.
                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0, 0.20.206.0, 0.24.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

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

> 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.
                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>         Attachments: HADOOP-7721-20s.1.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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Hudson commented on HADOOP-7721:
--------------------------------

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

                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0, 0.23.0, 0.24.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-trunk.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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Jitendra Nath Pandey updated HADOOP-7721:
-----------------------------------------

    Attachment: HADOOP-7721-trunk.patch

The common part of the patch is attached. It is very minor. The HDFS patch is in HDFS-2409.
                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-trunk.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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Hudson commented on HADOOP-7721:
--------------------------------

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

                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0, 0.24.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-trunk.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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Matt Foley updated HADOOP-7721:
-------------------------------

    Target Version/s: 0.20.205.0, 0.24.0  (was: 0.24.0, 0.20.205.1)
    
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Hudson commented on HADOOP-7721:
--------------------------------

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

                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0, 0.23.0, 0.24.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-trunk.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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Hudson commented on HADOOP-7721:
--------------------------------

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

                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0, 0.24.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-trunk.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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Tsz Wo (Nicholas), SZE updated HADOOP-7721:
-------------------------------------------

    Target Version/s: 0.20.205.0, 0.24.0  (was: 0.24.0, 0.20.205.0)
       Fix Version/s: 0.23.0

Merged to 0.23.
                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0, 0.23.0, 0.24.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-trunk.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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Hudson commented on HADOOP-7721:
--------------------------------

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

                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0, 0.23.0, 0.24.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-trunk.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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Tsz Wo (Nicholas), SZE commented on HADOOP-7721:
------------------------------------------------

+1 patch looks good.
                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0, 0.20.206.0, 0.24.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Hudson commented on HADOOP-7721:
--------------------------------

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

                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0, 0.24.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-trunk.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] (HADOOP-7721) kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Arpit Gupta reassigned HADOOP-7721:
-----------------------------------

    Assignee: Jitendra Nath Pandey
    
> kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Jitendra Nath Pandey updated HADOOP-7721:
-----------------------------------------

    Target Version/s: 0.20.205.0, 0.24.0  (was: 0.24.0, 0.20.205.0)
       Fix Version/s: 0.24.0
    
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0, 0.24.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-trunk.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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Jitendra Nath Pandey updated HADOOP-7721:
-----------------------------------------

    Attachment: HADOOP-7721-branch-0.20-security.patch

Updated patch to fix a test failure.
                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0, 0.20.206.0, 0.24.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Jitendra Nath Pandey updated HADOOP-7721:
-----------------------------------------

    Attachment: HADOOP-7721-branch-0.20-security.patch
    
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Hudson commented on HADOOP-7721:
--------------------------------

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

                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0, 0.23.0, 0.24.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-trunk.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] (HADOOP-7721) kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Arpit Gupta updated HADOOP-7721:
--------------------------------

     Target Version/s: 0.20.205.1
    Affects Version/s: 0.20.205.0

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
                
> kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Hudson commented on HADOOP-7721:
--------------------------------

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

                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0, 0.23.0, 0.24.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-trunk.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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

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

The last two comments refer to patches for trunk.
                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-trunk.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] (HADOOP-7721) kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Jitendra Nath Pandey updated HADOOP-7721:
-----------------------------------------

    Attachment: HADOOP-7721-20s.1.patch

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.
                
> kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>         Attachments: HADOOP-7721-20s.1.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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

Posted by "Aaron T. Myers (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121067#comment-13121067 ] 

Aaron T. Myers commented on HADOOP-7721:
----------------------------------------

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|http://wiki.apache.org/hadoop/HowToContribute], please format your patch file names as "<issue number>-<full branch name>.patch", without patch version numbers.
                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>         Attachments: HADOOP-7721-20s.1.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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Jitendra Nath Pandey updated HADOOP-7721:
-----------------------------------------

    Target Version/s: 0.20.205.0, 0.24.0  (was: 0.24.0, 0.20.205.0)
              Status: Patch Available  (was: Open)
    
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-trunk.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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Hudson commented on HADOOP-7721:
--------------------------------

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

                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0, 0.23.0, 0.24.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-trunk.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] (HADOOP-7721) dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname

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

Tsz Wo (Nicholas), SZE commented on HADOOP-7721:
------------------------------------------------

+1 the patch for trunk looks good.
                
> dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.24.0
>            Reporter: Arpit Gupta
>            Assignee: Jitendra Nath Pandey
>             Fix For: 0.20.205.0
>
>         Attachments: HADOOP-7721-20s.1.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-branch-0.20-security.patch, HADOOP-7721-trunk.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] (HADOOP-7721) kerberos.principal expects the full hostname and does not replace _HOST with the hostname

Posted by "Aaron T. Myers (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120540#comment-13120540 ] 

Aaron T. Myers commented on HADOOP-7721:
----------------------------------------

Hey Arpit, what exactly are you referring to when you say "{{kerberos.principal}}" ?
                
> kerberos.principal expects the full hostname and does not replace _HOST with the hostname
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7721
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7721
>             Project: Hadoop Common
>          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