hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sunlisheng (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-15893) fs.TrashPolicyDefault: can't create trash directory and race condition
Date Thu, 29 Nov 2018 09:13:00 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

sunlisheng updated HADOOP-15893:
--------------------------------
    Description: 
there is in method moveToTrash class TrashPolicyDefault

After catch FileAlreadyExistsException, the  same name file is deleted.

So don't modify baseTrashPath when existsFilePath is deleted.

But this case show hardly in untitest.

  was:
After catch FileAlreadyExistsException, the  same name file is deleted.

So don't modify baseTrashPath when existsFilePath is deleted.

But this case show hardly in untitest.


> fs.TrashPolicyDefault: can't create trash directory and race condition
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-15893
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15893
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: common
>            Reporter: sunlisheng
>            Priority: Major
>         Attachments: HADOOP-15893.001.patch, HADOOP-15893.002.patch
>
>
> there is in method moveToTrash class TrashPolicyDefault
> After catch FileAlreadyExistsException, the  same name file is deleted.
> So don't modify baseTrashPath when existsFilePath is deleted.
> But this case show hardly in untitest.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message