You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gobblin.apache.org by "Hung Tran (Jira)" <ji...@apache.org> on 2020/08/06 22:23:00 UTC
[jira] [Resolved] (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 ]
Hung Tran resolved GOBBLIN-1227.
--------------------------------
Fix Version/s: 0.16.0
Resolution: Fixed
Issue resolved by pull request #3073
[https://github.com/apache/incubator-gobblin/pull/3073]
> 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
> Fix For: 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)