Per-file block size

2010-04-13 Thread Andrew Nguyen
I thought I saw a way to specify the block size for individual files using the command-line using hadoop dfs -put/copyFromLocal... However, I can't seem to find the reference anywhere. I see that I can do it via the API but no references to a command-line mechanism. Am I just remembering

Re: Per-file block size

2010-04-13 Thread Amogh Vasekar
Hi, Pass the -D property in command line. eg: Hadoop fs -Ddfs.block.size=multiple of checksum . You can check if its actually set the way you needed by hadoop fs -stat %o file HTH, Amogh On 4/14/10 9:01 AM, Andrew Nguyen andrew-lists-had...@ucsfcti.org wrote: I thought I saw a way to