You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Uma Maheswara Rao G (JIRA)" <ji...@apache.org> on 2016/01/27 23:00:40 UTC
[jira] [Created] (HDFS-9713) DataXceiver#copyBlock should return if
block is pinned
Uma Maheswara Rao G created HDFS-9713:
-----------------------------------------
Summary: 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
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)