hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-8158) Interrupting hadoop fs -put from the command line causes a LeaseExpiredException
Date Sun, 23 Sep 2012 06:06:08 GMT

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

Harsh J updated HADOOP-8158:
----------------------------

    Attachment: HADOOP-8158.patch

Rebased patch to current trunk. Removed the CommandWithDestination.java changes done here
as those are now already present after some recent good refactoring.
                
> 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
>            Reporter: Todd Lipcon
>            Assignee: Daryn Sharp
>         Attachments: HADOOP-8158.patch, HADOOP-8158.patch
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message