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 "Kihwal Lee (Created) (JIRA)" <ji...@apache.org> on 2012/01/07 01:05:41 UTC
[jira] [Created] (HADOOP-7964) Deadlock in class init.
Deadlock in class init.
-----------------------
Key: HADOOP-7964
URL: https://issues.apache.org/jira/browse/HADOOP-7964
Project: Hadoop Common
Issue Type: Bug
Components: security, util
Affects Versions: 1.0.0, 0.20.205.0, 0.24.0, 0.23.1, 1.1.0
Reporter: Kihwal Lee
Priority: Blocker
After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Suresh Srinivas (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13184395#comment-13184395 ]
Suresh Srinivas commented on HADOOP-7964:
-----------------------------------------
I committed the change to trunk and merged it into 0.23. Daryn, when you get a chance, please upload 0.20 version of the patch.
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964-2.patch, HADOOP-7964-3.patch, HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Kihwal Lee (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13181718#comment-13181718 ]
Kihwal Lee commented on HADOOP-7964:
------------------------------------
The following is partial stack trace of the hung dfs put.
{noformat}
Full thread dump Java HotSpot(TM) Server VM (17.0-b16 mixed mode):
"TGT Renewer for xxx@XXXXXX" daemon prio=10 tid=0x08263c00 nid=0x71f6 in Object.wait()
[0xe6b9a000]
java.lang.Thread.State: RUNNABLE
at org.apache.hadoop.security.SecurityUtil.setTokenServiceUseIp(SecurityUtil.java:71)
at org.apache.hadoop.security.SecurityUtil.<clinit>(SecurityUtil.java:62)
at org.apache.hadoop.security.UserGroupInformation.getTGT(UserGroupInformation.java:528)
- locked <0xf283f1e0> (a org.apache.hadoop.security.UserGroupInformation)
at org.apache.hadoop.security.UserGroupInformation.access$800(UserGroupInformation.java:77)
at org.apache.hadoop.security.UserGroupInformation$1.run(UserGroupInformation.java:555)
at java.lang.Thread.run(Thread.java:619)
"main" prio=10 tid=0x08066c00 nid=0x71e4 in Object.wait() [0xf7440000]
java.lang.Thread.State: RUNNABLE
at org.apache.hadoop.net.NetUtils.<clinit>(NetUtils.java:80)
at org.apache.hadoop.hdfs.server.namenode.NameNode.getAddress(NameNode.java:174)
at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:109)
at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2032)
at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:78)
at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2066)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2048)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:284)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:151)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:268)
at org.apache.hadoop.fs.Path.getFileSystem(Path.java:190)
at org.apache.hadoop.fs.shell.PathData.expandAsGlob(PathData.java:262)
at org.apache.hadoop.fs.shell.CommandWithDestination.getRemoteDestination(CommandWithDestination.java:80)
at org.apache.hadoop.fs.shell.CopyCommands$Put.processOptions(CopyCommands.java:164)
at org.apache.hadoop.fs.shell.Command.run(Command.java:153)
at org.apache.hadoop.fs.FsShell.run(FsShell.java:254)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:69)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:83)
at org.apache.hadoop.fs.FsShell.main(FsShell.java:296)
{noformat}
We haven't seen this in 0.20.205, which has the same stuff. Maybe it doesn't happen or happens rarely because of timing differences.
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Priority: Blocker
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13184415#comment-13184415 ]
Hudson commented on HADOOP-7964:
--------------------------------
Integrated in Hadoop-Mapreduce-0.23-Commit #377 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/377/])
HADOOP-7964. Merging change r1230249 from trunk to 0.23
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1230253
Files :
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/SecurityUtil.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFileSystemCanonicalization.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/NetUtilsTestResolver.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/NetUtilsTestResolver.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestSecurityUtil.java
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964-2.patch, HADOOP-7964-3.patch, HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Daryn Sharp (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182879#comment-13182879 ]
Daryn Sharp commented on HADOOP-7964:
-------------------------------------
Succinctly, every process that creates a kerberos authenticated connection will experience the race on its first connection. The ticket renewal thread and the main thread race to load the classes.
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13184934#comment-13184934 ]
Hudson commented on HADOOP-7964:
--------------------------------
Integrated in Hadoop-Mapreduce-0.23-Build #158 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/158/])
HADOOP-7964. Merging change r1230249 from trunk to 0.23
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1230253
Files :
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/SecurityUtil.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFileSystemCanonicalization.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/NetUtilsTestResolver.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/NetUtilsTestResolver.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestSecurityUtil.java
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964-2.patch, HADOOP-7964-3.patch, HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Suresh Srinivas (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suresh Srinivas updated HADOOP-7964:
------------------------------------
Target Version/s: 1.0.1 (was: 1.1.0)
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.24.0, 0.23.1, 1.0.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Fix For: 0.23.1, 1.0.1
>
> Attachments: HADOOP-7964-2.patch, HADOOP-7964-205.patch, HADOOP-7964-3.patch, HADOOP-7964.1.0.txt, HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Daryn Sharp (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183331#comment-13183331 ]
Daryn Sharp commented on HADOOP-7964:
-------------------------------------
This is a pretty major issue. Would someone please provide review feedback today?
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13184399#comment-13184399 ]
Hudson commented on HADOOP-7964:
--------------------------------
Integrated in Hadoop-Common-trunk-Commit #1528 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1528/])
HADOOP-7964. Deadlock in NetUtils and SecurityUtil class initialization. Contributed by Daryn Sharp.
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1230249
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/SecurityUtil.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFileSystemCanonicalization.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/NetUtilsTestResolver.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/NetUtilsTestResolver.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestSecurityUtil.java
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964-2.patch, HADOOP-7964-3.patch, HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Suresh Srinivas (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183596#comment-13183596 ]
Suresh Srinivas commented on HADOOP-7964:
-----------------------------------------
Daryn, patch looks good. A minor comment:
# Add @VisibleForTesting to SecurityUtil#useIpForTokenService and SecurityUtil#hostResolver. Consider just adding accessor for useIpForTokenService.
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Suresh Srinivas (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183633#comment-13183633 ]
Suresh Srinivas commented on HADOOP-7964:
-----------------------------------------
When you post the patch, can you delete and add a new file instead of move, so Jenkins can pick it up. I will do the need full to move the file, while committing.
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Suresh Srinivas (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182902#comment-13182902 ]
Suresh Srinivas commented on HADOOP-7964:
-----------------------------------------
Is this applicable to 0.20.205?
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Daryn Sharp (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daryn Sharp updated HADOOP-7964:
--------------------------------
Attachment: HADOOP-7964-2.patch
Add visibility tags.
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964-2.patch, HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Daryn Sharp (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182785#comment-13182785 ]
Daryn Sharp commented on HADOOP-7964:
-------------------------------------
I simply renamed one test file (net/NetUtilsTestResolver.java to security/NetUtilsTestResolver.java) to allow it to have package visibility. Should I submit a shell script, or is that for mass moves?
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13184160#comment-13184160 ]
Hadoop QA commented on HADOOP-7964:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12510194/HADOOP-7964-3.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 15 new or modified tests.
-1 javadoc. The javadoc tool appears to have generated 7 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 .
+1 contrib tests. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/503//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/503//console
This message is automatically generated.
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964-2.patch, HADOOP-7964-3.patch, HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Daryn Sharp (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183623#comment-13183623 ]
Daryn Sharp commented on HADOOP-7964:
-------------------------------------
bq. Add {{@VisibleForTesting}} to {{SecurityUtil#useIpForTokenService}} and {{SecurityUtil#hostResolver}}
Sure, good idea.
bq. Consider just adding accessor for {{useIpForTokenService}}.
{{useIpForTokenService}} is only intended to ever be used in one place by {{SecurityUtil#buildTokenService()}}. I thought it'd be faster to directly access the class member but I'll add an accessor if you like.
bq. We should perhaps post a patch for 205 also and get it in in a subsequent 1.x release.
Theoretically the patch should apply since the trunk code came from 205, but I'll double check.
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Daryn Sharp (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182938#comment-13182938 ]
Daryn Sharp commented on HADOOP-7964:
-------------------------------------
Per Kihwal's first comment, we haven't seen the error in 205, but this is the same code so we suspect the problem must be there.
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Suresh Srinivas (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13191799#comment-13191799 ]
Suresh Srinivas commented on HADOOP-7964:
-----------------------------------------
I committed the patch to branch-1 and branch-1.0
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.24.0, 0.23.1, 1.0.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Fix For: 0.23.1, 1.0.1
>
> Attachments: HADOOP-7964-2.patch, HADOOP-7964-205.patch, HADOOP-7964-3.patch, HADOOP-7964.1.0.txt, HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Suresh Srinivas (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suresh Srinivas updated HADOOP-7964:
------------------------------------
Resolution: Fixed
Fix Version/s: 1.0.1
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
Marking the jira as resolved. Thank you Daryn for working on this jira.
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.24.0, 0.23.1, 1.0.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Fix For: 0.23.1, 1.0.1
>
> Attachments: HADOOP-7964-2.patch, HADOOP-7964-205.patch, HADOOP-7964-3.patch, HADOOP-7964.1.0.txt, HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13184398#comment-13184398 ]
Hudson commented on HADOOP-7964:
--------------------------------
Integrated in Hadoop-Hdfs-trunk-Commit #1601 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1601/])
HADOOP-7964. Deadlock in NetUtils and SecurityUtil class initialization. Contributed by Daryn Sharp.
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1230249
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/SecurityUtil.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFileSystemCanonicalization.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/NetUtilsTestResolver.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/NetUtilsTestResolver.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestSecurityUtil.java
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964-2.patch, HADOOP-7964-3.patch, HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Suresh Srinivas (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suresh Srinivas updated HADOOP-7964:
------------------------------------
Attachment: HADOOP-7964.1.0.txt
Attached patch fixes the minor import issue in TestFileSystem.java that causes the build error.
+1 for the patch.
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.24.0, 0.23.1, 1.0.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Fix For: 0.23.1
>
> Attachments: HADOOP-7964-2.patch, HADOOP-7964-205.patch, HADOOP-7964-3.patch, HADOOP-7964.1.0.txt, HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13184425#comment-13184425 ]
Hudson commented on HADOOP-7964:
--------------------------------
Integrated in Hadoop-Mapreduce-trunk-Commit #1547 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1547/])
HADOOP-7964. Deadlock in NetUtils and SecurityUtil class initialization. Contributed by Daryn Sharp.
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1230249
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/SecurityUtil.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFileSystemCanonicalization.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/NetUtilsTestResolver.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/NetUtilsTestResolver.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestSecurityUtil.java
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964-2.patch, HADOOP-7964-3.patch, HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13191788#comment-13191788 ]
Hadoop QA commented on HADOOP-7964:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12511609/HADOOP-7964.1.0.txt
against trunk revision .
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 15 new or modified tests.
-1 patch. The patch command could not apply the patch.
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/525//console
This message is automatically generated.
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.24.0, 0.23.1, 1.0.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Fix For: 0.23.1
>
> Attachments: HADOOP-7964-2.patch, HADOOP-7964-205.patch, HADOOP-7964-3.patch, HADOOP-7964.1.0.txt, HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13184945#comment-13184945 ]
Hudson commented on HADOOP-7964:
--------------------------------
Integrated in Hadoop-Mapreduce-trunk #956 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/956/])
HADOOP-7964. Deadlock in NetUtils and SecurityUtil class initialization. Contributed by Daryn Sharp.
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1230249
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/SecurityUtil.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFileSystemCanonicalization.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/NetUtilsTestResolver.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/NetUtilsTestResolver.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestSecurityUtil.java
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964-2.patch, HADOOP-7964-3.patch, HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Daryn Sharp (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daryn Sharp updated HADOOP-7964:
--------------------------------
Attachment: HADOOP-7964.patch
Removed the static initialization loop in NetUtils and SecurityUtil. I'm not sure why this wasn't uncovered in 205 except that it's a race condition between a thread trying to load one of the classes, and another thread loading the other.
* Moved resolver code from {{NetUtils}} into {{SecurityUtil}}
* Updated {{NetUtils}} to call resolver in {{SecurityUtils}}
* Updated tests
* Did my good deed by removing simple javadoc warnings in {{SecurityUtils}}
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Daryn Sharp (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daryn Sharp updated HADOOP-7964:
--------------------------------
Target Version/s: 0.24.0, 0.23.1, 1.1.0 (was: 1.1.0, 0.23.1, 0.24.0)
Status: Patch Available (was: Open)
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 1.0.0, 0.20.205.0, 0.24.0, 0.23.1, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Daryn Sharp (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13184196#comment-13184196 ]
Daryn Sharp commented on HADOOP-7964:
-------------------------------------
New javadoc warnings are not introduced by this code. Some sun api warnings shifted from {{NetUtils}} to {{SecurityUtil}}, but there is no net increase.
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964-2.patch, HADOOP-7964-3.patch, HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Daryn Sharp (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daryn Sharp updated HADOOP-7964:
--------------------------------
Attachment: HADOOP-7964-3.patch
Didn't generate patch correctly for moved file. Let's try again.
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964-2.patch, HADOOP-7964-3.patch, HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13184405#comment-13184405 ]
Hudson commented on HADOOP-7964:
--------------------------------
Integrated in Hadoop-Common-0.23-Commit #366 (See [https://builds.apache.org/job/Hadoop-Common-0.23-Commit/366/])
HADOOP-7964. Merging change r1230249 from trunk to 0.23
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1230253
Files :
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/SecurityUtil.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFileSystemCanonicalization.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/NetUtilsTestResolver.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/NetUtilsTestResolver.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestSecurityUtil.java
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964-2.patch, HADOOP-7964-3.patch, HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Harsh J (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Harsh J updated HADOOP-7964:
----------------------------
Target Version/s: 1.1.0 (was: 1.1.0, 0.23.1, 0.24.0)
Affects Version/s: (was: 1.1.0)
(was: 0.20.205.0)
Fix Version/s: 0.23.1
Updating version fields to reflect state. Pending patch+commit for branch-1.
Does this also affect branch-0.22?
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.24.0, 0.23.1, 1.0.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Fix For: 0.23.1
>
> Attachments: HADOOP-7964-2.patch, HADOOP-7964-3.patch, HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (HADOOP-7964) Deadlock in class init.
Posted by "Daryn Sharp (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daryn Sharp reassigned HADOOP-7964:
-----------------------------------
Assignee: Daryn Sharp
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Daryn Sharp (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daryn Sharp updated HADOOP-7964:
--------------------------------
Attachment: HADOOP-7964-205.patch
Backported patch. Only conflict was a few annotations.
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.24.0, 0.23.1, 1.0.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Fix For: 0.23.1
>
> Attachments: HADOOP-7964-2.patch, HADOOP-7964-205.patch, HADOOP-7964-3.patch, HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13184899#comment-13184899 ]
Hudson commented on HADOOP-7964:
--------------------------------
Integrated in Hadoop-Hdfs-trunk #923 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/923/])
HADOOP-7964. Deadlock in NetUtils and SecurityUtil class initialization. Contributed by Daryn Sharp.
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1230249
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/SecurityUtil.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFileSystemCanonicalization.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/NetUtilsTestResolver.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/NetUtilsTestResolver.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestSecurityUtil.java
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964-2.patch, HADOOP-7964-3.patch, HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13189920#comment-13189920 ]
Hadoop QA commented on HADOOP-7964:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12511274/HADOOP-7964-205.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 12 new or modified tests.
-1 patch. The patch command could not apply the patch.
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/521//console
This message is automatically generated.
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.24.0, 0.23.1, 1.0.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Fix For: 0.23.1
>
> Attachments: HADOOP-7964-2.patch, HADOOP-7964-205.patch, HADOOP-7964-3.patch, HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Suresh Srinivas (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183575#comment-13183575 ]
Suresh Srinivas commented on HADOOP-7964:
-----------------------------------------
Daryn for jenkins builds to work, can you upload a patch with removal of moved file to delete and a new add? I will do the required to move it when committing the change.
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Suresh Srinivas (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183597#comment-13183597 ]
Suresh Srinivas commented on HADOOP-7964:
-----------------------------------------
bq. Per Kihwal's first comment, we haven't seen the error in 205, but this is the same code so we suspect the problem must be there.
We should perhaps post a patch for 205 also and get it in in a subsequent 1.x release.
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182736#comment-13182736 ]
Hadoop QA commented on HADOOP-7964:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12509943/HADOOP-7964.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 15 new or modified tests.
-1 patch. The patch command could not apply the patch.
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/501//console
This message is automatically generated.
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13184134#comment-13184134 ]
Hadoop QA commented on HADOOP-7964:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12510192/HADOOP-7964-2.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 13 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
-1 javac. The patch appears to cause tar ant target to fail.
+1 eclipse:eclipse. The patch built with eclipse:eclipse.
-1 findbugs. The patch appears to cause Findbugs (version 1.3.9) to fail.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
-1 core tests. The patch failed the unit tests build
+1 contrib tests. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/502//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/502//console
This message is automatically generated.
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964-2.patch, HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13184911#comment-13184911 ]
Hudson commented on HADOOP-7964:
--------------------------------
Integrated in Hadoop-Hdfs-0.23-Build #136 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/136/])
HADOOP-7964. Merging change r1230249 from trunk to 0.23
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1230253
Files :
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/SecurityUtil.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFileSystemCanonicalization.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/NetUtilsTestResolver.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/NetUtilsTestResolver.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestSecurityUtil.java
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964-2.patch, HADOOP-7964-3.patch, HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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-7964) Deadlock in class init.
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13184404#comment-13184404 ]
Hudson commented on HADOOP-7964:
--------------------------------
Integrated in Hadoop-Hdfs-0.23-Commit #356 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/356/])
HADOOP-7964. Merging change r1230249 from trunk to 0.23
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1230253
Files :
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/SecurityUtil.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFileSystemCanonicalization.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/NetUtilsTestResolver.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/NetUtilsTestResolver.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestSecurityUtil.java
> Deadlock in class init.
> -----------------------
>
> Key: HADOOP-7964
> URL: https://issues.apache.org/jira/browse/HADOOP-7964
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, util
> Affects Versions: 0.20.205.0, 0.24.0, 0.23.1, 1.0.0, 1.1.0
> Reporter: Kihwal Lee
> Assignee: Daryn Sharp
> Priority: Blocker
> Attachments: HADOOP-7964-2.patch, HADOOP-7964-3.patch, HADOOP-7964.patch
>
>
> After HADOOP-7808, client-side commands hang occasionally. There are cyclic dependencies in NetUtils and SecurityUtil class initialization. Upon initial look at the stack trace, two threads deadlock when they hit the either of class init the same time.
--
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