[
https://issues.apache.org/jira/browse/HADOOP-1656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523639
]
Hairong Kuang commented on HADOOP-1656:
---------------------------------------
The patch looks good except for some minor comments:
1. FSConstants.java
line 161: should update the comment for the new layout version.
1. FSEditLog.java
line 260: the error message of IOException should be updated.
line 502: it uses toLogTimeStamp to convert a block size to a UTF8. It should
be clearer to change the method name to be something like to LogLong.
> HDFS does not record the blocksize for a file
> ---------------------------------------------
>
> Key: HADOOP-1656
> URL: https://issues.apache.org/jira/browse/HADOOP-1656
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.13.0
> Reporter: Sameer Paranjpye
> Assignee: dhruba borthakur
> Fix For: 0.15.0
>
> Attachments: blockSize5.patch
>
>
> The blocksize that a file is created with is not recorded by the Namenode. It
> is used only by the client when it writes the file. Invoking 'getBlockSize'
> merely returns the size of the first block. The Namenode should record the
> blocksize.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.