Hung Tran created GOBBLIN-1227:
----------------------------------

             Summary: 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


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