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 "Ding Yuan (JIRA)" <ji...@apache.org> on 2014/03/23 18:35:43 UTC
[jira] [Created] (HDFS-6146) retry if cannot report Bad Blocks to
namenode
Ding Yuan created HDFS-6146:
-------------------------------
Summary: retry if cannot report Bad Blocks to namenode
Key: HDFS-6146
URL: https://issues.apache.org/jira/browse/HDFS-6146
Project: Hadoop HDFS
Issue Type: Improvement
Components: datanode
Affects Versions: 2.2.0
Reporter: Ding Yuan
Line: 255, File: "org/apache/hadoop/hdfs/server/datanode/BPServiceActor.java"
{noformat}
249: try {
250: bpNamenode.reportBadBlocks(blocks);
251: } catch (IOException e){
252: /* One common reason is that NameNode could be in safe mode.
253: * Should we keep on retrying in that case?
254: */
255: LOG.warn("Failed to report bad block " + block + " to namenode : "
256: + " Exception", e);
257: }
{noformat}
The comment seems to suggest this should be retried.
A similar case is at:
Line: 1430, File: "org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java"
--
This message was sent by Atlassian JIRA
(v6.2#6252)