You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Tianying Chang <ti...@ebaysf.com> on 2013/06/19 19:00:59 UTC
How to turn off WAL from hbase shell or config file?
Hi,
I am trying to do some performance testing, and want to test when the WAL is turned off. I know there is API writeToWAL(false) to do this, but if I want to just change the setting and use the performanceEvaluation tool to run the test with WAL off.
Is there a way in HBase shell, or a config key in hbase-site.xml to do that?
Thanks
Tian-Ying
Re: How to turn off WAL from hbase shell or config file?
Posted by Stack <st...@duboce.net>.
On Wed, Jun 19, 2013 at 10:00 AM, Tianying Chang <ti...@ebaysf.com> wrote:
> Hi,
>
> I am trying to do some performance testing, and want to test when the WAL
> is turned off. I know there is API writeToWAL(false) to do this, but if I
> want to just change the setting and use the performanceEvaluation tool to
> run the test with WAL off.
>
> Is there a way in HBase shell, or a config key in hbase-site.xml to do
> that?
>
> Thanks
> Tian-Ying
>
Not currently. You have to do it per edit. See
http://hbase.apache.org/xref/org/apache/hadoop/hbase/regionserver/HRegion.html#2162where
we figure whether to write the WAL or not.
St.Ack
Re: How to turn off WAL from hbase shell or config file?
Posted by Matteo Bertozzi <th...@gmail.com>.
On Wed, Jun 19, 2013 at 6:00 PM, Tianying Chang <ti...@ebaysf.com> wrote:
> but if I want to just change the setting and use the performanceEvaluation
> tool to run the test with WAL off.
>
If you are just using PerformanceEvaluation you can pass --writeToWAL=false
that will set the writeToWAL(false) on every put