Re: write availability

2015-04-08 Thread Marcelo Valle (BLOOMBERG/ LONDON)
Thank you all a lot for the answers! From: este...@cloudera.com Subject: Re: write availability -- Cloudera, Inc. On Tue, Apr 7, 2015 at 10:36 AM, Marcelo Valle (BLOOMBERG/ LONDON) mvallemil...@bloomberg.net wrote: Sorry, there is something I asked wrongly because I was understanding

Re: write availability

2015-04-08 Thread Nicolas Liochon
, Marcelo Valle (BLOOMBERG/ LONDON) mvallemil...@bloomberg.net wrote: Thank you all a lot for the answers! From: este...@cloudera.com Subject: Re: write availability -- Cloudera, Inc. On Tue, Apr 7, 2015 at 10:36 AM, Marcelo Valle (BLOOMBERG/ LONDON) mvallemil...@bloomberg.net wrote

write availability

2015-04-07 Thread Marcelo Valle (BLOOMBERG/ LONDON)
the other nodes get up again? Or I might get no write availability for a while?

Re: write availability

2015-04-07 Thread Marcelo Valle (BLOOMBERG/ LONDON)
Thanks Serega, it helps me to understand the differences. From: user@hbase.apache.org Subject: Re: write availability If I have an application that writes to a HBase cluster, can I count that the cluster will always available to receive writes? No, it's CP, not AP system. so everything get

Re: write availability

2015-04-07 Thread Michael Segel
that the cluster will always available to receive writes? I might not be able to read if a region server which handles a range of keys is down, but will I be able to keep writing to other nodes, so everything get in sync when the other nodes get up again? Or I might get no write availability

Re: write availability

2015-04-07 Thread Serega Sheypak
to keep writing to other nodes, so everything get in sync when the other nodes get up again? Or I might get no write availability for a while?

Re: write availability

2015-04-07 Thread Marcelo Valle (BLOOMBERG/ LONDON)
hosting that information go down and one of them come back, but with the disk intact? Considering from the time they went down to the time it went back HBase received new writes that would go to the same data node... From: user@hbase.apache.org Subject: Re: write availability The data is stored

Re: write availability

2015-04-07 Thread Serega Sheypak
to the same data node... From: user@hbase.apache.org Subject: Re: write availability The data is stored on files on hdfs. If a RS goes down, the master knows which regions were on that RS and which hdfs files contain data for these regions, so it will just assign the regions to others RS

Re: write availability

2015-04-07 Thread Serega Sheypak
come back, but with the disk intact? Considering from the time they went down to the time it went back HBase received new writes that would go to the same data node... From: user@hbase.apache.org Subject: Re: write availability The data is stored on files on hdfs. If a RS goes down

Re: write availability

2015-04-07 Thread Esteban Gutierrez
come back, but with the disk intact? Considering from the time they went down to the time it went back HBase received new writes that would go to the same data node... From: user@hbase.apache.org Subject: Re: write availability The data is stored on files on hdfs. If a RS goes down, the master

Re: write availability

2015-04-07 Thread Marcelo Valle (BLOOMBERG/ LONDON)
back again, but with the disk intact, with all the data it had before crashing? From: user@hbase.apache.org Subject: Re: write availability When a RS goes down, the Master will try to assign the regions on the remaining RSes. When the RS comes back, after a while, the Master balancer process

Re: write availability

2015-04-07 Thread Nick Dimiduk
new writes that would go to the same data node... From: user@hbase.apache.org Subject: Re: write availability The data is stored on files on hdfs. If a RS goes down, the master knows which regions were on that RS and which hdfs files contain data for these regions, so it will just assign

Re: write availability

2015-04-07 Thread Wellington Chevreuil
will be written to another region server? Another RS assumes the region range while the RS is down? What happens when the RS that was down goes up again? From: user@hbase.apache.org Subject: Re: write availability I don’t know if I would say that… I read Marcelo’s question

Re: write availability

2015-04-07 Thread Marcelo Valle (BLOOMBERG/ LONDON)
happens when the RS that was down goes up again? From: user@hbase.apache.org Subject: Re: write availability I don’t know if I would say that… I read Marcelo’s question of “if the cluster is up, even though a RS may be down, can I still insert records in to HBase?” So if the cluster is up

Re: write availability

2015-04-07 Thread Andrew Purtell
to the HBase cluster when 1 region server is down? -Marcelo From: Marcelo Valle (BLOOMBERG/ LONDON) Subject: Re: write availability Esteban, If I understood correctly what you said: For the failure mode you mention if all DNs go down (not the NN) clients will be blocked waiting

Re: write availability

2015-04-07 Thread Marcelo Valle (BLOOMBERG/ LONDON)
From: Marcelo Valle (BLOOMBERG/ LONDON) Subject: Re: write availability Esteban, If I understood correctly what you said: For the failure mode you mention if all DNs go down (not the NN) clients will be blocked waiting for the acknowledge of a write to the DNs and after few retries the RS

Re: write availability

2015-04-07 Thread Esteban Gutierrez
. HBase provides other features like replication which can even help you further on HA and other disaster recovery scenarios. if you have more questions pelase let us know! esteban. -Marcelo From: Marcelo Valle (BLOOMBERG/ LONDON) Subject: Re: write availability Esteban, If I understood

Re: write availability

2015-04-07 Thread Marcelo Valle (BLOOMBERG/ LONDON)
and wouldn't be working for users whose user id is in a down region (a region where all corresponding DNs are down, considering 1 DN per RS). Is this right? -Marcelo. From: este...@cloudera.com Subject: Re: write availability Hello Marcelo, HBase has strong durability guarantees to avoid data

Re: write availability

2015-04-07 Thread Esteban Gutierrez
: write availability Hello Marcelo, HBase has strong durability guarantees to avoid data loss. When a write arrives to a RegionServer data will be persisted into a Write-Ahead-Log (on HDFS) and temporarily in the RegionServer memory until the data from this memory store is flushed (also