[jira] [Updated] (YARN-2662) TestCgroupsLCEResourcesHandler leaks file descriptors.
[ https://issues.apache.org/jira/browse/YARN-2662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated YARN-2662: -- Hadoop Flags: Reviewed +1 patch looks good. TestCgroupsLCEResourcesHandler leaks file descriptors. -- Key: YARN-2662 URL: https://issues.apache.org/jira/browse/YARN-2662 Project: Hadoop YARN Issue Type: Bug Components: test Reporter: Chris Nauroth Assignee: Chris Nauroth Priority: Minor Attachments: YARN-2662.1.patch {{TestCgroupsLCEResourcesHandler}} includes tests that write and read values from the various cgroups files. After the tests read from a file, they do not close it. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (YARN-1395) Distributed shell application master launched with debug flag can hang waiting for external ls process.
[ https://issues.apache.org/jira/browse/YARN-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo (Nicholas), SZE updated YARN-1395: - Hadoop Flags: Reviewed +1 patch looks good. Just a minor code style comment. See if it makes sense: {code} + sr = new StringReader(lines); + buf = new BufferedReader(sr); {code} I think we don't need a separated sr variable for StringReader and we don't need to close it separately. We may put them in one line {code} + buf = new BufferedReader(new StringReader(lines)); {code} When buf.close() is called, it will close the underlying stream; see [the source code|http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/7-b147/java/io/BufferedReader.java#BufferedReader.close%28%29]. Distributed shell application master launched with debug flag can hang waiting for external ls process. --- Key: YARN-1395 URL: https://issues.apache.org/jira/browse/YARN-1395 Project: Hadoop YARN Issue Type: Bug Components: applications/distributed-shell Affects Versions: 3.0.0, 2.2.0 Reporter: Chris Nauroth Assignee: Chris Nauroth Attachments: YARN-1395.1.patch Distributed shell launched with the debug flag will run {{ApplicationMaster#dumpOutDebugInfo}}. This method launches an external process to run ls and print the contents of the current working directory. We've seen that this can cause the application master to hang on {{Process#waitFor}}. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (YARN-84) Use Builder to get RPC server in YARN
[ https://issues.apache.org/jira/browse/YARN-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13721552#comment-13721552 ] Tsz Wo (Nicholas), SZE commented on YARN-84: Junping, thanks for posting the branch-2 patch. Since the original patch can be cleanly merged to branch-2. I will merge it instead. Use Builder to get RPC server in YARN - Key: YARN-84 URL: https://issues.apache.org/jira/browse/YARN-84 Project: Hadoop YARN Issue Type: Improvement Reporter: Brandon Li Assignee: Brandon Li Priority: Minor Fix For: 3.0.0 Attachments: MAPREDUCE-4628.patch, YARN-84-branch2.patch In HADOOP-8736, a Builder is introduced to replace all the getServer() variants. This JIRA is the change in YARN. -- 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] [Updated] (YARN-84) Use Builder to get RPC server in YARN
[ https://issues.apache.org/jira/browse/YARN-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo (Nicholas), SZE updated YARN-84: --- Merged this to branch-2 and branch-2.1-beta. Use Builder to get RPC server in YARN - Key: YARN-84 URL: https://issues.apache.org/jira/browse/YARN-84 Project: Hadoop YARN Issue Type: Improvement Reporter: Brandon Li Assignee: Brandon Li Priority: Minor Fix For: 3.0.0 Attachments: MAPREDUCE-4628.patch, YARN-84-branch2.patch In HADOOP-8736, a Builder is introduced to replace all the getServer() variants. This JIRA is the change in YARN. -- 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] [Created] (YARN-377) Fix test failure for HADOOP-9252
Tsz Wo (Nicholas), SZE created YARN-377: --- Summary: Fix test failure for HADOOP-9252 Key: YARN-377 URL: https://issues.apache.org/jira/browse/YARN-377 Project: Hadoop YARN Issue Type: Bug Reporter: Tsz Wo (Nicholas), SZE Priority: Minor HADOOP-9252 slightly changes the format of some StringUtils outputs. It may cause test failures. Also, some methods was deprecated by HADOOP-9252. The use of them should be replaced with the new methods. -- 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] [Updated] (YARN-377) Fix test failure for HADOOP-9252
[ https://issues.apache.org/jira/browse/YARN-377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo (Nicholas), SZE updated YARN-377: Description: HADOOP-9252 slightly changes the format of some StringUtils outputs. It may cause test failures. Also, some methods were deprecated by HADOOP-9252. The use of them should be replaced with the new methods. was: HADOOP-9252 slightly changes the format of some StringUtils outputs. It may cause test failures. Also, some methods was deprecated by HADOOP-9252. The use of them should be replaced with the new methods. Fix test failure for HADOOP-9252 Key: YARN-377 URL: https://issues.apache.org/jira/browse/YARN-377 Project: Hadoop YARN Issue Type: Bug Reporter: Tsz Wo (Nicholas), SZE Priority: Minor HADOOP-9252 slightly changes the format of some StringUtils outputs. It may cause test failures. Also, some methods were deprecated by HADOOP-9252. The use of them should be replaced with the new methods. -- 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