You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Eli Collins (JIRA)" <ji...@apache.org> on 2012/08/21 05:49:37 UTC

[jira] [Updated] (HDFS-2727) libhdfs should get the default block size from the server

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

Eli Collins updated HDFS-2727:
------------------------------

          Component/s: libhdfs
    Affects Version/s:     (was: 2.2.0-alpha)
                       1.0.0
                       2.0.0-alpha
              Summary: libhdfs should get the default block size from the server  (was: libhdfs should get the default block size fro the server)
    
> libhdfs should get the default block size from the server
> ---------------------------------------------------------
>
>                 Key: HDFS-2727
>                 URL: https://issues.apache.org/jira/browse/HDFS-2727
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: libhdfs
>    Affects Versions: 0.23.0, 1.0.0, 2.0.0-alpha
>            Reporter: Sho Shimauchi
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>             Fix For: 2.2.0-alpha
>
>         Attachments: HDFS-2727.001.patch, HDFS-2727.002.patch
>
>
> libhdfs uses the deprecated property {{dfs.block.size}}.  It would be better for libhdfs to use the FileSystem#getDefaultBlockSize API instead.
> This API has two advantages:
> 1. It uses the new, non-deprecated {{dfs.blocksize}} property
> 2. It handles string escapes like 'M' for 'megabytes' etc. which can appear in {{dfs.blocksize}} and {{dfs.block.size}}

--
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