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 "Alejandro Abdelnur (JIRA)" <ji...@apache.org> on 2012/05/03 23:50:50 UTC

[jira] [Created] (HADOOP-8355) SPNEGO filter throws/logs exception when authentication fails

Alejandro Abdelnur created HADOOP-8355:
------------------------------------------

             Summary: SPNEGO filter throws/logs exception when authentication fails
                 Key: HADOOP-8355
                 URL: https://issues.apache.org/jira/browse/HADOOP-8355
             Project: Hadoop Common
          Issue Type: Bug
          Components: security
    Affects Versions: 2.0.0
            Reporter: Alejandro Abdelnur
            Assignee: Alejandro Abdelnur
            Priority: Minor
             Fix For: 2.0.0


if the auth-token is NULL means the authenticator has not authenticated the request and it has already issue an UNAUTHORIZED response, there is no need to throw an exception and then immediately catch it and log it. The 'else throw' can be removed.

--
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-8355) SPNEGO filter throws/logs exception when authentication fails

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

Alejandro Abdelnur updated HADOOP-8355:
---------------------------------------

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

committed to trunk and branch-2.
                
> SPNEGO filter throws/logs exception when authentication fails
> -------------------------------------------------------------
>
>                 Key: HADOOP-8355
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8355
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.0.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HADOOP-8355.patch
>
>
> if the auth-token is NULL means the authenticator has not authenticated the request and it has already issue an UNAUTHORIZED response, there is no need to throw an exception and then immediately catch it and log it. The 'else throw' can be removed.

--
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-8355) SPNEGO filter throws/logs exception when authentication fails

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

Alejandro Abdelnur updated HADOOP-8355:
---------------------------------------

    Fix Version/s: 1.2.0

committed to branch-1.
                
> SPNEGO filter throws/logs exception when authentication fails
> -------------------------------------------------------------
>
>                 Key: HADOOP-8355
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8355
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.0.0-alpha
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>            Priority: Minor
>             Fix For: 1.2.0, 2.0.0-alpha
>
>         Attachments: HADOOP-8355-branch1.patch, HADOOP-8355.patch
>
>
> if the auth-token is NULL means the authenticator has not authenticated the request and it has already issue an UNAUTHORIZED response, there is no need to throw an exception and then immediately catch it and log it. The 'else throw' can be removed.

--
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-8355) SPNEGO filter throws/logs exception when authentication fails

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

Alejandro Abdelnur updated HADOOP-8355:
---------------------------------------

    Status: Patch Available  (was: Open)
    
> SPNEGO filter throws/logs exception when authentication fails
> -------------------------------------------------------------
>
>                 Key: HADOOP-8355
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8355
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.0.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>            Priority: Minor
>         Attachments: HADOOP-8355.patch
>
>
> if the auth-token is NULL means the authenticator has not authenticated the request and it has already issue an UNAUTHORIZED response, there is no need to throw an exception and then immediately catch it and log it. The 'else throw' can be removed.

--
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-8355) SPNEGO filter throws/logs exception when authentication fails

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

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

+1 pending Jenkins. The patch looks good to me. I also tested the patch manually and observed that the spurious stack traces no longer appear in the NN or 2NN logs when performing a checkpoint.

Good on you, Tucu.
                
> SPNEGO filter throws/logs exception when authentication fails
> -------------------------------------------------------------
>
>                 Key: HADOOP-8355
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8355
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.0.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>            Priority: Minor
>         Attachments: HADOOP-8355.patch
>
>
> if the auth-token is NULL means the authenticator has not authenticated the request and it has already issue an UNAUTHORIZED response, there is no need to throw an exception and then immediately catch it and log it. The 'else throw' can be removed.

--
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-8355) SPNEGO filter throws/logs exception when authentication fails

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

Hadoop QA commented on HADOOP-8355:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12525542/HADOOP-8355.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 appears to have generated 2 warning messages.

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

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +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 hadoop-common-project/hadoop-auth.

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

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

This message is automatically generated.
                
> SPNEGO filter throws/logs exception when authentication fails
> -------------------------------------------------------------
>
>                 Key: HADOOP-8355
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8355
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.0.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>            Priority: Minor
>         Attachments: HADOOP-8355.patch
>
>
> if the auth-token is NULL means the authenticator has not authenticated the request and it has already issue an UNAUTHORIZED response, there is no need to throw an exception and then immediately catch it and log it. The 'else throw' can be removed.

--
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-8355) SPNEGO filter throws/logs exception when authentication fails

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

Hudson commented on HADOOP-8355:
--------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #2259 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2259/])
    HADOOP-8355. SPNEGO filter throws/logs exception when authentication fails (tucu) (Revision 1333746)

     Result = SUCCESS
tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1333746
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/AuthenticationFilter.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt

                
> SPNEGO filter throws/logs exception when authentication fails
> -------------------------------------------------------------
>
>                 Key: HADOOP-8355
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8355
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.0.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HADOOP-8355.patch
>
>
> if the auth-token is NULL means the authenticator has not authenticated the request and it has already issue an UNAUTHORIZED response, there is no need to throw an exception and then immediately catch it and log it. The 'else throw' can be removed.

--
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-8355) SPNEGO filter throws/logs exception when authentication fails

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

Aaron T. Myers updated HADOOP-8355:
-----------------------------------

    Target Version/s: 2.0.0
       Fix Version/s:     (was: 2.0.0)
    
> SPNEGO filter throws/logs exception when authentication fails
> -------------------------------------------------------------
>
>                 Key: HADOOP-8355
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8355
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.0.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>            Priority: Minor
>
> if the auth-token is NULL means the authenticator has not authenticated the request and it has already issue an UNAUTHORIZED response, there is no need to throw an exception and then immediately catch it and log it. The 'else throw' can be removed.

--
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-8355) SPNEGO filter throws/logs exception when authentication fails

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

Alejandro Abdelnur updated HADOOP-8355:
---------------------------------------

    Attachment: HADOOP-8355.patch

being a bit conservative, the AuthenticationFilter will not trust the AuthenticationHandler to set the UNAUTHORIZED response when returning NULL and it will set it itself (if happens twice is a NOP).
                
> SPNEGO filter throws/logs exception when authentication fails
> -------------------------------------------------------------
>
>                 Key: HADOOP-8355
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8355
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.0.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>            Priority: Minor
>         Attachments: HADOOP-8355.patch
>
>
> if the auth-token is NULL means the authenticator has not authenticated the request and it has already issue an UNAUTHORIZED response, there is no need to throw an exception and then immediately catch it and log it. The 'else throw' can be removed.

--
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-8355) SPNEGO filter throws/logs exception when authentication fails

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

Alejandro Abdelnur updated HADOOP-8355:
---------------------------------------

    Attachment: HADOOP-8355-branch1.patch

patch for branch-1
                
> SPNEGO filter throws/logs exception when authentication fails
> -------------------------------------------------------------
>
>                 Key: HADOOP-8355
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8355
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.0.0-alpha
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>            Priority: Minor
>             Fix For: 2.0.0-alpha
>
>         Attachments: HADOOP-8355-branch1.patch, HADOOP-8355.patch
>
>
> if the auth-token is NULL means the authenticator has not authenticated the request and it has already issue an UNAUTHORIZED response, there is no need to throw an exception and then immediately catch it and log it. The 'else throw' can be removed.

--
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-8355) SPNEGO filter throws/logs exception when authentication fails

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

Hudson commented on HADOOP-8355:
--------------------------------

Integrated in Hadoop-Hdfs-trunk #1034 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1034/])
    HADOOP-8355. SPNEGO filter throws/logs exception when authentication fails (tucu) (Revision 1333746)

     Result = FAILURE
tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1333746
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/AuthenticationFilter.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt

                
> SPNEGO filter throws/logs exception when authentication fails
> -------------------------------------------------------------
>
>                 Key: HADOOP-8355
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8355
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.0.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HADOOP-8355.patch
>
>
> if the auth-token is NULL means the authenticator has not authenticated the request and it has already issue an UNAUTHORIZED response, there is no need to throw an exception and then immediately catch it and log it. The 'else throw' can be removed.

--
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-8355) SPNEGO filter throws/logs exception when authentication fails

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

Hudson commented on HADOOP-8355:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #2185 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2185/])
    HADOOP-8355. SPNEGO filter throws/logs exception when authentication fails (tucu) (Revision 1333746)

     Result = SUCCESS
tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1333746
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/AuthenticationFilter.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt

                
> SPNEGO filter throws/logs exception when authentication fails
> -------------------------------------------------------------
>
>                 Key: HADOOP-8355
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8355
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.0.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HADOOP-8355.patch
>
>
> if the auth-token is NULL means the authenticator has not authenticated the request and it has already issue an UNAUTHORIZED response, there is no need to throw an exception and then immediately catch it and log it. The 'else throw' can be removed.

--
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-8355) SPNEGO filter throws/logs exception when authentication fails

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

Hudson commented on HADOOP-8355:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk #1069 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1069/])
    HADOOP-8355. SPNEGO filter throws/logs exception when authentication fails (tucu) (Revision 1333746)

     Result = SUCCESS
tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1333746
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/AuthenticationFilter.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt

                
> SPNEGO filter throws/logs exception when authentication fails
> -------------------------------------------------------------
>
>                 Key: HADOOP-8355
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8355
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.0.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HADOOP-8355.patch
>
>
> if the auth-token is NULL means the authenticator has not authenticated the request and it has already issue an UNAUTHORIZED response, there is no need to throw an exception and then immediately catch it and log it. The 'else throw' can be removed.

--
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-8355) SPNEGO filter throws/logs exception when authentication fails

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

Alejandro Abdelnur commented on HADOOP-8355:
--------------------------------------------

javadocs warnings seem unrelated.
                
> SPNEGO filter throws/logs exception when authentication fails
> -------------------------------------------------------------
>
>                 Key: HADOOP-8355
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8355
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.0.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>            Priority: Minor
>         Attachments: HADOOP-8355.patch
>
>
> if the auth-token is NULL means the authenticator has not authenticated the request and it has already issue an UNAUTHORIZED response, there is no need to throw an exception and then immediately catch it and log it. The 'else throw' can be removed.

--
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-8355) SPNEGO filter throws/logs exception when authentication fails

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

Hudson commented on HADOOP-8355:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #2204 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2204/])
    HADOOP-8355. SPNEGO filter throws/logs exception when authentication fails (tucu) (Revision 1333746)

     Result = ABORTED
tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1333746
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/AuthenticationFilter.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt

                
> SPNEGO filter throws/logs exception when authentication fails
> -------------------------------------------------------------
>
>                 Key: HADOOP-8355
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8355
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.0.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HADOOP-8355.patch
>
>
> if the auth-token is NULL means the authenticator has not authenticated the request and it has already issue an UNAUTHORIZED response, there is no need to throw an exception and then immediately catch it and log it. The 'else throw' can be removed.

--
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