You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Uma Maheswara Rao G (JIRA)" <ji...@apache.org> on 2013/02/23 07:18:13 UTC
[jira] [Created] (HDFS-4525) Provide an API for knowing that
whether file is closed or not.
Uma Maheswara Rao G created HDFS-4525:
-----------------------------------------
Summary: Provide an API for knowing that whether file is closed or not.
Key: HDFS-4525
URL: https://issues.apache.org/jira/browse/HDFS-4525
Project: Hadoop HDFS
Issue Type: Sub-task
Components: namenode
Affects Versions: 2.0.3-alpha, 3.0.0
Reporter: Uma Maheswara Rao G
Currently recoverLease API will return true if file is already closed. Otherwise it will trigger internalLease recovery and return false. It may take some time to really complete this recovery and file to be closed completely. So, there is noway for the users to wait correctly until file is closed completely.
It would good if we have one API which says whether that file is closed or not. So, that users can relay on that proceed further if and only if file is closed completely.
See the discussion in HBASE-7878
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira