hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2722) HttpFs shouldn't be using an int for block size
Date Tue, 03 Jan 2012 16:54:39 GMT

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

Hudson commented on HDFS-2722:
------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #1558 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1558/])
    HDFS-2722. HttpFs should not be using an int for block size. (harsh)

harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1226861
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/FSOperations.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

                
> HttpFs shouldn't be using an int for block size
> -----------------------------------------------
>
>                 Key: HDFS-2722
>                 URL: https://issues.apache.org/jira/browse/HDFS-2722
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs client
>            Reporter: Harsh J
>            Assignee: Harsh J
>         Attachments: HDFS-2722.patch
>
>
> {{./hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/FSOperations.java:
blockSize = fs.getConf().getInt("dfs.block.size", 67108864);}}
> Should instead be using dfs.blocksize and should instead be long.
> I'll post a patch for this after HDFS-1314 is resolved -- which changes the internal
behavior a bit (should be getLongBytes, and not just getLong, to gain formatting advantages).

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

        

Mime
View raw message