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" <[email protected]> wrote:

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 something that doesn't exist?  Or, can some 
point me in the right direction.

Thanks!

--Andrew

Reply via email to