<?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 OldWALs are not deleting in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/OldWALs-are-not-deleting/m-p/307092#M223078</link>
    <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am facing issue in my cloudera cluster and HDFS used space is growing and "&lt;STRONG&gt;/hbase/oldWALs&lt;/STRONG&gt;" is occupied more than 50%.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can confirm that, HBase replication is disabled and TTL is set to 1 Min.&lt;/P&gt;&lt;DIV class="header-column"&gt;&lt;DIV class="property-name"&gt;hbase master logcleaner ttl = 1 Min&lt;/DIV&gt;&lt;DIV class="property-name"&gt;&lt;DIV class="header-column"&gt;&lt;DIV class="property-name"&gt;hbase replication = false&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="control-column-expanded"&gt;&lt;DIV class="value-entry"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="value-entry"&gt;HBase logs i can see below warn's,&lt;/DIV&gt;&lt;DIV class="value-entry"&gt;WARN org apache hadoop hbase master cleaner CleanerChore: A file cleanerhostname 60000.oldLogCleaner is stopped, won't delete any more files in /nameservice1/hbase/oldWALs&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And checked list of peers in hbase,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;hbase(main):001:0&amp;gt; list_peers&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;PEER_ID CLUSTER_KEY STATE TABLE_CFS&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;0 row(s) in 0.2360 seconds&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dont see anything, Please help me with your comments.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;</description>
    <pubDate>Mon, 07 Dec 2020 12:07:30 GMT</pubDate>
    <dc:creator>kvinod</dc:creator>
    <dc:date>2020-12-07T12:07:30Z</dc:date>
    <item>
      <title>OldWALs are not deleting</title>
      <link>https://community.cloudera.com/t5/Support-Questions/OldWALs-are-not-deleting/m-p/307092#M223078</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am facing issue in my cloudera cluster and HDFS used space is growing and "&lt;STRONG&gt;/hbase/oldWALs&lt;/STRONG&gt;" is occupied more than 50%.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can confirm that, HBase replication is disabled and TTL is set to 1 Min.&lt;/P&gt;&lt;DIV class="header-column"&gt;&lt;DIV class="property-name"&gt;hbase master logcleaner ttl = 1 Min&lt;/DIV&gt;&lt;DIV class="property-name"&gt;&lt;DIV class="header-column"&gt;&lt;DIV class="property-name"&gt;hbase replication = false&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="control-column-expanded"&gt;&lt;DIV class="value-entry"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="value-entry"&gt;HBase logs i can see below warn's,&lt;/DIV&gt;&lt;DIV class="value-entry"&gt;WARN org apache hadoop hbase master cleaner CleanerChore: A file cleanerhostname 60000.oldLogCleaner is stopped, won't delete any more files in /nameservice1/hbase/oldWALs&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And checked list of peers in hbase,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;hbase(main):001:0&amp;gt; list_peers&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;PEER_ID CLUSTER_KEY STATE TABLE_CFS&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;0 row(s) in 0.2360 seconds&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dont see anything, Please help me with your comments.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 12:07:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/OldWALs-are-not-deleting/m-p/307092#M223078</guid>
      <dc:creator>kvinod</dc:creator>
      <dc:date>2020-12-07T12:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: OldWALs are not deleting</title>
      <link>https://community.cloudera.com/t5/Support-Questions/OldWALs-are-not-deleting/m-p/307138#M223109</link>
      <description>&lt;P&gt;Can someone please help me?&lt;/P&gt;&lt;P&gt;That would be great and thanks in advance...!!&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 06:59:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/OldWALs-are-not-deleting/m-p/307138#M223109</guid>
      <dc:creator>kvinod</dc:creator>
      <dc:date>2020-12-08T06:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: OldWALs are not deleting</title>
      <link>https://community.cloudera.com/t5/Support-Questions/OldWALs-are-not-deleting/m-p/307149#M223118</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/30470"&gt;@kvinod&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for using Cloudera Community. Your concern is HBase OldWALs on HDFS Path "/hbase/oldWALs" are occupying a lot of space. HBase Replication isn't being used &amp;amp; TTL is set to 1 Minute.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The HMaster Trace Logs capture the CleanerChore with verbose logging, yet I wish to check if you have tried the following 2 options:&lt;/P&gt;&lt;P&gt;1. Restart the HMaster Service to confirm if any issues with CleanerChore,&lt;/P&gt;&lt;P&gt;2. The Parameter "&lt;SPAN&gt;hbase.replication" is set correctly to False via the Steps shared under Section [1].&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. If the "/hbase/replication" has any entries. If no Replication is utilised (HBase Replication or Lily Indexer), Try removing the&amp;nbsp;"/hbase/replication" ZNode &amp;amp; restart the&amp;nbsp;HMaster Service.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Smarak&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[1]&amp;nbsp;CM=&amp;gt; HBase=&amp;gt; Configuration=&amp;gt; Advanced=&amp;gt; HBase Service Advanced Configuration Snippet (Safety Valve) for hbase-site.xml&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 11:23:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/OldWALs-are-not-deleting/m-p/307149#M223118</guid>
      <dc:creator>smdas</dc:creator>
      <dc:date>2020-12-08T11:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: OldWALs are not deleting</title>
      <link>https://community.cloudera.com/t5/Support-Questions/OldWALs-are-not-deleting/m-p/307160#M223126</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/40384"&gt;@smdas&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for your response.&lt;/P&gt;&lt;P&gt;Followed above steps and find below details,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ls /hbase/replication&lt;BR /&gt;[peers, rs]&lt;/P&gt;&lt;P&gt;ls /hbase/replication/peers&lt;BR /&gt;[]&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Now i have deleted replication in ZNODE and added hbase.replication as false in hbase-site.xml and restarted HBase.&lt;/P&gt;&lt;P&gt;Find below details after restart,&lt;/P&gt;&lt;P&gt;ls /hbase/replication&lt;BR /&gt;[peers, rs]&lt;/P&gt;&lt;P&gt;ls /hbase/replication/peers&lt;BR /&gt;[]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And now i can see it is cleared and empty under /hbase/oldWALs directory in hdfs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if you can observe attached screen shot, That is not enabled right?&lt;BR /&gt;Any differences?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HBase_replication.PNG" style="width: 420px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/29730i8E4EBD61075851C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="HBase_replication.PNG" alt="HBase_replication.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 13:29:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/OldWALs-are-not-deleting/m-p/307160#M223126</guid>
      <dc:creator>kvinod</dc:creator>
      <dc:date>2020-12-08T13:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: OldWALs are not deleting</title>
      <link>https://community.cloudera.com/t5/Support-Questions/OldWALs-are-not-deleting/m-p/307161#M223127</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/30470"&gt;@kvinod&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the Update. The Replication ZNode being created is expected after restart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Checkbox concerning HBase Replication being left unchecked indicates Replication being disabled yet I have observed couple of cases wherein a CM Config wasn't passed to Service Level, causing certain unexpected behaviour. The explicit addition of the Parameter was to ensure the Service (HBase in this case) is aware of the Configuration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or, Master Restart (Performed via HBase Restart) may have resolved the issue, by spawning a new CleanerChoreThread. As such, the issue is likely with the HBase Service being unaware of Replication being disabled or HMaster CleanerChore Thread. By explicitly adding the HBase Replication as False &amp;amp; restarting the HBase Service, We covered the 2 possibilities.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Smarak&lt;/P&gt;&lt;P&gt;&lt;I&gt;Was your question answered? Make sure to mark the answer as the accepted solution.&lt;/I&gt;&lt;BR /&gt;&lt;I&gt;If you find a reply useful, say thanks by clicking on the thumbs up button.&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 13:48:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/OldWALs-are-not-deleting/m-p/307161#M223127</guid>
      <dc:creator>smdas</dc:creator>
      <dc:date>2020-12-08T13:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: OldWALs are not deleting</title>
      <link>https://community.cloudera.com/t5/Support-Questions/OldWALs-are-not-deleting/m-p/307170#M223134</link>
      <description>&lt;P&gt;Thank you so much and it is resolved.&lt;/P&gt;&lt;P&gt;But why it is not replicating ?&lt;/P&gt;&lt;P&gt;When it is keeping under /oldWALs directory it should replicate right ?&lt;/P&gt;&lt;P&gt;Can you please give me clarification.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 14:51:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/OldWALs-are-not-deleting/m-p/307170#M223134</guid>
      <dc:creator>kvinod</dc:creator>
      <dc:date>2020-12-08T14:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: OldWALs are not deleting</title>
      <link>https://community.cloudera.com/t5/Support-Questions/OldWALs-are-not-deleting/m-p/307187#M223150</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/30470"&gt;@kvinod&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As Cluster Replication wasn't being used based on the fact that "list_peers" isn't showing any Peer, It's likely the CleanerChore Thread wasn't performing its duties. Note that WALs are moved to oldWALs once the Last SequenceIDs of the WALs have been persisted to Disk via MemStore Flush. In other words, oldWALs being present doesn't necessarily means that the WALs are being persisted for replication. Now, the Cleanup of oldWALs is CleanerChore Thread responsibility. As we covered above, the HBase Service Restart covered the HMaster Restart, which would ensure the CleanerChore Thread is spawned afresh.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if the above answers your queries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Smarak&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 17:12:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/OldWALs-are-not-deleting/m-p/307187#M223150</guid>
      <dc:creator>smdas</dc:creator>
      <dc:date>2020-12-08T17:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: OldWALs are not deleting</title>
      <link>https://community.cloudera.com/t5/Support-Questions/OldWALs-are-not-deleting/m-p/307287#M223168</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/40384"&gt;@smdas&lt;/a&gt;&amp;nbsp;for clarification.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 07:18:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/OldWALs-are-not-deleting/m-p/307287#M223168</guid>
      <dc:creator>kvinod</dc:creator>
      <dc:date>2020-12-09T07:18:38Z</dc:date>
    </item>
  </channel>
</rss>

