hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-1314) dfs.block.size accepts only absolute value
Date Sat, 24 Dec 2011 16:40:31 GMT

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

Harsh J commented on HDFS-1314:


FileSystem instance underneath for HDFS operations is DistributedFileSystem, so it should
be OK to use getDefaultBlockSize.

You even made the change in {{hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java}}
that pertains to this. We should use it wherever is possible, and not repeat ourselves.
> dfs.block.size accepts only absolute value
> ------------------------------------------
>                 Key: HDFS-1314
>                 URL: https://issues.apache.org/jira/browse/HDFS-1314
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Karim Saadah
>            Assignee: Sho Shimauchi
>            Priority: Minor
>              Labels: newbie
>         Attachments: hdfs-1314.txt, hdfs-1314.txt
> Using "dfs.block.size=8388608" works 
> but "dfs.block.size=8mb" does not.
> Using "dfs.block.size=8mb" should throw some WARNING on NumberFormatException.
> (http://pastebin.corp.yahoo.com/56129)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message