hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fengdong Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6338) Add a RPC method to allow administrator to delete the file lease.
Date Mon, 05 May 2014 00:59:15 GMT

    [ https://issues.apache.org/jira/browse/HDFS-6338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13989220#comment-13989220

Fengdong Yu commented on HDFS-6338:


recoverLease() is not I want, which is revoke the lease. but I aim to delete the lease. explain
in detail:

DFSClient can generate a clientID such as NOMAPREDUCE-1000 before write file-a on HDFS, but
it was interrupted and not closed normally.

then I try to write it again, DFSClient will generate annothe clientID, such as NOMAPREDUCE-1001,
then it throw an exception such as :

failed to create file because this file is already being created by NOMAPREDUCE-1000.

So I have to waite NOMAPREDUCE-1000 expire. 

> Add a RPC method to allow administrator to delete the file lease.
> -----------------------------------------------------------------
>                 Key: HDFS-6338
>                 URL: https://issues.apache.org/jira/browse/HDFS-6338
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>          Components: namenode
>    Affects Versions: 2.4.0
>            Reporter: Fengdong Yu
>            Assignee: Fengdong Yu
>            Priority: Minor
> we have to wait file lease expire after unexpected interrupt during HDFS writing. so
I want to add a RPC method to allow administrator delete the file lease.
> Please leave comments here, I am workong on the patch now.

This message was sent by Atlassian JIRA

View raw message