{"id":520,"date":"2019-02-28T09:41:58","date_gmt":"2019-02-28T09:41:58","guid":{"rendered":"https:\/\/prwatech.in\/blog\/?p=520"},"modified":"2024-04-04T08:12:46","modified_gmt":"2024-04-04T08:12:46","slug":"hadoop-hbase-configuration","status":"publish","type":"post","link":"https:\/\/prwatech.in\/blog\/hadoop\/hbase\/hadoop-hbase-configuration\/","title":{"rendered":"Hadoop Hbase Configuration"},"content":{"rendered":"<h1>Hadoop HBase configuration<\/h1>\n<p><center><br \/>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<!-- Display ads --><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block;\" data-ad-client=\"ca-pub-9274026754180580\" data-ad-slot=\"1830863328\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/center><br \/>\n<strong>Hadoop HBase configuration<\/strong>, Welcome to the world of Hadoop Hbase Tutorials. In these Tutorials, one can explore how Hadoop Hbase Zookeeper configuration can be done. Learn More advanced Tutorials on <strong>HBase configuration in Hadoop<\/strong> from India\u2019s Leading <a href=\"https:\/\/prwatech.in\/\">Big Data Training institute<\/a> which Provides Advanced <a href=\"https:\/\/prwatech.in\/hadoop-training-institute-in-bangalore\/\">Hadoop Course<\/a> for those tech Enthusiasts who wanted to explore the technology from scratch to advanced level like a Pro.<\/p>\n<p>&nbsp;<\/p>\n<p>We the <a href=\"https:\/\/prwatech.in\">Prwatech<\/a> The Pioneers of <a href=\"https:\/\/prwatech.in\">Big Data Training<\/a> Offering Advanced Certification Course and <strong>Hadoop HBase configuration<\/strong> to those who are keen to explore the Technology under the World-class Training Environment.<\/p>\n<p>&nbsp;<\/p>\n<h2>Step by step process of HBase configuration in Hadoop<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1104\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/3.jpg\" alt=\"hadoop hbase configuration\" width=\"850\" height=\"323\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/3.jpg 828w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/3-300x114.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/3-768x292.jpg 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p><strong>\u21d2Description:<\/strong> Below configuration changes are done in Table &#8217;emp&#8217; with columnar families as\u00a0 &#8216;Official detail&#8217; and Personal Detail&#8217;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1426\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/1-25.png\" alt=\"Hadoop Hbase Configuration\" width=\"850\" height=\"452\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/1-25.png 527w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/1-25-300x159.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u2666 Replication_Scope: <\/strong>Used to set the replication factor of data 0 to \u201cdisable\u201d and 1 to \u201cEnable\u201d.<strong><br \/>\n<\/strong><\/p>\n<p><strong>Before update:\u00a0<\/strong>Initially, the Replication scope was set as &#8216;0&#8217;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-521\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/1-13.png\" alt=\"Hadoop Hbase Configuration\" width=\"850\" height=\"470\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/1-13.png 487w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/1-13-300x166.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p><strong><u>Command:\u00a0<\/u><\/strong>In HBase shell write following command.<\/p>\n<p>&lt;hbase&gt; disable \u2018emp\u2019<\/p>\n<p>&lt;hbase&gt; alter \u2018emp\u2019,{NAME=&gt;\u2019Official detail\u2019,BLOCK_SCOPE=&gt;1}<\/p>\n<p>&lt;hbase&gt; enable \u2018emp\u2019<\/p>\n<p>(Note: In my case, I have made changes in &#8216;Official_detail&#8217; columnar family and instead of table name use your own table name which you have created )<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>After Update\u00a0<\/strong><\/h3>\n<p><center><br \/>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<!-- Display ads --><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block;\" data-ad-client=\"ca-pub-9274026754180580\" data-ad-slot=\"1830863328\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/center><br \/>\n<strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-522\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/2-13.png\" alt=\"Hadoop Hbase Configuration\" width=\"850\" height=\"456\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/2-13.png 516w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/2-13-300x161.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u2666 BLOCKSIZE: <\/strong>It allows the user to describe there own block size according to requirement.<strong><br \/>\n<\/strong><\/p>\n<p><strong>Before Update:\u00a0<\/strong>Initially, the block size was set as 65536.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1424\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/2-24.png\" alt=\"Hadoop Hbase Configuration\" width=\"850\" height=\"458\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/2-24.png 660w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/2-24-300x162.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Command: <\/strong>In HBase shell write following command.<\/p>\n<p><strong>&lt;hbase&gt; disable \u2018emp\u2019<\/strong><\/p>\n<p><strong>&lt;hbase&gt; alter \u2018emp\u2019,{NAME=&gt;\u2019cf\u2019,BLOCKSIZE=&gt;\u201975535\u2019}<\/strong><\/p>\n<p><strong>&lt;hbase&gt; enable \u2018emp\u2019<\/strong><\/p>\n<p>(Note: In my case, I have made changes in &#8216;Official_detail&#8217; columnar family and instead of tablename use your own tablename which you have created )<\/p>\n<p>&nbsp;<\/p>\n<h3>After Update<\/h3>\n<p><center><br \/>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<!-- Display ads --><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block;\" data-ad-client=\"ca-pub-9274026754180580\" data-ad-slot=\"1830863328\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/center><br \/>\n<strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-524\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/4-11.png\" alt=\"Hadoop Hbase Configuration\" width=\"850\" height=\"257\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/4-11.png 558w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/4-11-300x91.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u2666 BlOOMFILTER: <\/strong>It is an efficient way to test whether a StoreFile contains a specific row or row-col cell. Basically use to improve the performance of <a href=\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-basic-linux-commands\">Hbase<\/a>. It can be enabled or disabled according to the user. We can use three commands to set BLoomfilter &#8212;- NONE, ROW, ROWCOL.<strong><br \/>\n<\/strong><\/p>\n<p><strong>Before Update: <\/strong>Initially, the Bloomfilter was set as &#8216;None&#8217;<\/p>\n<p><strong>\u00a0\u00a0\u00a0\u00a0 <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-525\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/5-12.png\" alt=\"Hadoop Hbase Configuration\" width=\"850\" height=\"559\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/5-12.png 482w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/5-12-300x197.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p><strong><span style=\"text-decoration: underline;\">Command<\/span>:<\/strong> In <a href=\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-basic-linux-commands\">HBase<\/a> shell write following command.<\/p>\n<p>&lt;hbase&gt; disable \u2018emp\u2019<\/p>\n<p>&lt;hbase&gt; alter \u2018emp\u2019,{NAME=&gt;\u2019Official_Detail\u2019,BLOOMFILTER=&gt;\u2019ROW\u2019}<\/p>\n<p>&lt;hbase&gt; enable \u2018emp&#8217;<\/p>\n<p>(Note: In my case, I have made changes in &#8216;Official_detail&#8217; columnar family and instead of tablename use your own tablename which you have created )<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>After Update<\/strong><\/h3>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-526\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/6-12.png\" alt=\"Hadoop Hbase Configuration\" width=\"850\" height=\"607\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/6-12.png 438w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/6-12-300x214.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u2666 DATA_BLOCK_ENCODING: <\/strong><a href=\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-interview-questions-and-answers\/\">HBase<\/a> stores each cell individually, with its key and value. When a row has many cells, much space would be consumed by writing the same key many times, possibly. Therefore, encoding can save much space which has a great positive impact on large rows. There are two types of encoding \u2013 \u201cFAST_DIFF\u201d and \u201cPREFIX\u201d.<\/p>\n<p><strong>Before Update: <\/strong>Initially, the Data block encoding was set as &#8216;None&#8217;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-527\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/7-12.png\" alt=\"Hadoop Hbase Configuration\" width=\"850\" height=\"602\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/7-12.png 624w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/7-12-300x213.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p><strong>Command<\/strong>: In HBase shell write following command.<\/p>\n<p>&lt;hbase&gt; disable \u2018emp\u2019<\/p>\n<p>&lt;hbase&gt; alter \u2018emp\u2019,{NAME=&gt;\u2019Official_Detail\u2019,DATA_BLOCK_ENCODING =&gt;\u2019FAST DIFF\u2019}<\/p>\n<p>&lt;hbase&gt; enable \u2018emp&#8217;<\/p>\n<p>(Note: In my case, I have made changes in &#8216;Official_detail&#8217; columnar family and instead of tablename use your own tablename which you have created )<\/p>\n<p>&nbsp;<\/p>\n<h3>After Update<\/h3>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-528\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/8-11.png\" alt=\"Hadoop Hbase Configuration\" width=\"850\" height=\"586\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/8-11.png 435w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/8-11-300x207.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u2666 VERSION: <\/strong>Cells in Hbase is a combination of the row, Column Family, and column qualifier, and contains a value and a timestamp, which represents the values&#8217; versions. A timestamp is written alongside each value and the identifier for a given version of the value.<\/p>\n<p><strong>Before Update: <\/strong>Initially, the version was set as &#8216;3&#8217;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-529\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/9-9.png\" alt=\"Hadoop Hbase Configuration\" width=\"850\" height=\"602\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/9-9.png 504w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/9-9-300x213.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p><strong>Command:<\/strong> In HBase shell write following command.<\/p>\n<p>&lt;hbase&gt; disable \u2018emp\u2019<\/p>\n<p>&lt;hbase&gt; alter \u2018emp\u2019,{NAME=&gt;\u2019Official_Detail\u2019,VERSIONS=&gt;5}<\/p>\n<p>&lt;hbase&gt; enable \u2018emp&#8217;<\/p>\n<p>(Note: In my case, I have made changes in &#8216;Oficial_detail&#8217; columnar family and instead of tablename use your own tablename which you have created )<\/p>\n<p>&nbsp;<\/p>\n<h3>After Update<\/h3>\n<p><center><br \/>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<!-- Display ads --><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block;\" data-ad-client=\"ca-pub-9274026754180580\" data-ad-slot=\"1830863328\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/center><br \/>\n<strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-530\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/10-9.png\" alt=\"Hadoop Hbase Configuration\" width=\"850\" height=\"568\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/10-9.png 497w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/10-9-300x200.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>In the above case, HBase can store up to 3 versions only but after the update, it can store 5 versions now.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u2666 Compression: <\/strong>Compression reduces the size of large, opaque byte arrays in cells, and can significantly reduce the storage space needed to store uncompressed data. By using Snappy Tool we can make changes in the compression setting.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-531\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/11-9.png\" alt=\"Hadoop Hbase Configuration\" width=\"850\" height=\"604\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/11-9.png 628w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/11-9-300x213.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u2666 TTL(Time To Live) \u2013 <\/strong>It is a feature of Hbase that allows the user to delete the row in the table automatically. This feature reduces a lot of time required to maintain rows if you are handling sensitive data.<\/p>\n<p>Before Update: Initially, the TTL was set as &#8216;2147483647&#8217;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-532\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/12-9.png\" alt=\"Hadoop Hbase Configuration\" width=\"850\" height=\"521\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/12-9.png 419w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/12-9-300x184.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p><strong>Command:<\/strong> In HBase shell write following command.<\/p>\n<p>&lt;hbase&gt; disable \u2018emp\u2019<\/p>\n<p>&lt;hbase&gt; alter \u2018emp\u2019,{NAME=&gt;\u2019Official_Detail\u2019,TTL=&gt;45567788}<\/p>\n<p>&lt;hbase&gt; enable \u2018emp&#8217;<\/p>\n<p>(Note: In my case, I have made changes in &#8216;Oficial_detail&#8217; columnar family and instead of tablename use your own tablename which you have created )<\/p>\n<p>&nbsp;<\/p>\n<h3>After Update<\/h3>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-533\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/13-8.png\" alt=\"Hadoop Hbase Configuration\" width=\"850\" height=\"554\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/13-8.png 580w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/13-8-300x196.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>In the above case, TTL is mentioned in seconds.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u2666 KEEP_DELETED_CELLS : <\/strong>ColumnFamilies can optionally keep deleted cells. That means deleted cells can still be retrieved with getting and Scan operations, as long these operations have a time range specified that ends before the timestamps of any deleted that would affect the cells. We can either enable it (\u2018true\u2019) or disable it (\u2018false\u2019).<\/p>\n<p>Before Update: Initially, the Keep Deleted cells was set as &#8216;false&#8217;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-534\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/14-9.png\" alt=\"Hadoop Hbase Configuration\" width=\"850\" height=\"578\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/14-9.png 465w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/14-9-300x204.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p><strong>Command: <\/strong>In HBase shell write following command.<\/p>\n<p>&lt;hbase&gt; disable \u2018emp\u2019<\/p>\n<p>&lt;hbase&gt; alter \u2018emp\u2019,{NAME=&gt;\u2019Official_Detail\u2019,KEEP_DELETED_CELLS =&gt;\u2019true\u2019}<\/p>\n<p>&lt;hbase&gt; enable \u2018emp&#8217;<\/p>\n<p>(Note: In my case, I have made changes in &#8216;Oficial_detail&#8217; columnar family and instead of tablename use your own tablename which you have created )<\/p>\n<p>&nbsp;<\/p>\n<h3>After Update<\/h3>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-535\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/15-8.png\" alt=\"Hadoop Hbase Configuration\" width=\"850\" height=\"509\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/15-8.png 513w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/15-8-300x180.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u2666 IN-MEMORY: <\/strong>It is just a priority in the block cache.<\/p>\n<p>Before Update: Initially, the In-memory was set as &#8216;false&#8217;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-536\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/16-7.png\" alt=\"Hadoop Hbase Configuration\" width=\"850\" height=\"582\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/16-7.png 488w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/16-7-300x205.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p><strong>Command:<\/strong> In HBase shell write following command.<\/p>\n<p>&lt;hbase&gt; disable \u2018emp\u2019<\/p>\n<p>&lt;hbase&gt; alter \u2018emp\u2019,{NAME=&gt;\u2019Official_Detail\u2019,IN_MEMORY =&gt;\u2019true\u2019}<\/p>\n<p>&lt;hbase&gt; enable \u2018emp&#8217;<\/p>\n<p>(Note: In my case, I have made changes in &#8216;Official_detail&#8217; columnar family and instead of tablename use your own tablename which you have created )<\/p>\n<p>&nbsp;<\/p>\n<h3>After Update<\/h3>\n<p><strong>\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-537\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/17-7.png\" alt=\"Hadoop Hbase Configuration\" width=\"850\" height=\"508\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/17-7.png 622w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/17-7-300x179.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p><strong>\u00a0<\/strong><\/p>\n<p><strong>\u2666 ENCODED_ON_DISK : <\/strong>It refers to the ability to encode KeyValues or Cells on-the-fly as blocks are written or read, exploiting duplicate information between consecutive Cells.<\/p>\n<p>Before Update: Initially, the Encode on disk was set as &#8216;false&#8217;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-538\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/18-7.png\" alt=\"Hadoop Hbase Configuration\" width=\"850\" height=\"506\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/18-7.png 620w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/18-7-300x179.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Command:<\/strong><\/span> In HBase shell write following command.<\/p>\n<p>&lt;hbase&gt; disable \u2018emp\u2019<\/p>\n<p>&lt;hbase&gt; alter \u2018emp\u2019,{NAME=&gt;\u2019Official_Detail\u2019,ENCODED_ON_DISK =&gt;\u2019true\u2019}<\/p>\n<p>&lt;hbase&gt; enable \u2018emp&#8217;<\/p>\n<p>(Note: In my case, I have made changes in &#8216;Official_detail&#8217; columnar family and instead of tablename use your own tablename which you have created )<\/p>\n<p>&nbsp;<\/p>\n<h3>After Update<\/h3>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-539\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/19-6.png\" alt=\"Hadoop Hbase Configuration\" width=\"850\" height=\"555\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/19-6.png 507w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/19-6-300x196.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u2666 BLOCKCACHE : <\/strong>HBase supports block cache improves read performance. When performing a scan, if block cache is enabled and there is room remaining, data blocks reads from storefiles on HDFS are cached in region servers&#8217; Java Heap so that next time, accessing data in the same block can be served by the cached book. Block cache helps in reducing disk I\/O for retrieving data.<\/p>\n<p><strong>Before Update:<\/strong> Initially, the Blockcache was set as &#8216;false&#8217;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-540\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/20-5.png\" alt=\"Hadoop Hbase Configuration\" width=\"850\" height=\"505\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/20-5.png 542w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/20-5-300x178.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p><b>Command<\/b>:\u00a0In HBase shell write <a href=\"https:\/\/hadoop.apache.org\/\">following<\/a> command.<\/p>\n<p>&lt;hbase&gt; disable \u2018emp\u2019<\/p>\n<p>&lt;hbase&gt; alter \u2018emp\u2019,{NAME=&gt;\u2019Official_Detail\u2019,BLOCKCACHE=&gt;\u2019true\u2019}<\/p>\n<p>&lt;hbase&gt; enable \u2018emp&#8217;<\/p>\n<p>(Note: In my case, I have made changes in &#8216;Official_detail&#8217; columnar family and instead of tablename use your own tablename which you have created )<\/p>\n<p>&nbsp;<\/p>\n<h3>\u00a0After Update<\/h3>\n<p><center><br \/>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<!-- Display ads --><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block;\" data-ad-client=\"ca-pub-9274026754180580\" data-ad-slot=\"1830863328\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/center><br \/>\n<strong><u><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-541\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/21-5.png\" alt=\"Hadoop Hbase Configuration\" width=\"850\" height=\"589\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/21-5.png 437w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/21-5-300x208.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/u><\/strong><\/p>\n<h3>Hadoop Hdfs Commands<\/h3>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/TWmL0IXpxkc\" width=\"850\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hadoop HBase configuration Hadoop HBase configuration, Welcome to the world of Hadoop Hbase Tutorials. In these Tutorials, one can explore how Hadoop Hbase Zookeeper configuration can be done. Learn More advanced Tutorials on HBase configuration in Hadoop from India\u2019s Leading Big Data Training institute which Provides Advanced Hadoop Course for those tech Enthusiasts who wanted [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2959,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,1645],"tags":[1832,1834,1833,45],"class_list":["post-520","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hadoop","category-hbase","tag-apache-hbase-configuration","tag-class-hbaseconfiguration-apache-hbase","tag-configuring-hadoop-settings-for-an-hbase-connection","tag-hadoop-hbase-configuration"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Hadoop HBase Configuration | Prwatech<\/title>\n<meta name=\"description\" content=\"Here is the Step by step process of Hadoop HBase zookeeper Configuration, one can Learn Advanced Tutorials on Hadoop Hbase from Prwatech.\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Hadoop HBase Configuration | Prwatech\" \/>\n<meta property=\"og:description\" content=\"Here is the Step by step process of Hadoop HBase zookeeper Configuration, one can Learn Advanced Tutorials on Hadoop Hbase from Prwatech.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prwatech.in\/blog\/hadoop\/hbase\/hadoop-hbase-configuration\/\" \/>\n<meta property=\"og:site_name\" content=\"Prwatech\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prwatech.in\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-02-28T09:41:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-04T08:12:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/hadoop-hbase-configuration.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"768\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Prwatech\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:site\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prwatech\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hbase\/hadoop-hbase-configuration\/\",\"url\":\"https:\/\/prwatech.in\/blog\/hadoop\/hbase\/hadoop-hbase-configuration\/\",\"name\":\"Hadoop HBase Configuration | Prwatech\",\"isPartOf\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hbase\/hadoop-hbase-configuration\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hbase\/hadoop-hbase-configuration\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/hadoop-hbase-configuration.jpg\",\"datePublished\":\"2019-02-28T09:41:58+00:00\",\"dateModified\":\"2024-04-04T08:12:46+00:00\",\"author\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\"},\"description\":\"Here is the Step by step process of Hadoop HBase zookeeper Configuration, one can Learn Advanced Tutorials on Hadoop Hbase from Prwatech.\",\"breadcrumb\":{\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hbase\/hadoop-hbase-configuration\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prwatech.in\/blog\/hadoop\/hbase\/hadoop-hbase-configuration\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hbase\/hadoop-hbase-configuration\/#primaryimage\",\"url\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/hadoop-hbase-configuration.jpg\",\"contentUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/hadoop-hbase-configuration.jpg\",\"width\":1024,\"height\":768,\"caption\":\"hadoop hbase configuration\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hbase\/hadoop-hbase-configuration\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/prwatech.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hadoop Hbase Configuration\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/prwatech.in\/blog\/#website\",\"url\":\"https:\/\/prwatech.in\/blog\/\",\"name\":\"Prwatech\",\"description\":\"Share Ideas, Start Something Good.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/prwatech.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\",\"name\":\"Prwatech\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"caption\":\"Prwatech\"},\"url\":\"https:\/\/prwatech.in\/blog\/author\/prwatech123\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Hadoop HBase Configuration | Prwatech","description":"Here is the Step by step process of Hadoop HBase zookeeper Configuration, one can Learn Advanced Tutorials on Hadoop Hbase from Prwatech.","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Hadoop HBase Configuration | Prwatech","og_description":"Here is the Step by step process of Hadoop HBase zookeeper Configuration, one can Learn Advanced Tutorials on Hadoop Hbase from Prwatech.","og_url":"https:\/\/prwatech.in\/blog\/hadoop\/hbase\/hadoop-hbase-configuration\/","og_site_name":"Prwatech","article_publisher":"https:\/\/www.facebook.com\/prwatech.in\/","article_published_time":"2019-02-28T09:41:58+00:00","article_modified_time":"2024-04-04T08:12:46+00:00","og_image":[{"width":1024,"height":768,"url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/hadoop-hbase-configuration.jpg","type":"image\/jpeg"}],"author":"Prwatech","twitter_card":"summary_large_image","twitter_creator":"@Eduprwatech","twitter_site":"@Eduprwatech","twitter_misc":{"Written by":"Prwatech","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/prwatech.in\/blog\/hadoop\/hbase\/hadoop-hbase-configuration\/","url":"https:\/\/prwatech.in\/blog\/hadoop\/hbase\/hadoop-hbase-configuration\/","name":"Hadoop HBase Configuration | Prwatech","isPartOf":{"@id":"https:\/\/prwatech.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prwatech.in\/blog\/hadoop\/hbase\/hadoop-hbase-configuration\/#primaryimage"},"image":{"@id":"https:\/\/prwatech.in\/blog\/hadoop\/hbase\/hadoop-hbase-configuration\/#primaryimage"},"thumbnailUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/hadoop-hbase-configuration.jpg","datePublished":"2019-02-28T09:41:58+00:00","dateModified":"2024-04-04T08:12:46+00:00","author":{"@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3"},"description":"Here is the Step by step process of Hadoop HBase zookeeper Configuration, one can Learn Advanced Tutorials on Hadoop Hbase from Prwatech.","breadcrumb":{"@id":"https:\/\/prwatech.in\/blog\/hadoop\/hbase\/hadoop-hbase-configuration\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prwatech.in\/blog\/hadoop\/hbase\/hadoop-hbase-configuration\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/hadoop\/hbase\/hadoop-hbase-configuration\/#primaryimage","url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/hadoop-hbase-configuration.jpg","contentUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/02\/hadoop-hbase-configuration.jpg","width":1024,"height":768,"caption":"hadoop hbase configuration"},{"@type":"BreadcrumbList","@id":"https:\/\/prwatech.in\/blog\/hadoop\/hbase\/hadoop-hbase-configuration\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/prwatech.in\/blog\/"},{"@type":"ListItem","position":2,"name":"Hadoop Hbase Configuration"}]},{"@type":"WebSite","@id":"https:\/\/prwatech.in\/blog\/#website","url":"https:\/\/prwatech.in\/blog\/","name":"Prwatech","description":"Share Ideas, Start Something Good.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/prwatech.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3","name":"Prwatech","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","caption":"Prwatech"},"url":"https:\/\/prwatech.in\/blog\/author\/prwatech123\/"}]}},"_links":{"self":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/520","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/comments?post=520"}],"version-history":[{"count":14,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/520\/revisions"}],"predecessor-version":[{"id":1419,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/520\/revisions\/1419"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/media\/2959"}],"wp:attachment":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/media?parent=520"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/categories?post=520"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/tags?post=520"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}