[ 
https://issues.apache.org/jira/browse/HDFS-1314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aaron T. Myers updated HDFS-1314:
---------------------------------

    Release Note: The default blocksize property 'dfs.blocksize' now accepts 
unit symbols to be used instead of byte length. Values such as "10k", "128m", 
"1g" are now OK to provide instead of just no. of bytes as was before.  (was: 
The default blocksize property 'dfs.blocksize' now accepts size prefixes to be 
used instead of byte length. Values such as "10k", "128m", "1g" are now OK to 
provide instead of just no. of bytes as was before.)

Amending the release note slightly since they're not really "prefixes."
                
> dfs.blocksize 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
>             Fix For: 0.24.0
>
>         Attachments: hdfs-1314.txt, hdfs-1314.txt, hdfs-1314.txt, 
> hdfs-1314.txt, 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

        

Reply via email to