[
https://issues.apache.org/jira/browse/HADOOP-13739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15591766#comment-15591766
]
Kihwal Lee commented on HADOOP-13739:
-------------------------------------
Is it going to modify (e.g. append) the existing file? Then the best way is to
just go ahead and try. If another client has a lease, it will fail. Even if
we add a call to check for open files, it will be inherently unreliable and
racy for this purpose. Between the time you check and try to open, someone else
can open it for write or even delete it.
> Add the ability to check - is a file opened for writing
> -------------------------------------------------------
>
> Key: HADOOP-13739
> URL: https://issues.apache.org/jira/browse/HADOOP-13739
> Project: Hadoop Common
> Issue Type: New Feature
> Reporter: VITALIY SAVCHENKO
>
> I want to merge some MapFile's to one via MapFile.Merger. But i want to be
> sure, what no one of file not open for wrinting now.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]