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

Sho Shimauchi commented on HDFS-1314:
-------------------------------------

FileSystem.getDefaultBlockSize() can't use DFSConfigKeys class because 
FileSystem is a class of hadoop-common project.
Also getDefaultBlockSize() hasn't been maintained for 2 years.
Should we open a new ticket to refactor getDefaultBlockSize() ?
                
> 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
>
>
> 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

        

Reply via email to