You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gobblin.apache.org by "Sudarshan Vasudevan (Jira)" <ji...@apache.org> on 2020/10/07 18:44:00 UTC
[jira] [Updated] (GOBBLIN-1227) Treat AccessDeniedException in
RenameRecursively as an existence indicator
[ https://issues.apache.org/jira/browse/GOBBLIN-1227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sudarshan Vasudevan updated GOBBLIN-1227:
-----------------------------------------
Fix Version/s: 0.15.0
Affects Version/s: 0.15.0
> 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
> Affects Versions: 0.15.0
> Reporter: Hung Tran
> Priority: Major
> Fix For: 0.15.0, 0.16.0
>
> 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)