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

ASF GitHub Bot logged work on GOBBLIN-1227:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 06/Aug/20 22:21
            Start Date: 06/Aug/20 22:21
    Worklog Time Spent: 10m 
      Work Description: asfgit closed pull request #3073:
URL: https://github.com/apache/incubator-gobblin/pull/3073


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


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

    Worklog Id:     (was: 467599)
    Time Spent: 20m  (was: 10m)

> Treat AccessDeniedException in RenameRecursively as an existence indicator
> --------------------------------------------------------------------------
>
>                 Key: GOBBLIN-1227
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-1227
>             Project: Apache Gobblin
>          Issue Type: Improvement
>            Reporter: Hung Tran
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The CopyDataPublisher uses 
> HadoopUtils.renameRecursively() to publish the staged data to the root path 
> "/". HadoopUtils.renameRecursively() will check for the existence of the 
> target directory and its parent directory and call mkdirs to create missing 
> directories if the parent directory does not exist.
> This check may return an AccessDeniedException if permissions are limited on 
> the parent directory.
> For directories, treat the AccessDeniedException as an indicator of existence 
> to allow the recursive renaming to proceed in this scenario.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to