Hi Anurag,

To add on, you can also change the replication of exiting files by
hadoop fs -setrep

http://hadoop.apache.org/common/docs/r0.20.0/hdfs_shell.html#setrep

On Tue, Jun 26, 2012 at 7:42 PM, Bejoy KS <bejoy.had...@gmail.com> wrote:
> Hi Anurag,
>
> The easiest option would be , in your map reduce job set the dfs.block.size 
> to 128 mb
>
> ------Original Message------
> From: Anurag Tangri
> To: hdfs-u...@hadoop.apache.org
> To: common-user@hadoop.apache.org
> ReplyTo: common-user@hadoop.apache.org
> Subject: change hdfs block size for file existing on HDFS
> Sent: Jun 26, 2012 11:07
>
> Hi,
> We have a situation where all files that we have are 64 MB block size.
>
>
> I want to change these files (output of a map job mainly) to 128 MB blocks.
>
> What would be good way to do this migration from 64 mb to 128 mb block
> files ?
>
> Thanks,
> Anurag Tangri
>
>
>
> Regards
> Bejoy KS
>
> Sent from handheld, please excuse typos.

Reply via email to