sunlisheng created HADOOP-15893:
---
Summary: fs.TrashPolicyDefault: Can't create trash directory
Key: HADOOP-15893
URL: https://issues.apache.org/jira/browse/HADOOP-15893
Project: Hadoop Common
I
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sunlisheng updated HADOOP-15893:
External issue ID: (was: HADOOP-15633)
> fs.TrashPolicyDefault: Can't create trash directory
>
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sunlisheng updated HADOOP-15893:
Summary: fs.TrashPolicyDefault: Can't create trash directory and race
condition (was: fs.TrashPo
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sunlisheng updated HADOOP-15893:
Attachment: HADOOP-15893.001.patch
> fs.TrashPolicyDefault: Can't create trash directory and race
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sunlisheng updated HADOOP-15893:
Attachment: HADOOP-15893.001.patch
Status: Patch Available (was: Open)
> fs.TrashPolicyD
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sunlisheng updated HADOOP-15893:
Attachment: (was: HADOOP-15893.001.patch)
> fs.TrashPolicyDefault: Can't create trash directo
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sunlisheng updated HADOOP-15893:
Description:
After catch FileAlreadyExistsException, the same name file is deleted.
So don't mo
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sunlisheng updated HADOOP-15893:
Attachment: (was: HADOOP-15893.001.patch)
> fs.TrashPolicyDefault: Can't create trash directo
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sunlisheng updated HADOOP-15893:
Attachment: HADOOP-15893.001.patch
> fs.TrashPolicyDefault: Can't create trash directory and race
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sunlisheng updated HADOOP-15893:
Attachment: (was: HADOOP-15893.001.patch)
> fs.TrashPolicyDefault: Can't create trash directo
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sunlisheng updated HADOOP-15893:
Attachment: HADOOP-15893.001.patch
> fs.TrashPolicyDefault: Can't create trash directory and race
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sunlisheng updated HADOOP-15893:
Summary: fs.TrashPolicyDefault: can't create trash directory and race
condition (was: fs.TrashPo
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sunlisheng updated HADOOP-15893:
Attachment: HADOOP-15893.001.patch
> fs.TrashPolicyDefault: can't create trash directory and race
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sunlisheng updated HADOOP-15893:
Status: Open (was: Patch Available)
> fs.TrashPolicyDefault: can't create trash directory and ra
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sunlisheng updated HADOOP-15893:
Attachment: (was: HADOOP-15893.001.patch)
> fs.TrashPolicyDefault: can't create trash directo
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sunlisheng updated HADOOP-15893:
Attachment: HADOOP-15893.001.patch
Status: Patch Available (was: Open)
> fs.TrashPolicyD
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sunlisheng updated HADOOP-15893:
Attachment: (was: HADOOP-15893.001.patch)
> fs.TrashPolicyDefault: can't create trash directo
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sunlisheng updated HADOOP-15893:
Attachment: HADOOP-15893.002.patch
> fs.TrashPolicyDefault: can't create trash directory and race
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16672822#comment-16672822
]
sunlisheng commented on HADOOP-15893:
-
[~hadoopqa] [~raviprak] [~jzhuge]
hi, ple
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sunlisheng updated HADOOP-15893:
Attachment: (was: HADOOP-15893.002.patch)
> fs.TrashPolicyDefault: can't create trash directo
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sunlisheng updated HADOOP-15893:
Status: Open (was: Patch Available)
> fs.TrashPolicyDefault: can't create trash directory and ra
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sunlisheng updated HADOOP-15893:
Attachment: HADOOP-15893.002.patch
> fs.TrashPolicyDefault: can't create trash directory and race
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sunlisheng updated HADOOP-15893:
Attachment: (was: HADOOP-15893.002.patch)
> fs.TrashPolicyDefault: can't create trash directo
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sunlisheng updated HADOOP-15893:
Attachment: HADOOP-15893.002.patch
Status: Patch Available (was: Open)
> fs.TrashPolicyD
[
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 FileAlreadyExis
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sunlisheng updated HADOOP-15893:
Description:
there is race condition in method moveToTrash class TrashPolicyDefault
try {
if (!
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sunlisheng updated HADOOP-15893:
Description:
there is race condition in method moveToTrash class TrashPolicyDefault
try {
if (!
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16702928#comment-16702928
]
sunlisheng commented on HADOOP-15893:
-
try {
if (!fs.mkdirs(baseTrashPath, PERMISS
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16702927#comment-16702927
]
sunlisheng commented on HADOOP-15893:
-
I add a patch.
> fs.TrashPolicyDefault: can
[
https://issues.apache.org/jira/browse/HADOOP-15893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sunlisheng updated HADOOP-15893:
Description:
there is race condition in method moveToTrash class TrashPolicyDefault
try {
if (!
30 matches
Mail list logo