hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amareshwari Sriramadasu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-4544) Error in deleting blocks should not do check disk, for all types of errors
Date Mon, 04 Mar 2013 04:23:12 GMT
Amareshwari Sriramadasu created HDFS-4544:
---------------------------------------------

             Summary: Error in deleting blocks should not do check disk, for all types of
errors
                 Key: HDFS-4544
                 URL: https://issues.apache.org/jira/browse/HDFS-4544
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 1.1.1
            Reporter: Amareshwari Sriramadasu
             Fix For: 1.2.0


The following code in Datanode.java 

{noformat}
      try {
        if (blockScanner != null) {
          blockScanner.deleteBlocks(toDelete);
        }
        data.invalidate(toDelete);
      } catch(IOException e) {
        checkDiskError();
        throw e;
      }
{noformat}

causes check disk to happen in case of any errors during invalidate.

We have seen errors like :

2013-03-02 00:08:28,849 WARN org.apache.hadoop.hdfs.server.datanode.DataNode: Unexpected error
trying to delete block blk_-2973118207682441648_225738165. BlockInfo not found in volumeMap.

And all such errors trigger check disk, making the clients timeout.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message