[ https://issues.apache.org/jira/browse/MAPREDUCE-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12861554#action_12861554
]
Scott Chen commented on MAPREDUCE-1568:
---------------------------------------
Here's the results of running TestLinuxTaskController
{code}
Testsuite: org.apache.hadoop.mapred.TestLinuxTaskController
Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.149 sec
------------- Standard Output ---------------
2010-04-27 14:21:31,692 INFO mapred.ClusterWithLinuxTaskController (ClusterWithLinuxTaskController.java:isTaskExecPathPassed(264))
- Invalid taskcontroller-path : ${taskcontroller-path}
2010-04-27 14:21:31,695 INFO mapred.ClusterWithLinuxTaskController (ClusterWithLinuxTaskController.java:isTaskExecPathPassed(264))
- Invalid taskcontroller-path : ${taskcontroller-path}
------------- ---------------- ---------------
Testcase: testTaskControllerGroup took 0.135 sec
{code}
> TrackerDistributedCacheManager should clean up cache in a background thread
> ---------------------------------------------------------------------------
>
> Key: MAPREDUCE-1568
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1568
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Affects Versions: 0.22.0
> Reporter: Scott Chen
> Assignee: Scott Chen
> Fix For: 0.22.0
>
> Attachments: MAPREDUCE-1568-v2.1.txt, MAPREDUCE-1568-v2.txt, MAPREDUCE-1568.txt
>
>
> Right now the TrackerDistributedCacheManager do the clean up with the following code
path:
> {code}
> TaskRunner.run() ->
> TrackerDistributedCacheManager.setup() ->
> TrackerDistributedCacheManager.getLocalCache() ->
> TrackerDistributedCacheManager.deleteCache()
> {code}
> The deletion of the cache files can take a long time and it should not be done by a task.
We suggest that there should be a separate thread checking and clean up the cache files.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|