lawrence andrews created MAPREDUCE-6917: -------------------------------------------
Summary: DistCp does not clean staging folder if class extends DistCp Key: MAPREDUCE-6917 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6917 Project: Hadoop Map/Reduce Issue Type: Bug Components: 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 (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: mapreduce-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: mapreduce-dev-h...@hadoop.apache.org