[
https://issues.apache.org/jira/browse/HADOOP-15789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Loughran moved MAPREDUCE-6917 to HADOOP-15789:
----------------------------------------------------
Component/s: (was: distcp)
tools/distcp
Key: HADOOP-15789 (was: MAPREDUCE-6917)
Project: Hadoop Common (was: Hadoop Map/Reduce)
> DistCp does not clean staging folder if class extends DistCp
> ------------------------------------------------------------
>
> Key: HADOOP-15789
> URL: https://issues.apache.org/jira/browse/HADOOP-15789
> Project: Hadoop Common
> Issue Type: Bug
> Components: tools/distcp
> Reporter: Lawrence Andrews
> Priority: Minor
>
> My code extends Distcp class and for some reason if distcp fails staging
> folder is not delete and this staging folder piles up occupying space on hdfs.
> After checking the code i found that cleanup() function is private. Making
> the cleanup() method as public, user should be able to invoke the cleanup if
> job fails.
> This works fine with command line argument. But fails only if we extend
> Distcp class.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]