hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From He Chen <airb...@gmail.com>
Subject Change block size from 64M to 128M does not work on Hadoop-0.21
Date Wed, 04 May 2011 19:29:08 GMT
Hi all

I met a problem about changing block size from 64M to 128M. I am sure I
modified the correct configuration file hdfs-site.xml. Because I can change
the replication number correctly. However, it does not work on block size

For example:

I change the dfs.block.size to 134217728 bytes.

I upload a file which is 128M and use "fsck" to find how many blocks this
file has. It shows:
/user/file1/file 134217726 bytes, 2 blocks(s): OK
0. blk_xxxxxxxxxx len=67108864 repl=2 [,
1. blk_xxxxxxxxxx len=67108862 repl=2 [,]

The hadoop version is 0.21. Any suggestion will be appreciated!



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message