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 "Aaron T. Myers (JIRA)" <ji...@apache.org> on 2011/09/16 02:02:09 UTC
[jira] [Created] (HADOOP-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
------------------------------------------------------------------------------------------
Key: HADOOP-7645
URL: https://issues.apache.org/jira/browse/HADOOP-7645
Project: Hadoop Common
Issue Type: Bug
Components: security
Affects Versions: 0.20.205.0
Reporter: Aaron T. Myers
Fix For: 0.20.206.0
The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Matt Foley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Foley updated HADOOP-7645:
-------------------------------
Fix Version/s: (was: 1.1.0)
Fixed in 20.205, which was a lineal predecessor of 1.0. No need to mark it fixed in 1.1.0.
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Assignee: Jitendra Nath Pandey
> Priority: Blocker
> Fix For: 0.20.205.0
>
> Attachments: hadoop-7645-022.patch, HADOOP-7645-20s.1.patch, HADOOP-7645-20s.2.patch
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
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-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113058#comment-13113058 ]
Jitendra Nath Pandey commented on HADOOP-7645:
----------------------------------------------
>Before commit, could someone please test to make sure that "ant -Dtestcase=TestKerberosAuthenticationHandler
> test-core" does indeed work even with the @Ignore annotation in place?
With ant version 1.8.2 the above command runs the test, but with ant 1.7.1 it doesn't. I suspect ant-1.8.2 is just ignoring @Ignore.
Aaron,
Given the above observation, do you think @Ignore is not acceptable for 205? Alternative approach is to commit this patch as there are many tests in mapreduce that use the same approach, and come with a better fix in 206?
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Assignee: Jitendra Nath Pandey
> Priority: Blocker
> Fix For: 0.20.205.0, 0.20.206.0
>
> Attachments: HADOOP-7645-20s.1.patch, HADOOP-7645-20s.2.patch
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Benoy Antony (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoy Antony updated HADOOP-7645:
---------------------------------
Attachment: hadoop-7645-022.patch
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Assignee: Jitendra Nath Pandey
> Priority: Blocker
> Fix For: 0.20.205.0, 1.1.0
>
> Attachments: HADOOP-7645-20s.1.patch, HADOOP-7645-20s.2.patch, hadoop-7645-022.patch
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
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-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Kihwal Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112989#comment-13112989 ]
Kihwal Lee commented on HADOOP-7645:
------------------------------------
At the minimum, there should be some comments along with the new @Ignore annotations, explaining why they are ignored and what is needed to run them.
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Assignee: Jitendra Nath Pandey
> Priority: Blocker
> Fix For: 0.20.205.0, 0.20.206.0
>
> Attachments: HADOOP-7645-20s.1.patch
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113022#comment-13113022 ]
Suresh Srinivas commented on HADOOP-7645:
-----------------------------------------
+1 for the patch.
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Assignee: Jitendra Nath Pandey
> Priority: Blocker
> Fix For: 0.20.205.0, 0.20.206.0
>
> Attachments: HADOOP-7645-20s.1.patch, HADOOP-7645-20s.2.patch
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289122#comment-13289122 ]
Konstantin Shvachko commented on HADOOP-7645:
---------------------------------------------
I just committed this to branch 0.22.1. Thank you Benoy.
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Assignee: Jitendra Nath Pandey
> Priority: Blocker
> Fix For: 0.20.205.0, 1.1.0
>
> Attachments: HADOOP-7645-20s.1.patch, HADOOP-7645-20s.2.patch, hadoop-7645-022.patch
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
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-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112994#comment-13112994 ]
Suresh Srinivas commented on HADOOP-7645:
-----------------------------------------
bq. But I think the @Ignore annotation implies "obsolete" or "broken" and marking these tests with it can be misleading.
@Ignore is for precisely this reason http://api.dpml.net/junit/4.2/org/junit/Ignore.html
"Sometimes you want to temporarily disable a test. Methods annotated with Test that are also annotated with @Ignore will not be executed as tests. Native JUnit 4 test runners should report the number of ignored tests along with the number of tests that ran and the number of tests that failed."
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Assignee: Jitendra Nath Pandey
> Priority: Blocker
> Fix For: 0.20.205.0, 0.20.206.0
>
> Attachments: HADOOP-7645-20s.1.patch
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jitendra Nath Pandey updated HADOOP-7645:
-----------------------------------------
Attachment: HADOOP-7645-20s.2.patch
Added comments.
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Assignee: Jitendra Nath Pandey
> Priority: Blocker
> Fix For: 0.20.205.0, 0.20.206.0
>
> Attachments: HADOOP-7645-20s.1.patch, HADOOP-7645-20s.2.patch
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289265#comment-13289265 ]
Hudson commented on HADOOP-7645:
--------------------------------
Integrated in Hadoop-Common-22-branch #106 (See [https://builds.apache.org/job/Hadoop-Common-22-branch/106/])
HADOOP-7645. Disable TestKerberosAuthenticator and TestKerberosAuthenticationHandler. Contributed by Jitendra Pandey and Benoy Antony. (Revision 1346226)
Result = SUCCESS
shv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1346226
Files :
* /hadoop/common/branches/branch-0.22/common/CHANGES.txt
* /hadoop/common/branches/branch-0.22/common/src/test/core/org/apache/hadoop/security/authentication/client/TestKerberosAuthenticator.java
* /hadoop/common/branches/branch-0.22/common/src/test/core/org/apache/hadoop/security/authentication/server/TestKerberosAuthenticationHandler.java
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Assignee: Jitendra Nath Pandey
> Priority: Blocker
> Fix For: 0.20.205.0, 1.1.0
>
> Attachments: HADOOP-7645-20s.1.patch, HADOOP-7645-20s.2.patch, hadoop-7645-022.patch
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
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-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jitendra Nath Pandey updated HADOOP-7645:
-----------------------------------------
Attachment: HADOOP-7645-20s.1.patch
A patch that disables these tests.
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Priority: Blocker
> Fix For: 0.20.205.0, 0.20.206.0
>
> Attachments: HADOOP-7645-20s.1.patch
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Kihwal Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112968#comment-13112968 ]
Kihwal Lee commented on HADOOP-7645:
------------------------------------
The approach in the patch is not exactly the solution people have agreed on. It still can be automated by specifying the test case with -Dtestcase, so there might be no problem in terms of running these tests. But I think the @Ignore annotation implies "obsolete" or "broken" and marking these tests with it can be misleading.
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Assignee: Jitendra Nath Pandey
> Priority: Blocker
> Fix For: 0.20.205.0, 0.20.206.0
>
> Attachments: HADOOP-7645-20s.1.patch
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112969#comment-13112969 ]
Jitendra Nath Pandey commented on HADOOP-7645:
----------------------------------------------
Some mapreduce tests already use "@Ignore" in 20 branch. For example, TestMiniMRMapRedDebugScript. I just followed this because it was a very simple change.
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Assignee: Jitendra Nath Pandey
> Priority: Blocker
> Fix For: 0.20.205.0, 0.20.206.0
>
> Attachments: HADOOP-7645-20s.1.patch
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Ahmed Radwan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13107641#comment-13107641 ]
Ahmed Radwan commented on HADOOP-7645:
--------------------------------------
+1 for option #1. It will be consistent with current maven behavior on trunk and 0.23.
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Fix For: 0.20.205.0, 0.20.206.0
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113013#comment-13113013 ]
Suresh Srinivas commented on HADOOP-7645:
-----------------------------------------
We should add comment about why the test is disabled. I think adding ignore for 205 branch is a good enough solution. This is already solved nicely on trunk. If any one strongly prefers -DkerbTests, they can fix it in 0.20-security to be picked up later.
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Assignee: Jitendra Nath Pandey
> Priority: Blocker
> Fix For: 0.20.205.0, 0.20.206.0
>
> Attachments: HADOOP-7645-20s.1.patch
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113090#comment-13113090 ]
Jitendra Nath Pandey commented on HADOOP-7645:
----------------------------------------------
Created jira : HADOOP-7675
Committed this to 205, 206.
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Assignee: Jitendra Nath Pandey
> Priority: Blocker
> Fix For: 0.20.205.0, 0.20.206.0
>
> Attachments: HADOOP-7645-20s.1.patch, HADOOP-7645-20s.2.patch
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (HADOOP-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aaron T. Myers resolved HADOOP-7645.
------------------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
Thanks a lot, Jitendra. Marking this issue as resolved.
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Assignee: Jitendra Nath Pandey
> Priority: Blocker
> Fix For: 0.20.205.0, 0.20.206.0
>
> Attachments: HADOOP-7645-20s.1.patch, HADOOP-7645-20s.2.patch
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Kihwal Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13106826#comment-13106826 ]
Kihwal Lee commented on HADOOP-7645:
------------------------------------
I noticed the failures too. I am fine with the option 1. LTC tests are like that.
In any case I think we need it fixed for 205 if it's not overly complicated.
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Fix For: 0.20.206.0
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105787#comment-13105787 ]
Aaron T. Myers commented on HADOOP-7645:
----------------------------------------
The valid options to me seem to be:
# Disable these tests somehow such that they're only run when some specific flag is passed to ant. Is there any precedent for doing so with specific test cases?
# Remove these tests from branch-0.20-security. Assuming that anyone who works on the classes exercised by these tests will be doing the work on trunk and back-porting to branch-0.20-security, the classes shouldn't diverge much if any.
Thoughts?
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Fix For: 0.20.206.0
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112963#comment-13112963 ]
Aaron T. Myers commented on HADOOP-7645:
----------------------------------------
Jitendra, is there no way to do something with ant akin to what is done on trunk with maven? That is, don't run some specific tests unless, e.g. "-DkerbTests" is passed when invoking ant?
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Assignee: Jitendra Nath Pandey
> Priority: Blocker
> Fix For: 0.20.205.0, 0.20.206.0
>
> Attachments: HADOOP-7645-20s.1.patch
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Kihwal Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kihwal Lee updated HADOOP-7645:
-------------------------------
Priority: Blocker (was: Major)
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Priority: Blocker
> Fix For: 0.20.205.0, 0.20.206.0
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113018#comment-13113018 ]
Aaron T. Myers commented on HADOOP-7645:
----------------------------------------
bq. I think adding ignore for 205 branch is a good enough solution. This is already solved nicely on trunk.
If indeed one can still run the test using "-Dtestcase=..." as Kihwal points out, then I'm fine just adding the {{@Ignore}} annotations with a comment saying why.
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Assignee: Jitendra Nath Pandey
> Priority: Blocker
> Fix For: 0.20.205.0, 0.20.206.0
>
> Attachments: HADOOP-7645-20s.1.patch
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Kihwal Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kihwal Lee updated HADOOP-7645:
-------------------------------
Fix Version/s: 0.20.205.0
I added 0.205 to fix version.
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Fix For: 0.20.205.0, 0.20.206.0
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Benoy Antony (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13272096#comment-13272096 ]
Benoy Antony commented on HADOOP-7645:
--------------------------------------
attached patch for 0.22
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Assignee: Jitendra Nath Pandey
> Priority: Blocker
> Fix For: 0.20.205.0, 1.1.0
>
> Attachments: HADOOP-7645-20s.1.patch, HADOOP-7645-20s.2.patch, hadoop-7645-022.patch
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
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-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113063#comment-13113063 ]
Aaron T. Myers commented on HADOOP-7645:
----------------------------------------
bq. Alternative approach is to commit this patch as there are many tests in mapreduce that use the same approach, and come with a better fix in 206?
That's fine by me. Please file a JIRA which will hopefully get fixed in 206.
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Assignee: Jitendra Nath Pandey
> Priority: Blocker
> Fix For: 0.20.205.0, 0.20.206.0
>
> Attachments: HADOOP-7645-20s.1.patch, HADOOP-7645-20s.2.patch
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113024#comment-13113024 ]
Aaron T. Myers commented on HADOOP-7645:
----------------------------------------
Before commit, could someone please test to make sure that "{{ant -Dtestcase=TestKerberosAuthenticationHandler test-core}}" does indeed work even with the {{@Ignore}} annotation in place? The only thing I really want to avoid is having to modify the test code in order to run it.
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Assignee: Jitendra Nath Pandey
> Priority: Blocker
> Fix For: 0.20.205.0, 0.20.206.0
>
> Attachments: HADOOP-7645-20s.1.patch, HADOOP-7645-20s.2.patch
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Kihwal Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113000#comment-13113000 ]
Kihwal Lee commented on HADOOP-7645:
------------------------------------
So I guess when we mark a broken test with @Ignore (not in this case. The test is not broken.), we intend to fix them later. Otherwise we should simply delete it. Correct?
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Assignee: Jitendra Nath Pandey
> Priority: Blocker
> Fix For: 0.20.205.0, 0.20.206.0
>
> Attachments: HADOOP-7645-20s.1.patch
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (HADOOP-7645) HTTP auth tests requiring Kerberos
infrastructure are not disabled on branch-0.20-security
Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aaron T. Myers reassigned HADOOP-7645:
--------------------------------------
Assignee: Jitendra Nath Pandey
> HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-7645
> URL: https://issues.apache.org/jira/browse/HADOOP-7645
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.205.0
> Reporter: Aaron T. Myers
> Assignee: Jitendra Nath Pandey
> Priority: Blocker
> Fix For: 0.20.205.0, 0.20.206.0
>
> Attachments: HADOOP-7645-20s.1.patch
>
>
> The back-port of HADOOP-7119 to branch-0.20-security included tests which require Kerberos infrastructure in order to run. In trunk and 0.23, these are disabled unless one enables the {{testKerberos}} maven profile. In branch-0.20-security, these tests are always run regardless, and so fail most of the time.
> See this Jenkins build for an example: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-0.20-security/26/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira