[jira] [Updated] (YARN-2662) TestCgroupsLCEResourcesHandler leaks file descriptors.

2014-10-09 Thread Tsz Wo Nicholas Sze (JIRA)

 [ 
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-2662) TestCgroupsLCEResourcesHandler leaks file descriptors.

2014-10-08 Thread Chris Nauroth (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-2662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Nauroth updated YARN-2662:

Attachment: YARN-2662.1.patch

Here is a small patch with the fix.  The bug had been causing test failures on 
Windows.  With this patch, the test now passes on Windows.

 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)