hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ding Yuan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-6146) retry if cannot report Bad Blocks to namenode
Date Sun, 23 Mar 2014 17:35:43 GMT
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)

Mime
View raw message