hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HADOOP-5439) FileSystem.create() with overwrite param specified sometimes takes a long time to return.
Date Mon, 21 Jul 2014 21:40:39 GMT

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

Allen Wittenauer resolved HADOOP-5439.
--------------------------------------

    Resolution: Fixed

> FileSystem.create() with overwrite param specified sometimes takes a long time to return.
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-5439
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5439
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.19.0
>            Reporter: He Yongqiang
>
> If a file already exists, it takes a long time for the overwrite create to return.
> {code}
> fs.create(path_1, true);
> {code}
> sometimes takes a long time. 
> Instead, the code:
> {code}
> if (fs.exists(path_1))
>     fs.delete(path_1);
> fs.create(path_1);
> {code}
> works pretty well.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message