hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-1739) When DataNode throws DiskOutOfSpaceException, it will be helpfull to the user if we log the available volume size and configured block size.
Date Wed, 23 Mar 2011 21:48:05 GMT

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

Tsz Wo (Nicholas), SZE commented on HDFS-1739:
----------------------------------------------

{code}
         if (volume.getAvailable() > blockSize) { return volume; }
         if (curVolume == startVolume) {
-          throw new DiskOutOfSpaceException("Insufficient space for an additional block");
+          throw new DiskOutOfSpaceException("Insufficient space for an additional block.
Available Volumesize is " +
+		  volume.getAvailable()+",  Configured Block size is "+ blockSize );
         }
{code}
- {{volume.getAvailable()}} is called twice.  We should store the first one and reuse it.
- typo: "Volumesize"

> When DataNode throws DiskOutOfSpaceException, it will be helpfull to the user if we log
the available volume size and configured block size.
> --------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1739
>                 URL: https://issues.apache.org/jira/browse/HDFS-1739
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: data-node
>            Reporter: Uma Maheswara Rao G
>            Assignee: Uma Maheswara Rao G
>            Priority: Minor
>         Attachments: HDFS-1739.patch
>
>
> DataNode will throw DiskOutOfSpaceException for new blcok write if available volume size
is less than configured blcok size.
>  So, it will be helpfull to the user if we log this details.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message