title: Read default block size of HDFS using Java API
body: <p>I want to read this default block size value from <code>hdfs-site.xml</code> using a java program ? Can anyone help in this ?</p>
  
  <pre><code>&lt;property&gt;
      &lt;name&gt;dfs.blocksize&lt;/name&gt;
      &lt;value&gt;134217728&lt;/value&gt;
    &lt;/property&gt;
  </code></pre>