<?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: oldWALs folder growing too much.... in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/oldWALs-folder-growing-too-much/m-p/147295#M109838</link>
    <description>&lt;P&gt;There are currently two services which may keep the
files in the archive directory. First is a TTL process, which ensures that the
WAL files are kept at least for 10 min. This is controlled by hbase.master.logcleaner.ttl configuration property in master.&lt;/P&gt;&lt;P&gt;The other one is replication.
If you had replication setup before, the replication processes will hang on to
the WAL files until they are replicated. Even if you disabled the
replication, the files are still referenced.&lt;/P&gt;&lt;P&gt;You can look at the logs of master from classes (LogCleaner,
TimeToLiveLogCleaner, ReplicationLogCleaner) to see whether any exception was thrown.&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jun 2016 20:16:45 GMT</pubDate>
    <dc:creator>tyu</dc:creator>
    <dc:date>2016-06-20T20:16:45Z</dc:date>
    <item>
      <title>oldWALs folder growing too much....</title>
      <link>https://community.cloudera.com/t5/Support-Questions/oldWALs-folder-growing-too-much/m-p/147291#M109834</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have been looking for some information about this, but I did not found anything. Our HDFS file system is growing a lot, and I can see about 60% of space is in "oldWALs" folder. Why is it growing so much? How can I get rid of this?&lt;/P&gt;&lt;P&gt;We deployed our cluster with Ambari with almost no customization. We don't have replication to other clusters or so on...everything quite standard.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Silvio&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 19:01:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/oldWALs-folder-growing-too-much/m-p/147291#M109834</guid>
      <dc:creator>silvio_delval</dc:creator>
      <dc:date>2016-06-20T19:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: oldWALs folder growing too much....</title>
      <link>https://community.cloudera.com/t5/Support-Questions/oldWALs-folder-growing-too-much/m-p/147292#M109835</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/11120/silviodelval.html" nodeid="11120"&gt;@Silvio del Val&lt;/A&gt;hbase keeps the replication WAL logs until the peer is removed.&lt;P&gt;remove_peer can fixed the problem.&lt;/P&gt;&lt;P&gt;This can help out - &lt;A href="http://stackoverflow.com/questions/28725364/hbase-oldwals-what-it-is-and-how-can-i-clean-it" target="_blank"&gt;http://stackoverflow.com/questions/28725364/hbase-oldwals-what-it-is-and-how-can-i-clean-it&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 19:05:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/oldWALs-folder-growing-too-much/m-p/147292#M109835</guid>
      <dc:creator>sshimpi</dc:creator>
      <dc:date>2016-06-20T19:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: oldWALs folder growing too much....</title>
      <link>https://community.cloudera.com/t5/Support-Questions/oldWALs-folder-growing-too-much/m-p/147293#M109836</link>
      <description>&lt;P&gt;From "list_peers" command we get "0 row(s) in 0.1060 seconds", I tested that before asking and I don't know wht's happening. Any other hints?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 19:51:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/oldWALs-folder-growing-too-much/m-p/147293#M109836</guid>
      <dc:creator>silvio_delval</dc:creator>
      <dc:date>2016-06-20T19:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: oldWALs folder growing too much....</title>
      <link>https://community.cloudera.com/t5/Support-Questions/oldWALs-folder-growing-too-much/m-p/147294#M109837</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11120/silviodelval.html" nodeid="11120"&gt;@Silvio del Val&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Please post the output of "ls /hbase/replication" (and sub-znodes under it) via your "zookeeper-client" shell command. If there are any znodes under there, you will need to clean them up with rm/rmr in the same shell. Once done, try restarting the HMaster and the cleaner should be able to wipe it away.&lt;/P&gt;&lt;P&gt;
If you are a hundred percent sure you do not have any form of replication whatsoever in use, nor have any snapshots, you may choose to also delete the oldWAL directory files manually.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 20:14:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/oldWALs-folder-growing-too-much/m-p/147294#M109837</guid>
      <dc:creator>sshimpi</dc:creator>
      <dc:date>2016-06-20T20:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: oldWALs folder growing too much....</title>
      <link>https://community.cloudera.com/t5/Support-Questions/oldWALs-folder-growing-too-much/m-p/147295#M109838</link>
      <description>&lt;P&gt;There are currently two services which may keep the
files in the archive directory. First is a TTL process, which ensures that the
WAL files are kept at least for 10 min. This is controlled by hbase.master.logcleaner.ttl configuration property in master.&lt;/P&gt;&lt;P&gt;The other one is replication.
If you had replication setup before, the replication processes will hang on to
the WAL files until they are replicated. Even if you disabled the
replication, the files are still referenced.&lt;/P&gt;&lt;P&gt;You can look at the logs of master from classes (LogCleaner,
TimeToLiveLogCleaner, ReplicationLogCleaner) to see whether any exception was thrown.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 20:16:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/oldWALs-folder-growing-too-much/m-p/147295#M109838</guid>
      <dc:creator>tyu</dc:creator>
      <dc:date>2016-06-20T20:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: oldWALs folder growing too much....</title>
      <link>https://community.cloudera.com/t5/Support-Questions/oldWALs-folder-growing-too-much/m-p/147296#M109839</link>
      <description>&lt;P&gt;Disabled replication would still hold on to the WAL files because, 
it guarantees to not lose data between disable and enable. You can execute
remove_peer, which frees up the WAL files eligible for deletion. When
you re-add replication peer again, the replication would start from the
current status, versus if you re-enable a peer, it will continue from where
it left off.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 20:21:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/oldWALs-folder-growing-too-much/m-p/147296#M109839</guid>
      <dc:creator>tyu</dc:creator>
      <dc:date>2016-06-20T20:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: oldWALs folder growing too much....</title>
      <link>https://community.cloudera.com/t5/Support-Questions/oldWALs-folder-growing-too-much/m-p/147297#M109840</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is the output you request:&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;[zk: localhost:2181(CONNECTED) 4] ls /hbase/replication&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;[peers, rs]&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;[zk: localhost:2181(CONNECTED) 5] ls /hbase/replication/peers&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;[]&lt;/P&gt;&lt;P&gt;No replication to other peers&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 20:56:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/oldWALs-folder-growing-too-much/m-p/147297#M109840</guid>
      <dc:creator>silvio_delval</dc:creator>
      <dc:date>2016-06-20T20:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: oldWALs folder growing too much....</title>
      <link>https://community.cloudera.com/t5/Support-Questions/oldWALs-folder-growing-too-much/m-p/147298#M109841</link>
      <description>&lt;P&gt;Well, "archive" folder under /apps/hbase/data" remains "under control" and doesn't grow. My problem is "oldWALs" under same path. I don't have any kind of replication&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 21:16:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/oldWALs-folder-growing-too-much/m-p/147298#M109841</guid>
      <dc:creator>silvio_delval</dc:creator>
      <dc:date>2016-06-20T21:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: oldWALs folder growing too much....</title>
      <link>https://community.cloudera.com/t5/Support-Questions/oldWALs-folder-growing-too-much/m-p/147299#M109842</link>
      <description>&lt;P&gt;No "peers" at all here&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 21:18:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/oldWALs-folder-growing-too-much/m-p/147299#M109842</guid>
      <dc:creator>silvio_delval</dc:creator>
      <dc:date>2016-06-20T21:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: oldWALs folder growing too much....</title>
      <link>https://community.cloudera.com/t5/Support-Questions/oldWALs-folder-growing-too-much/m-p/147300#M109843</link>
      <description>&lt;P&gt;Ok, issue is resolved. I had to explicitly add the custom property "hbase.replication=false" to hbase-site.xml (although we have no replication at all and no peers configured) and restart HBase masters. After this, about 50 TB of data in oldWALs folder were deleted automatically in about 10 minutes &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you very much to all of you, you helped me a lot &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 14:51:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/oldWALs-folder-growing-too-much/m-p/147300#M109843</guid>
      <dc:creator>silvio_delval</dc:creator>
      <dc:date>2016-06-21T14:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: oldWALs folder growing too much....</title>
      <link>https://community.cloudera.com/t5/Support-Questions/oldWALs-folder-growing-too-much/m-p/147301#M109844</link>
      <description>&lt;P&gt;I am in exact same situation as you were in. Adding replaction=false property did not help and it's still growing. and strange part is it's been growing for last 7 days only. It was normal before that. Any clues what's happening here?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 17:15:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/oldWALs-folder-growing-too-much/m-p/147301#M109844</guid>
      <dc:creator>sanketplus</dc:creator>
      <dc:date>2017-04-17T17:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: oldWALs folder growing too much....</title>
      <link>https://community.cloudera.com/t5/Support-Questions/oldWALs-folder-growing-too-much/m-p/147302#M109845</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/97184/oldwals-not-getting-cleared-even-with-no-replicati.html" target="_blank"&gt;https://community.hortonworks.com/questions/97184/oldwals-not-getting-cleared-even-with-no-replicati.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 21:27:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/oldWALs-folder-growing-too-much/m-p/147302#M109845</guid>
      <dc:creator>sanketplus</dc:creator>
      <dc:date>2017-04-18T21:27:41Z</dc:date>
    </item>
  </channel>
</rss>

