hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9713) DataXceiver#copyBlock should return if block is pinned
Date Mon, 08 Feb 2016 05:04:39 GMT

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

Hudson commented on HDFS-9713:
------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #9257 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/9257/])
HDFS-9713. DataXceiver#copyBlock should return if block is pinned. (uma.gangumalla: rev aea31eee78a287f251447686ba3f5bbcfe9c60a3)
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataXceiver.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


> DataXceiver#copyBlock should return if block is pinned
> ------------------------------------------------------
>
>                 Key: HDFS-9713
>                 URL: https://issues.apache.org/jira/browse/HDFS-9713
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode
>    Affects Versions: 2.7.2
>            Reporter: Uma Maheswara Rao G
>            Assignee: Uma Maheswara Rao G
>             Fix For: 3.0.0, 2.8.0
>
>         Attachments: HDFS-9713-00.patch
>
>
> in DataXceiver#copyBlock
> {code}
>   if (datanode.data.getPinning(block)) {
>       String msg = "Not able to copy block " + block.getBlockId() + " " +
>           "to " + peer.getRemoteAddressString() + " because it's pinned ";
>       LOG.info(msg);
>       sendResponse(ERROR, msg);
>     }
> {code}
> I think we should return back instead of proceeding to send block.as we already sent
ERROR here.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message