[ 
https://issues.apache.org/jira/browse/HADOOP-15789?focusedWorklogId=788741&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-788741
 ]

ASF GitHub Bot logged work on HADOOP-15789:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 07/Jul/22 20:02
            Start Date: 07/Jul/22 20:02
    Worklog Time Spent: 10m 
      Work Description: ayushtkn opened a new pull request, #4534:
URL: https://github.com/apache/hadoop/pull/4534

   Original Patch in the Jira, Contributor not available now, & Patches don't 
run CI now, so Copied it to PR to run the build before merge
   
   ### For code changes:
   
   - [ ] Does the title or this PR starts with the corresponding JIRA issue id 
(e.g. 'HADOOP-17799. Your PR title ...')?




Issue Time Tracking
-------------------

            Worklog Id:     (was: 788741)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>            Assignee: Lawrence Andrews
>            Priority: Minor
>         Attachments: HADOOP-15789-01.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to