stop_replication dangerous?

2013-07-01 Thread Patrick Schless
The first two tutorials for enabling replication that google gives me [1],
[2] take very different tones with regard to stop_replication. The HBase
docs [1] make it sound fine to start and stop replication as desired. The
Cloudera docs [2] say it may cause data loss.

Which is true? If data loss is possible, are we talking about data loss in
the primary cluster, or data loss in the standby cluster (presumably would
require reinitializing the sync with a new CopyTable).

Thanks,
Patrick


[1]
http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/replication/package-summary.html#requirements
[2]
http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH4/4.2.0/CDH4-Installation-Guide/cdh4ig_topic_20_11.html


Re: stop_replication dangerous?

2013-07-01 Thread Jean-Daniel Cryans
Yeah that package documentation ought to be changed. Mind opening a jira?

Thx,

J-D

On Mon, Jul 1, 2013 at 1:51 PM, Patrick Schless
patrick.schl...@gmail.com wrote:
 The first two tutorials for enabling replication that google gives me [1],
 [2] take very different tones with regard to stop_replication. The HBase
 docs [1] make it sound fine to start and stop replication as desired. The
 Cloudera docs [2] say it may cause data loss.

 Which is true? If data loss is possible, are we talking about data loss in
 the primary cluster, or data loss in the standby cluster (presumably would
 require reinitializing the sync with a new CopyTable).

 Thanks,
 Patrick


 [1]
 http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/replication/package-summary.html#requirements
 [2]
 http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH4/4.2.0/CDH4-Installation-Guide/cdh4ig_topic_20_11.html


Re: stop_replication dangerous?

2013-07-01 Thread Patrick Schless
sure thing: https://issues.apache.org/jira/browse/HBASE-8844


On Mon, Jul 1, 2013 at 3:59 PM, Jean-Daniel Cryans jdcry...@apache.orgwrote:

 Yeah that package documentation ought to be changed. Mind opening a jira?

 Thx,

 J-D

 On Mon, Jul 1, 2013 at 1:51 PM, Patrick Schless
 patrick.schl...@gmail.com wrote:
  The first two tutorials for enabling replication that google gives me
 [1],
  [2] take very different tones with regard to stop_replication. The HBase
  docs [1] make it sound fine to start and stop replication as desired. The
  Cloudera docs [2] say it may cause data loss.
 
  Which is true? If data loss is possible, are we talking about data loss
 in
  the primary cluster, or data loss in the standby cluster (presumably
 would
  require reinitializing the sync with a new CopyTable).
 
  Thanks,
  Patrick
 
 
  [1]
 
 http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/replication/package-summary.html#requirements
  [2]
 
 http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH4/4.2.0/CDH4-Installation-Guide/cdh4ig_topic_20_11.html