[jira] [Commented] (HDFS-3824) TestHftpDelegationToken fails intermittently with JDK7

2012-10-11 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13474095#comment-13474095
 ] 

Hudson commented on HDFS-3824:
--

Integrated in Hadoop-Hdfs-0.23-Build #401 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/401/])
merge -r 1396705:1396706 from branch-2. FIXES: HDFS-3824 (Revision 1396707)

 Result = SUCCESS
tgraves : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1396707
Files : 
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestHftpDelegationToken.java


 TestHftpDelegationToken fails intermittently with JDK7
 --

 Key: HDFS-3824
 URL: https://issues.apache.org/jira/browse/HDFS-3824
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: test
Affects Versions: 2.0.2-alpha
 Environment: Apache Maven 3.0.4
 Maven home: /usr/share/maven
 Java version: 1.7.0_04, vendor: Oracle Corporation
 Java home: /usr/lib/jvm/jdk1.7.0_04/jre
 Default locale: en_US, platform encoding: ISO-8859-1
 OS name: linux, version: 3.2.0-25-generic, arch: amd64, family: unix
Reporter: Trevor Robinson
Assignee: Trevor Robinson
  Labels: java7
 Fix For: 3.0.0, 2.0.3-alpha, 0.23.5

 Attachments: HDFS-3824.patch, HDFS-3824.patch


 {{testHdfsDelegationToken}} fails if not run before 
 {{testSelectHftpDelegationToken}} and {{testSelectHsftpDelegationToken}}:
 {noformat}
 Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.541 sec  
 FAILURE!
 testHdfsDelegationToken(org.apache.hadoop.hdfs.TestHftpDelegationToken)  Time 
 elapsed: 0.039 sec   FAILURE!
 java.lang.AssertionError: wrong token expected same:Kind: 
 HDFS_DELEGATION_TOKEN, Service: 127.0.0.1:8020, Ident:  was not:null
 {noformat}
 Debug output:
 {noformat}
 2012-08-20 18:46:54,742 INFO  fs.FileSystem (HftpFileSystem.java:run(251)) - 
 Couldn't get a delegation token from http://localhost:50470 using http.
 2012-08-20 18:46:54,743 DEBUG fs.FileSystem (HftpFileSystem.java:run(254)) - 
 error was
 java.io.IOException: Unable to obtain remote token
 at 
 org.apache.hadoop.hdfs.tools.DelegationTokenFetcher.getDTfromRemote(DelegationTokenFetcher.java:239)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem$2.run(HftpFileSystem.java:249)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem$2.run(HftpFileSystem.java:243)
 at java.security.AccessController.doPrivileged(Native Method)
 at javax.security.auth.Subject.doAs(Subject.java:416)
 at 
 org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem.getDelegationToken(HftpFileSystem.java:243)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem.initDelegationToken(HftpFileSystem.java:196)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem.initialize(HftpFileSystem.java:185)
 at 
 org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2284)
 at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:85)
 at 
 org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2318)
 at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2300)
 at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:315)
 at 
 org.apache.hadoop.hdfs.TestHftpDelegationToken$1.run(TestHftpDelegationToken.java:131)
 at 
 org.apache.hadoop.hdfs.TestHftpDelegationToken$1.run(TestHftpDelegationToken.java:128)
 at java.security.AccessController.doPrivileged(Native Method)
 at javax.security.auth.Subject.doAs(Subject.java:416)
 at 
 org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
 at 
 org.apache.hadoop.hdfs.TestHftpDelegationToken.testHdfsDelegationToken(TestHftpDelegationToken.java:61)
 ...
 Caused by: java.net.ConnectException: Connection refused
 ...
 {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HDFS-3824) TestHftpDelegationToken fails intermittently with JDK7

2012-10-11 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13474117#comment-13474117
 ] 

Hudson commented on HDFS-3824:
--

Integrated in Hadoop-Hdfs-trunk #1192 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/1192/])
HDFS-3824. TestHftpDelegationToken fails intermittently with JDK7 (Trevor 
Robinson via tgraves) (Revision 1396705)

 Result = SUCCESS
tgraves : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1396705
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestHftpDelegationToken.java


 TestHftpDelegationToken fails intermittently with JDK7
 --

 Key: HDFS-3824
 URL: https://issues.apache.org/jira/browse/HDFS-3824
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: test
Affects Versions: 2.0.2-alpha
 Environment: Apache Maven 3.0.4
 Maven home: /usr/share/maven
 Java version: 1.7.0_04, vendor: Oracle Corporation
 Java home: /usr/lib/jvm/jdk1.7.0_04/jre
 Default locale: en_US, platform encoding: ISO-8859-1
 OS name: linux, version: 3.2.0-25-generic, arch: amd64, family: unix
Reporter: Trevor Robinson
Assignee: Trevor Robinson
  Labels: java7
 Fix For: 3.0.0, 2.0.3-alpha, 0.23.5

 Attachments: HDFS-3824.patch, HDFS-3824.patch


 {{testHdfsDelegationToken}} fails if not run before 
 {{testSelectHftpDelegationToken}} and {{testSelectHsftpDelegationToken}}:
 {noformat}
 Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.541 sec  
 FAILURE!
 testHdfsDelegationToken(org.apache.hadoop.hdfs.TestHftpDelegationToken)  Time 
 elapsed: 0.039 sec   FAILURE!
 java.lang.AssertionError: wrong token expected same:Kind: 
 HDFS_DELEGATION_TOKEN, Service: 127.0.0.1:8020, Ident:  was not:null
 {noformat}
 Debug output:
 {noformat}
 2012-08-20 18:46:54,742 INFO  fs.FileSystem (HftpFileSystem.java:run(251)) - 
 Couldn't get a delegation token from http://localhost:50470 using http.
 2012-08-20 18:46:54,743 DEBUG fs.FileSystem (HftpFileSystem.java:run(254)) - 
 error was
 java.io.IOException: Unable to obtain remote token
 at 
 org.apache.hadoop.hdfs.tools.DelegationTokenFetcher.getDTfromRemote(DelegationTokenFetcher.java:239)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem$2.run(HftpFileSystem.java:249)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem$2.run(HftpFileSystem.java:243)
 at java.security.AccessController.doPrivileged(Native Method)
 at javax.security.auth.Subject.doAs(Subject.java:416)
 at 
 org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem.getDelegationToken(HftpFileSystem.java:243)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem.initDelegationToken(HftpFileSystem.java:196)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem.initialize(HftpFileSystem.java:185)
 at 
 org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2284)
 at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:85)
 at 
 org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2318)
 at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2300)
 at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:315)
 at 
 org.apache.hadoop.hdfs.TestHftpDelegationToken$1.run(TestHftpDelegationToken.java:131)
 at 
 org.apache.hadoop.hdfs.TestHftpDelegationToken$1.run(TestHftpDelegationToken.java:128)
 at java.security.AccessController.doPrivileged(Native Method)
 at javax.security.auth.Subject.doAs(Subject.java:416)
 at 
 org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
 at 
 org.apache.hadoop.hdfs.TestHftpDelegationToken.testHdfsDelegationToken(TestHftpDelegationToken.java:61)
 ...
 Caused by: java.net.ConnectException: Connection refused
 ...
 {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HDFS-3824) TestHftpDelegationToken fails intermittently with JDK7

2012-10-10 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13473390#comment-13473390
 ] 

Hadoop QA commented on HDFS-3824:
-

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12548581/HDFS-3824.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 1 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  The javadoc tool did not generate any 
warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 1.3.9) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in 
hadoop-hdfs-project/hadoop-hdfs.

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

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

This message is automatically generated.

 TestHftpDelegationToken fails intermittently with JDK7
 --

 Key: HDFS-3824
 URL: https://issues.apache.org/jira/browse/HDFS-3824
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: test
Affects Versions: 2.0.2-alpha
 Environment: Apache Maven 3.0.4
 Maven home: /usr/share/maven
 Java version: 1.7.0_04, vendor: Oracle Corporation
 Java home: /usr/lib/jvm/jdk1.7.0_04/jre
 Default locale: en_US, platform encoding: ISO-8859-1
 OS name: linux, version: 3.2.0-25-generic, arch: amd64, family: unix
Reporter: Trevor Robinson
Assignee: Trevor Robinson
  Labels: java7
 Attachments: HDFS-3824.patch, HDFS-3824.patch


 {{testHdfsDelegationToken}} fails if not run before 
 {{testSelectHftpDelegationToken}} and {{testSelectHsftpDelegationToken}}:
 {noformat}
 Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.541 sec  
 FAILURE!
 testHdfsDelegationToken(org.apache.hadoop.hdfs.TestHftpDelegationToken)  Time 
 elapsed: 0.039 sec   FAILURE!
 java.lang.AssertionError: wrong token expected same:Kind: 
 HDFS_DELEGATION_TOKEN, Service: 127.0.0.1:8020, Ident:  was not:null
 {noformat}
 Debug output:
 {noformat}
 2012-08-20 18:46:54,742 INFO  fs.FileSystem (HftpFileSystem.java:run(251)) - 
 Couldn't get a delegation token from http://localhost:50470 using http.
 2012-08-20 18:46:54,743 DEBUG fs.FileSystem (HftpFileSystem.java:run(254)) - 
 error was
 java.io.IOException: Unable to obtain remote token
 at 
 org.apache.hadoop.hdfs.tools.DelegationTokenFetcher.getDTfromRemote(DelegationTokenFetcher.java:239)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem$2.run(HftpFileSystem.java:249)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem$2.run(HftpFileSystem.java:243)
 at java.security.AccessController.doPrivileged(Native Method)
 at javax.security.auth.Subject.doAs(Subject.java:416)
 at 
 org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem.getDelegationToken(HftpFileSystem.java:243)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem.initDelegationToken(HftpFileSystem.java:196)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem.initialize(HftpFileSystem.java:185)
 at 
 org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2284)
 at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:85)
 at 
 org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2318)
 at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2300)
 at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:315)
 at 
 org.apache.hadoop.hdfs.TestHftpDelegationToken$1.run(TestHftpDelegationToken.java:131)
 at 
 org.apache.hadoop.hdfs.TestHftpDelegationToken$1.run(TestHftpDelegationToken.java:128)
 at java.security.AccessController.doPrivileged(Native Method)
 at javax.security.auth.Subject.doAs(Subject.java:416)
 at 
 org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
 at 
 org.apache.hadoop.hdfs.TestHftpDelegationToken.testHdfsDelegationToken(TestHftpDelegationToken.java:61)
 ...
 Caused by: java.net.ConnectException: Connection refused
 ...
 {noformat}

--
This message is 

[jira] [Commented] (HDFS-3824) TestHftpDelegationToken fails intermittently with JDK7

2012-10-10 Thread Thomas Graves (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13473391#comment-13473391
 ] 

Thomas Graves commented on HDFS-3824:
-

+1. Thanks Trevor.

 TestHftpDelegationToken fails intermittently with JDK7
 --

 Key: HDFS-3824
 URL: https://issues.apache.org/jira/browse/HDFS-3824
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: test
Affects Versions: 2.0.2-alpha
 Environment: Apache Maven 3.0.4
 Maven home: /usr/share/maven
 Java version: 1.7.0_04, vendor: Oracle Corporation
 Java home: /usr/lib/jvm/jdk1.7.0_04/jre
 Default locale: en_US, platform encoding: ISO-8859-1
 OS name: linux, version: 3.2.0-25-generic, arch: amd64, family: unix
Reporter: Trevor Robinson
Assignee: Trevor Robinson
  Labels: java7
 Attachments: HDFS-3824.patch, HDFS-3824.patch


 {{testHdfsDelegationToken}} fails if not run before 
 {{testSelectHftpDelegationToken}} and {{testSelectHsftpDelegationToken}}:
 {noformat}
 Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.541 sec  
 FAILURE!
 testHdfsDelegationToken(org.apache.hadoop.hdfs.TestHftpDelegationToken)  Time 
 elapsed: 0.039 sec   FAILURE!
 java.lang.AssertionError: wrong token expected same:Kind: 
 HDFS_DELEGATION_TOKEN, Service: 127.0.0.1:8020, Ident:  was not:null
 {noformat}
 Debug output:
 {noformat}
 2012-08-20 18:46:54,742 INFO  fs.FileSystem (HftpFileSystem.java:run(251)) - 
 Couldn't get a delegation token from http://localhost:50470 using http.
 2012-08-20 18:46:54,743 DEBUG fs.FileSystem (HftpFileSystem.java:run(254)) - 
 error was
 java.io.IOException: Unable to obtain remote token
 at 
 org.apache.hadoop.hdfs.tools.DelegationTokenFetcher.getDTfromRemote(DelegationTokenFetcher.java:239)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem$2.run(HftpFileSystem.java:249)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem$2.run(HftpFileSystem.java:243)
 at java.security.AccessController.doPrivileged(Native Method)
 at javax.security.auth.Subject.doAs(Subject.java:416)
 at 
 org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem.getDelegationToken(HftpFileSystem.java:243)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem.initDelegationToken(HftpFileSystem.java:196)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem.initialize(HftpFileSystem.java:185)
 at 
 org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2284)
 at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:85)
 at 
 org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2318)
 at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2300)
 at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:315)
 at 
 org.apache.hadoop.hdfs.TestHftpDelegationToken$1.run(TestHftpDelegationToken.java:131)
 at 
 org.apache.hadoop.hdfs.TestHftpDelegationToken$1.run(TestHftpDelegationToken.java:128)
 at java.security.AccessController.doPrivileged(Native Method)
 at javax.security.auth.Subject.doAs(Subject.java:416)
 at 
 org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
 at 
 org.apache.hadoop.hdfs.TestHftpDelegationToken.testHdfsDelegationToken(TestHftpDelegationToken.java:61)
 ...
 Caused by: java.net.ConnectException: Connection refused
 ...
 {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HDFS-3824) TestHftpDelegationToken fails intermittently with JDK7

2012-10-10 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13473403#comment-13473403
 ] 

Hudson commented on HDFS-3824:
--

Integrated in Hadoop-Hdfs-trunk-Commit #2902 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2902/])
HDFS-3824. TestHftpDelegationToken fails intermittently with JDK7 (Trevor 
Robinson via tgraves) (Revision 1396705)

 Result = SUCCESS
tgraves : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1396705
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestHftpDelegationToken.java


 TestHftpDelegationToken fails intermittently with JDK7
 --

 Key: HDFS-3824
 URL: https://issues.apache.org/jira/browse/HDFS-3824
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: test
Affects Versions: 2.0.2-alpha
 Environment: Apache Maven 3.0.4
 Maven home: /usr/share/maven
 Java version: 1.7.0_04, vendor: Oracle Corporation
 Java home: /usr/lib/jvm/jdk1.7.0_04/jre
 Default locale: en_US, platform encoding: ISO-8859-1
 OS name: linux, version: 3.2.0-25-generic, arch: amd64, family: unix
Reporter: Trevor Robinson
Assignee: Trevor Robinson
  Labels: java7
 Fix For: 3.0.0, 2.0.3-alpha, 0.23.5

 Attachments: HDFS-3824.patch, HDFS-3824.patch


 {{testHdfsDelegationToken}} fails if not run before 
 {{testSelectHftpDelegationToken}} and {{testSelectHsftpDelegationToken}}:
 {noformat}
 Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.541 sec  
 FAILURE!
 testHdfsDelegationToken(org.apache.hadoop.hdfs.TestHftpDelegationToken)  Time 
 elapsed: 0.039 sec   FAILURE!
 java.lang.AssertionError: wrong token expected same:Kind: 
 HDFS_DELEGATION_TOKEN, Service: 127.0.0.1:8020, Ident:  was not:null
 {noformat}
 Debug output:
 {noformat}
 2012-08-20 18:46:54,742 INFO  fs.FileSystem (HftpFileSystem.java:run(251)) - 
 Couldn't get a delegation token from http://localhost:50470 using http.
 2012-08-20 18:46:54,743 DEBUG fs.FileSystem (HftpFileSystem.java:run(254)) - 
 error was
 java.io.IOException: Unable to obtain remote token
 at 
 org.apache.hadoop.hdfs.tools.DelegationTokenFetcher.getDTfromRemote(DelegationTokenFetcher.java:239)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem$2.run(HftpFileSystem.java:249)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem$2.run(HftpFileSystem.java:243)
 at java.security.AccessController.doPrivileged(Native Method)
 at javax.security.auth.Subject.doAs(Subject.java:416)
 at 
 org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem.getDelegationToken(HftpFileSystem.java:243)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem.initDelegationToken(HftpFileSystem.java:196)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem.initialize(HftpFileSystem.java:185)
 at 
 org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2284)
 at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:85)
 at 
 org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2318)
 at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2300)
 at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:315)
 at 
 org.apache.hadoop.hdfs.TestHftpDelegationToken$1.run(TestHftpDelegationToken.java:131)
 at 
 org.apache.hadoop.hdfs.TestHftpDelegationToken$1.run(TestHftpDelegationToken.java:128)
 at java.security.AccessController.doPrivileged(Native Method)
 at javax.security.auth.Subject.doAs(Subject.java:416)
 at 
 org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
 at 
 org.apache.hadoop.hdfs.TestHftpDelegationToken.testHdfsDelegationToken(TestHftpDelegationToken.java:61)
 ...
 Caused by: java.net.ConnectException: Connection refused
 ...
 {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HDFS-3824) TestHftpDelegationToken fails intermittently with JDK7

2012-10-10 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13473404#comment-13473404
 ] 

Hudson commented on HDFS-3824:
--

Integrated in Hadoop-Common-trunk-Commit #2840 (See 
[https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2840/])
HDFS-3824. TestHftpDelegationToken fails intermittently with JDK7 (Trevor 
Robinson via tgraves) (Revision 1396705)

 Result = SUCCESS
tgraves : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1396705
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestHftpDelegationToken.java


 TestHftpDelegationToken fails intermittently with JDK7
 --

 Key: HDFS-3824
 URL: https://issues.apache.org/jira/browse/HDFS-3824
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: test
Affects Versions: 2.0.2-alpha
 Environment: Apache Maven 3.0.4
 Maven home: /usr/share/maven
 Java version: 1.7.0_04, vendor: Oracle Corporation
 Java home: /usr/lib/jvm/jdk1.7.0_04/jre
 Default locale: en_US, platform encoding: ISO-8859-1
 OS name: linux, version: 3.2.0-25-generic, arch: amd64, family: unix
Reporter: Trevor Robinson
Assignee: Trevor Robinson
  Labels: java7
 Fix For: 3.0.0, 2.0.3-alpha, 0.23.5

 Attachments: HDFS-3824.patch, HDFS-3824.patch


 {{testHdfsDelegationToken}} fails if not run before 
 {{testSelectHftpDelegationToken}} and {{testSelectHsftpDelegationToken}}:
 {noformat}
 Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.541 sec  
 FAILURE!
 testHdfsDelegationToken(org.apache.hadoop.hdfs.TestHftpDelegationToken)  Time 
 elapsed: 0.039 sec   FAILURE!
 java.lang.AssertionError: wrong token expected same:Kind: 
 HDFS_DELEGATION_TOKEN, Service: 127.0.0.1:8020, Ident:  was not:null
 {noformat}
 Debug output:
 {noformat}
 2012-08-20 18:46:54,742 INFO  fs.FileSystem (HftpFileSystem.java:run(251)) - 
 Couldn't get a delegation token from http://localhost:50470 using http.
 2012-08-20 18:46:54,743 DEBUG fs.FileSystem (HftpFileSystem.java:run(254)) - 
 error was
 java.io.IOException: Unable to obtain remote token
 at 
 org.apache.hadoop.hdfs.tools.DelegationTokenFetcher.getDTfromRemote(DelegationTokenFetcher.java:239)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem$2.run(HftpFileSystem.java:249)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem$2.run(HftpFileSystem.java:243)
 at java.security.AccessController.doPrivileged(Native Method)
 at javax.security.auth.Subject.doAs(Subject.java:416)
 at 
 org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem.getDelegationToken(HftpFileSystem.java:243)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem.initDelegationToken(HftpFileSystem.java:196)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem.initialize(HftpFileSystem.java:185)
 at 
 org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2284)
 at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:85)
 at 
 org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2318)
 at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2300)
 at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:315)
 at 
 org.apache.hadoop.hdfs.TestHftpDelegationToken$1.run(TestHftpDelegationToken.java:131)
 at 
 org.apache.hadoop.hdfs.TestHftpDelegationToken$1.run(TestHftpDelegationToken.java:128)
 at java.security.AccessController.doPrivileged(Native Method)
 at javax.security.auth.Subject.doAs(Subject.java:416)
 at 
 org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
 at 
 org.apache.hadoop.hdfs.TestHftpDelegationToken.testHdfsDelegationToken(TestHftpDelegationToken.java:61)
 ...
 Caused by: java.net.ConnectException: Connection refused
 ...
 {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HDFS-3824) TestHftpDelegationToken fails intermittently with JDK7

2012-10-10 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13473445#comment-13473445
 ] 

Hudson commented on HDFS-3824:
--

Integrated in Hadoop-Mapreduce-trunk-Commit #2863 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2863/])
HDFS-3824. TestHftpDelegationToken fails intermittently with JDK7 (Trevor 
Robinson via tgraves) (Revision 1396705)

 Result = FAILURE
tgraves : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1396705
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestHftpDelegationToken.java


 TestHftpDelegationToken fails intermittently with JDK7
 --

 Key: HDFS-3824
 URL: https://issues.apache.org/jira/browse/HDFS-3824
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: test
Affects Versions: 2.0.2-alpha
 Environment: Apache Maven 3.0.4
 Maven home: /usr/share/maven
 Java version: 1.7.0_04, vendor: Oracle Corporation
 Java home: /usr/lib/jvm/jdk1.7.0_04/jre
 Default locale: en_US, platform encoding: ISO-8859-1
 OS name: linux, version: 3.2.0-25-generic, arch: amd64, family: unix
Reporter: Trevor Robinson
Assignee: Trevor Robinson
  Labels: java7
 Fix For: 3.0.0, 2.0.3-alpha, 0.23.5

 Attachments: HDFS-3824.patch, HDFS-3824.patch


 {{testHdfsDelegationToken}} fails if not run before 
 {{testSelectHftpDelegationToken}} and {{testSelectHsftpDelegationToken}}:
 {noformat}
 Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.541 sec  
 FAILURE!
 testHdfsDelegationToken(org.apache.hadoop.hdfs.TestHftpDelegationToken)  Time 
 elapsed: 0.039 sec   FAILURE!
 java.lang.AssertionError: wrong token expected same:Kind: 
 HDFS_DELEGATION_TOKEN, Service: 127.0.0.1:8020, Ident:  was not:null
 {noformat}
 Debug output:
 {noformat}
 2012-08-20 18:46:54,742 INFO  fs.FileSystem (HftpFileSystem.java:run(251)) - 
 Couldn't get a delegation token from http://localhost:50470 using http.
 2012-08-20 18:46:54,743 DEBUG fs.FileSystem (HftpFileSystem.java:run(254)) - 
 error was
 java.io.IOException: Unable to obtain remote token
 at 
 org.apache.hadoop.hdfs.tools.DelegationTokenFetcher.getDTfromRemote(DelegationTokenFetcher.java:239)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem$2.run(HftpFileSystem.java:249)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem$2.run(HftpFileSystem.java:243)
 at java.security.AccessController.doPrivileged(Native Method)
 at javax.security.auth.Subject.doAs(Subject.java:416)
 at 
 org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem.getDelegationToken(HftpFileSystem.java:243)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem.initDelegationToken(HftpFileSystem.java:196)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem.initialize(HftpFileSystem.java:185)
 at 
 org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2284)
 at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:85)
 at 
 org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2318)
 at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2300)
 at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:315)
 at 
 org.apache.hadoop.hdfs.TestHftpDelegationToken$1.run(TestHftpDelegationToken.java:131)
 at 
 org.apache.hadoop.hdfs.TestHftpDelegationToken$1.run(TestHftpDelegationToken.java:128)
 at java.security.AccessController.doPrivileged(Native Method)
 at javax.security.auth.Subject.doAs(Subject.java:416)
 at 
 org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
 at 
 org.apache.hadoop.hdfs.TestHftpDelegationToken.testHdfsDelegationToken(TestHftpDelegationToken.java:61)
 ...
 Caused by: java.net.ConnectException: Connection refused
 ...
 {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HDFS-3824) TestHftpDelegationToken fails intermittently with JDK7

2012-08-21 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13439089#comment-13439089
 ] 

Hadoop QA commented on HDFS-3824:
-

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

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

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

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

+1 javadoc.  The javadoc tool did not generate any warning messages.

+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 failed these unit tests in 
hadoop-hdfs-project/hadoop-hdfs:

  org.apache.hadoop.hdfs.server.namenode.TestFsck
  org.apache.hadoop.hdfs.TestDatanodeBlockScanner

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

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

This message is automatically generated.

 TestHftpDelegationToken fails intermittently with JDK7
 --

 Key: HDFS-3824
 URL: https://issues.apache.org/jira/browse/HDFS-3824
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: test
Affects Versions: 2.2.0-alpha
 Environment: Apache Maven 3.0.4
 Maven home: /usr/share/maven
 Java version: 1.7.0_04, vendor: Oracle Corporation
 Java home: /usr/lib/jvm/jdk1.7.0_04/jre
 Default locale: en_US, platform encoding: ISO-8859-1
 OS name: linux, version: 3.2.0-25-generic, arch: amd64, family: unix
Reporter: Trevor Robinson
Assignee: Trevor Robinson
  Labels: java7
 Attachments: HDFS-3824.patch


 {{testHdfsDelegationToken}} fails if not run before 
 {{testSelectHftpDelegationToken}} and {{testSelectHsftpDelegationToken}}:
 {noformat}
 Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.541 sec  
 FAILURE!
 testHdfsDelegationToken(org.apache.hadoop.hdfs.TestHftpDelegationToken)  Time 
 elapsed: 0.039 sec   FAILURE!
 java.lang.AssertionError: wrong token expected same:Kind: 
 HDFS_DELEGATION_TOKEN, Service: 127.0.0.1:8020, Ident:  was not:null
 {noformat}
 Debug output:
 {noformat}
 2012-08-20 18:46:54,742 INFO  fs.FileSystem (HftpFileSystem.java:run(251)) - 
 Couldn't get a delegation token from http://localhost:50470 using http.
 2012-08-20 18:46:54,743 DEBUG fs.FileSystem (HftpFileSystem.java:run(254)) - 
 error was
 java.io.IOException: Unable to obtain remote token
 at 
 org.apache.hadoop.hdfs.tools.DelegationTokenFetcher.getDTfromRemote(DelegationTokenFetcher.java:239)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem$2.run(HftpFileSystem.java:249)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem$2.run(HftpFileSystem.java:243)
 at java.security.AccessController.doPrivileged(Native Method)
 at javax.security.auth.Subject.doAs(Subject.java:416)
 at 
 org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem.getDelegationToken(HftpFileSystem.java:243)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem.initDelegationToken(HftpFileSystem.java:196)
 at 
 org.apache.hadoop.hdfs.HftpFileSystem.initialize(HftpFileSystem.java:185)
 at 
 org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2284)
 at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:85)
 at 
 org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2318)
 at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2300)
 at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:315)
 at 
 org.apache.hadoop.hdfs.TestHftpDelegationToken$1.run(TestHftpDelegationToken.java:131)
 at 
 org.apache.hadoop.hdfs.TestHftpDelegationToken$1.run(TestHftpDelegationToken.java:128)
 at java.security.AccessController.doPrivileged(Native Method)
 at javax.security.auth.Subject.doAs(Subject.java:416)
 at 
 org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
 at 
 org.apache.hadoop.hdfs.TestHftpDelegationToken.testHdfsDelegationToken(TestHftpDelegationToken.java:61)
 ...
 Caused by: java.net.ConnectException: Connection refused
 ...
 {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact