[
https://issues.apache.org/jira/browse/HDFS-4525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13625278#comment-13625278
]
Hudson commented on HDFS-4525:
------------------------------
Integrated in Hadoop-Yarn-trunk #177 (See
[https://builds.apache.org/job/Hadoop-Yarn-trunk/177/])
HDFS-4525. Provide an API for knowing that whether file is closed or not.
Contributed by SreeHari. (Revision 1465434)
Result = SUCCESS
umamahesh :
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1465434
Files :
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/ClientProtocol.java
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocolPB/ClientNamenodeProtocolServerSideTranslatorPB.java
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocolPB/ClientNamenodeProtocolTranslatorPB.java
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/proto/ClientNamenodeProtocol.proto
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java
> 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: 3.0.0, 2.0.3-alpha
> Reporter: Uma Maheswara Rao G
> Assignee: SreeHari
> Fix For: 3.0.0, 2.0.5-beta
>
> Attachments: HDFS-4525.patch, HDFS-4525.patch, HDFS-4525.patch,
> HDFS-4525.patch, HDFS-4525.patch
>
>
> 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