hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8158) Interrupting hadoop fs -put from the command line causes a LeaseExpiredException
Date Fri, 11 Jul 2014 22:13:06 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-8158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14059431#comment-14059431
] 

Hudson commented on HADOOP-8158:
--------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #5872 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/5872/])
HADOOP-8158. Move attribution to release 2.6.0 section in CHANGES.txt. (cnauroth: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1609854)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


> 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
>             Fix For: 3.0.0, 2.6.0
>
>         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 was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message