You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Daryn Sharp (Moved) (JIRA)" <ji...@apache.org> on 2012/03/09 21:14:58 UTC

[jira] [Moved] (HADOOP-8158) Interrupting hadoop fs -put from the command line causes a LeaseExpiredException

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

Daryn Sharp moved HDFS-2828 to HADOOP-8158:
-------------------------------------------

          Component/s:     (was: hdfs client)
     Target Version/s:   (was: 0.23.1)
    Affects Version/s:     (was: 0.24.0)
                           (was: 0.23.0)
                       0.24.0
                       0.23.0
                  Key: HADOOP-8158  (was: HDFS-2828)
              Project: Hadoop Common  (was: Hadoop HDFS)
    
> Interrupting hadoop fs -put from the command line causes a LeaseExpiredException
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-8158
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8158
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Todd Lipcon
>
> If you run "hadoop fs -put - foo", write a few lines, then ^C it from the shell, about half the time you will get a LeaseExpiredException. It seems like the shell is first calling {{delete()}} on the file, then calling {{close()}} on the stream. The {{close}} call fails since the {{delete}} call kills the lease. I saw this on trunk but my guess is that it affects 23 also.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira