<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: consequences of changing block size? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/consequences-of-changing-block-size/m-p/214790#M66367</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/18483/ppavan10.html" nodeid="18483"&gt;@pavan p&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When you changing the block size from one value to other then only the files which are ingested/created in HDFS will be created with new block size. Where as the old files will remain to exists in the previous block size only and it will not changed. If you need to change then manual intervention is needed. Hope it Helps!&lt;/P&gt;</description>
    <pubDate>Thu, 10 Aug 2017 14:17:28 GMT</pubDate>
    <dc:creator>balavignesh_nag</dc:creator>
    <dc:date>2017-08-10T14:17:28Z</dc:date>
    <item>
      <title>consequences of changing block size?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/consequences-of-changing-block-size/m-p/214789#M66366</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i copied file1 of 512MB to hdfs at that time the block size is 128mb replication factor is 3.&lt;/P&gt;&lt;P&gt;after some time i have changed block size to 64mb using dfs.blocksize.&lt;/P&gt;&lt;P&gt;again i have copied one more file i.e file2 which is again 512 mb&lt;/P&gt;&lt;P&gt;now the file2 each block size is 64mb.&lt;/P&gt;&lt;P&gt;now my question when i changed block size 128mb to 64mb what will be the file1 block size?&lt;/P&gt;&lt;P&gt;does it change to 128mb to 64mb or it will continue as 128mb only?&lt;/P&gt;&lt;P&gt;please help me out &lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 11:51:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/consequences-of-changing-block-size/m-p/214789#M66366</guid>
      <dc:creator>ppavan10</dc:creator>
      <dc:date>2017-08-10T11:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: consequences of changing block size?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/consequences-of-changing-block-size/m-p/214790#M66367</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/18483/ppavan10.html" nodeid="18483"&gt;@pavan p&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When you changing the block size from one value to other then only the files which are ingested/created in HDFS will be created with new block size. Where as the old files will remain to exists in the previous block size only and it will not changed. If you need to change then manual intervention is needed. Hope it Helps!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 14:17:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/consequences-of-changing-block-size/m-p/214790#M66367</guid>
      <dc:creator>balavignesh_nag</dc:creator>
      <dc:date>2017-08-10T14:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: consequences of changing block size?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/consequences-of-changing-block-size/m-p/214791#M66368</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/18483/ppavan10.html" nodeid="18483"&gt;@pavan p&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;The &lt;EM&gt;file1&lt;/EM&gt; will remain to have block size as &lt;STRONG&gt;128MB&lt;/STRONG&gt; only. &lt;/P&gt;&lt;P&gt;If you want to change the block size of &lt;EM&gt;file1&lt;/EM&gt; to &lt;STRONG&gt;64MB&lt;/STRONG&gt; , you can use Hadoop Copy command as below , which will create a copy of &lt;EM&gt;file1&lt;/EM&gt; to &lt;EM&gt;file3&lt;/EM&gt; with block size mentioned in dfs.blocksize property.&lt;/P&gt;&lt;P&gt;$ &lt;STRONG&gt;hadoop fs -cp /user/ubuntu/file1 /user/ubuntu/file3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Also you can specify the blocksize parameter in the command as below:&lt;/P&gt;&lt;P&gt;$ &lt;STRONG&gt;hadoop fs -D dfs.blocksize=xx -cp /user/ubuntu/file1 /user/ubuntu/file3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The only thing you need to do is , manually delete the old copy of the file if it is no longer needed !&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 20:43:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/consequences-of-changing-block-size/m-p/214791#M66368</guid>
      <dc:creator>clouderabhi</dc:creator>
      <dc:date>2017-08-17T20:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: consequences of changing block size?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/consequences-of-changing-block-size/m-p/214792#M66369</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18483/ppavan10.html" nodeid="18483"&gt;@pavan p&lt;/A&gt; If it answers you question please choose it as a best answer!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 21:17:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/consequences-of-changing-block-size/m-p/214792#M66369</guid>
      <dc:creator>balavignesh_nag</dc:creator>
      <dc:date>2017-08-17T21:17:19Z</dc:date>
    </item>
  </channel>
</rss>

