<?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: HBASE truncate table question in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBASE-truncate-table-question/m-p/220373#M77374</link>
    <description>and this is even more bizzare .. how did the rows increase in the table after truncate command from 1304 to 19962 ?&lt;PRE&gt;hbase(main):010:0&amp;gt; count 'PUR_ACCT_PHX'
Current count: 1000, row: 5807472
1304 row(s) in 0.4150 seconds
=&amp;gt; 1304
hbase(main):011:0&amp;gt; truncate 'PUR_ACCT_PHX'
Truncating 'PUR_ACCT_PHX' table (it may take a while):
 - Disabling table...
 - Truncating table...
0 row(s) in 5.5750 seconds
hbase(main):012:0&amp;gt; count 'PUR_ACCT_PHX'
Current count: 1000, row: 12857756
Current count: 2000, row: 13740556
Current count: 3000, row: 14526924
Current count: 4000, row: 15327898
Current count: 5000, row: 16045786
Current count: 6000, row: 16678996
Current count: 7000, row: 17351808
Current count: 8000, row: 17998624
Current count: 9000, row: 18645468
Current count: 10000, row: 19311016
Current count: 11000, row: 19935412
Current count: 12000, row: 20487390
Current count: 13000, row: 214002
Current count: 14000, row: 2799176
Current count: 15000, row: 3449430
Current count: 16000, row: 4322882
Current count: 17000, row: 5288986
Current count: 18000, row: 6087966
Current count: 19000, row: 833559
19962 row(s) in 0.9620 seconds
=&amp;gt; 19962

&lt;/PRE&gt;</description>
    <pubDate>Tue, 17 Apr 2018 22:53:56 GMT</pubDate>
    <dc:creator>aliyesami</dc:creator>
    <dc:date>2018-04-17T22:53:56Z</dc:date>
    <item>
      <title>HBASE truncate table question</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBASE-truncate-table-question/m-p/220372#M77373</link>
      <description>&lt;P&gt;I am truncating an hbase table  but its not emptying it  and everytime I truncate it gives me a different count on the table ?  &lt;/P&gt;&lt;P&gt;four of the columns on this table have versions =10 set.&lt;/P&gt;&lt;P&gt;I want to empty this table in one command.&lt;/P&gt;&lt;PRE&gt;
hbase(main):001:0&amp;gt;
hbase(main):002:0*
hbase(main):003:0* truncate 'PUR_ACCT_PHX'
Truncating 'PUR_ACCT_PHX' table (it may take a while):
 - Disabling table...
 - Truncating table...
0 row(s) in 9.7210 seconds
hbase(main):004:0&amp;gt; count 'PUR_ACCT_PHX'
Current count: 1000, row: 18220040
1133 row(s) in 0.1700 seconds
=&amp;gt; 1133
hbase(main):005:0&amp;gt; truncate 'PUR_ACCT_PHX'
Truncating 'PUR_ACCT_PHX' table (it may take a while):
 - Disabling table...
 - Truncating table...
0 row(s) in 5.3810 seconds
hbase(main):006:0&amp;gt; count 'PUR_ACCT_PHX'
Current count: 1000, row: 13107118
Current count: 2000, row: 14153506
Current count: 3000, row: 15192260
Current count: 4000, row: 16091274
Current count: 5000, row: 1695352
Current count: 6000, row: 17850480
Current count: 7000, row: 18678016
Current count: 8000, row: 19573032
Current count: 9000, row: 2108730
Current count: 10000, row: 2905364
Current count: 11000, row: 3763048
Current count: 12000, row: 4989356
Current count: 13000, row: 6119274
Current count: 14000, row: 8709736
14447 row(s) in 1.1760 seconds
=&amp;gt; 14447
hbase(main):007:0&amp;gt; truncate 'PUR_ACCT_PHX'
Truncating 'PUR_ACCT_PHX' table (it may take a while):
 - Disabling table...
 - Truncating table...
0 row(s) in 5.3440 seconds
hbase(main):008:0&amp;gt; count 'PUR_ACCT_PHX'
Current count: 1000, row: 1861961
Current count: 2000, row: 80757
2119 row(s) in 0.4240 seconds
=&amp;gt; 2119
hbase(main):009:0&amp;gt;

&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Apr 2018 22:51:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBASE-truncate-table-question/m-p/220372#M77373</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2018-04-17T22:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: HBASE truncate table question</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBASE-truncate-table-question/m-p/220373#M77374</link>
      <description>and this is even more bizzare .. how did the rows increase in the table after truncate command from 1304 to 19962 ?&lt;PRE&gt;hbase(main):010:0&amp;gt; count 'PUR_ACCT_PHX'
Current count: 1000, row: 5807472
1304 row(s) in 0.4150 seconds
=&amp;gt; 1304
hbase(main):011:0&amp;gt; truncate 'PUR_ACCT_PHX'
Truncating 'PUR_ACCT_PHX' table (it may take a while):
 - Disabling table...
 - Truncating table...
0 row(s) in 5.5750 seconds
hbase(main):012:0&amp;gt; count 'PUR_ACCT_PHX'
Current count: 1000, row: 12857756
Current count: 2000, row: 13740556
Current count: 3000, row: 14526924
Current count: 4000, row: 15327898
Current count: 5000, row: 16045786
Current count: 6000, row: 16678996
Current count: 7000, row: 17351808
Current count: 8000, row: 17998624
Current count: 9000, row: 18645468
Current count: 10000, row: 19311016
Current count: 11000, row: 19935412
Current count: 12000, row: 20487390
Current count: 13000, row: 214002
Current count: 14000, row: 2799176
Current count: 15000, row: 3449430
Current count: 16000, row: 4322882
Current count: 17000, row: 5288986
Current count: 18000, row: 6087966
Current count: 19000, row: 833559
19962 row(s) in 0.9620 seconds
=&amp;gt; 19962

&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Apr 2018 22:53:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBASE-truncate-table-question/m-p/220373#M77374</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2018-04-17T22:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: HBASE truncate table question</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBASE-truncate-table-question/m-p/220374#M77375</link>
      <description>&lt;P&gt;I've never heard of any issue where a truncate does not remove all data from the table (the regions are physically destroyed, so there is no way that the data could persist).&lt;/P&gt;&lt;P&gt;Perhaps you have some process which is writing new data into this table in the background which you forgot about?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 23:27:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBASE-truncate-table-question/m-p/220374#M77375</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2018-04-17T23:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: HBASE truncate table question</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBASE-truncate-table-question/m-p/220375#M77376</link>
      <description>&lt;P&gt;yes you are right .. I sqoop process was running in background . &lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 01:55:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBASE-truncate-table-question/m-p/220375#M77376</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2018-04-18T01:55:53Z</dc:date>
    </item>
  </channel>
</rss>

