You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by yanivG <ya...@gmail.com> on 2014/04/08 08:47:42 UTC

Snapshots timeouts

I am currently trying to create another hbase cluster by exporting snapshots
from our main storage.
While it worked well for the smaller tables, it failed on timeouts on larger
tables while trying to CREATE the snapshots.
I read a bit about it and found out that increasing
"hbase.snapshot.master.timeoutMillis" and "hbase.snapshot.region.timeout"
may help.
Where should I set those configurations?



--
View this message in context: http://apache-hbase.679495.n3.nabble.com/Snapshots-timeouts-tp4057961.html
Sent from the HBase User mailing list archive at Nabble.com.

Re: Snapshots timeouts

Posted by Matteo Bertozzi <th...@gmail.com>.
Snapshots are a two-phase commit like operation, with the master
coordinating the region servers.
http://blog.cloudera.com/blog/2013/06/introduction-to-apache-hbase-snapshots-part-2-deeper-dive/

so, you have 2 timeout
 - on master side you have to set "hbase.snapshot.master.timeoutMillis".
(The master is waiting response from every RS involved in the snapshot
operation)
 - on region server side you have to set "hbase.snapshot.region.timeout".
(The region server is the one taking the snapshot of the regions that is
hosting)

the properties must be set in the hbase-site.xml of Master/RSs

Matteo



On Tue, Apr 8, 2014 at 12:23 AM, Bharath Vissapragada <bharathv@cloudera.com
> wrote:

> HMaster hbase-site.xml!
>
>
> On Tue, Apr 8, 2014 at 12:17 PM, yanivG <ya...@gmail.com> wrote:
>
> > I am currently trying to create another hbase cluster by exporting
> > snapshots
> > from our main storage.
> > While it worked well for the smaller tables, it failed on timeouts on
> > larger
> > tables while trying to CREATE the snapshots.
> > I read a bit about it and found out that increasing
> > "hbase.snapshot.master.timeoutMillis" and "hbase.snapshot.region.timeout"
> > may help.
> > Where should I set those configurations?
> >
> >
> >
> > --
> > View this message in context:
> >
> http://apache-hbase.679495.n3.nabble.com/Snapshots-timeouts-tp4057961.html
> > Sent from the HBase User mailing list archive at Nabble.com.
> >
>
>
>
> --
> Bharath Vissapragada
> <http://www.cloudera.com>
>

Re: Snapshots timeouts

Posted by Bharath Vissapragada <bh...@cloudera.com>.
HMaster hbase-site.xml!


On Tue, Apr 8, 2014 at 12:17 PM, yanivG <ya...@gmail.com> wrote:

> I am currently trying to create another hbase cluster by exporting
> snapshots
> from our main storage.
> While it worked well for the smaller tables, it failed on timeouts on
> larger
> tables while trying to CREATE the snapshots.
> I read a bit about it and found out that increasing
> "hbase.snapshot.master.timeoutMillis" and "hbase.snapshot.region.timeout"
> may help.
> Where should I set those configurations?
>
>
>
> --
> View this message in context:
> http://apache-hbase.679495.n3.nabble.com/Snapshots-timeouts-tp4057961.html
> Sent from the HBase User mailing list archive at Nabble.com.
>



-- 
Bharath Vissapragada
<http://www.cloudera.com>

Re: Snapshots timeouts

Posted by dquigley89 <dq...@gmail.com>.
There are actually three timeouts, and I only had success when increasing all
three. Adding the following to hbase-site.xml should do the trick.

<property>
<name>hbase.snapshot.master.timeoutMillis</name>
<value>1200000</value>
</property>

<property>
<name>hbase.snapshot.region.timeout</name>
<value>1200000</value>
</property>

<property>
<name>hbase.snapshot.master.timeout.millis</name>
<value>1200000</value>
</property>




--
View this message in context: http://apache-hbase.679495.n3.nabble.com/Snapshots-timeouts-tp4057961p4057962.html
Sent from the HBase User mailing list archive at Nabble.com.