Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
./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).
Attachments
Attachments
Issue Links
- is part of
-
HDFS-1314 dfs.blocksize accepts only absolute value
- Closed