Lab – Internals of File Read in HDFS

1. Go to hdfs file system using browser GUI on localhost:50070.

2. Go to Utilities tab to browse the file system.

  1. Look at the block size for any file you have on hdfs.

Note: you will see the name of files as per your hdfs state. If you have deleted file from hdfs during previous lab exercise steps, you can upload again by -copyFromLocal command and then check its block size as per given steps.

Here you can see the allocated Block size is 128 MB. The block size is configurable parameter which can be changed. We shall be changing the block size configuration in the exercises of hadoop administration module.