[jira] [Updated] (HBASE-13063) Allow to turn off memstore replication for region replicas

2015-03-11 Thread Enis Soztutar (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-13063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Enis Soztutar updated HBASE-13063:
--
Attachment: hbase-13063-addendum.patch

Thanks [~mbertozzi]. I have committed the addendum with a simple change (use 
Boolean.toString(memstoreReplication) instead of hard coding false as the 
value. Attaching for ref.

 Allow to turn off memstore replication for region replicas
 --

 Key: HBASE-13063
 URL: https://issues.apache.org/jira/browse/HBASE-13063
 Project: HBase
  Issue Type: New Feature
  Components: regionserver, Replication
Reporter: Matteo Bertozzi
Assignee: Matteo Bertozzi
Priority: Minor
 Fix For: 2.0.0, 1.1.0

 Attachments: HBASE-13063-v0.patch, HBASE-13063-v1-branch-1.patch, 
 HBASE-13063-v1.patch, HBASE-13063-v1.patch, HBASE-13063-v2.patch, 
 HBASE-13063-v2.patch, hbase-13063-addendum.patch, hbase-13063-addendum.patch


 HBASE-11568 allows to use replication to send wal edits from the primary to 
 the replicas.
 sometimes the memstore replication is not required, so it will be nice have a 
 flag to disable it.
 the result will be more or less the same to what we have in phase-1, but with 
 the row-level consistency provided by the flush edit transfered via 
 replication to refresh the hfiles.
 create 't1', 'f', {REGION_REPLICATION = 2, REGION_MEMSTORE_REPLICATION = 
 false}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-13063) Allow to turn off memstore replication for region replicas

2015-03-10 Thread Matteo Bertozzi (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-13063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matteo Bertozzi updated HBASE-13063:

Resolution: Fixed
Status: Resolved  (was: Patch Available)

 Allow to turn off memstore replication for region replicas
 --

 Key: HBASE-13063
 URL: https://issues.apache.org/jira/browse/HBASE-13063
 Project: HBase
  Issue Type: New Feature
  Components: regionserver, Replication
Reporter: Matteo Bertozzi
Assignee: Matteo Bertozzi
Priority: Minor
 Fix For: 2.0.0, 1.1.0

 Attachments: HBASE-13063-v0.patch, HBASE-13063-v1-branch-1.patch, 
 HBASE-13063-v1.patch, HBASE-13063-v1.patch, HBASE-13063-v2.patch, 
 HBASE-13063-v2.patch


 HBASE-11568 allows to use replication to send wal edits from the primary to 
 the replicas.
 sometimes the memstore replication is not required, so it will be nice have a 
 flag to disable it.
 the result will be more or less the same to what we have in phase-1, but with 
 the row-level consistency provided by the flush edit transfered via 
 replication to refresh the hfiles.
 create 't1', 'f', {REGION_REPLICATION = 2, REGION_MEMSTORE_REPLICATION = 
 false}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-13063) Allow to turn off memstore replication for region replicas

2015-03-10 Thread Enis Soztutar (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-13063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Enis Soztutar updated HBASE-13063:
--
Attachment: hbase-13063-addendum.patch

I think the problem is that the flush call after the writes may not flush 
because the primary region may already be flushing (saw from failed test logs 
running in a loop). 

This may cause a problem with the test since it expects that the last flush 
will flush everything. I have fixed the problem with this addendum patch by not 
requesting the flush when the seconday region replica comes up when memstore 
replication is set to false (because we do not need this for correctness). 

Reviews welcome. 

 Allow to turn off memstore replication for region replicas
 --

 Key: HBASE-13063
 URL: https://issues.apache.org/jira/browse/HBASE-13063
 Project: HBase
  Issue Type: New Feature
  Components: regionserver, Replication
Reporter: Matteo Bertozzi
Assignee: Matteo Bertozzi
Priority: Minor
 Fix For: 2.0.0, 1.1.0

 Attachments: HBASE-13063-v0.patch, HBASE-13063-v1-branch-1.patch, 
 HBASE-13063-v1.patch, HBASE-13063-v1.patch, HBASE-13063-v2.patch, 
 HBASE-13063-v2.patch, hbase-13063-addendum.patch


 HBASE-11568 allows to use replication to send wal edits from the primary to 
 the replicas.
 sometimes the memstore replication is not required, so it will be nice have a 
 flag to disable it.
 the result will be more or less the same to what we have in phase-1, but with 
 the row-level consistency provided by the flush edit transfered via 
 replication to refresh the hfiles.
 create 't1', 'f', {REGION_REPLICATION = 2, REGION_MEMSTORE_REPLICATION = 
 false}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-13063) Allow to turn off memstore replication for region replicas

2015-03-06 Thread Matteo Bertozzi (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-13063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matteo Bertozzi updated HBASE-13063:

Attachment: HBASE-13063-v2.patch

 Allow to turn off memstore replication for region replicas
 --

 Key: HBASE-13063
 URL: https://issues.apache.org/jira/browse/HBASE-13063
 Project: HBase
  Issue Type: New Feature
  Components: regionserver, Replication
Reporter: Matteo Bertozzi
Assignee: Matteo Bertozzi
Priority: Minor
 Fix For: 2.0.0, 1.1.0

 Attachments: HBASE-13063-v0.patch, HBASE-13063-v1-branch-1.patch, 
 HBASE-13063-v1.patch, HBASE-13063-v1.patch, HBASE-13063-v2.patch, 
 HBASE-13063-v2.patch


 HBASE-11568 allows to use replication to send wal edits from the primary to 
 the replicas.
 sometimes the memstore replication is not required, so it will be nice have a 
 flag to disable it.
 the result will be more or less the same to what we have in phase-1, but with 
 the row-level consistency provided by the flush edit transfered via 
 replication to refresh the hfiles.
 create 't1', 'f', {REGION_REPLICATION = 2, REGION_MEMSTORE_REPLICATION = 
 false}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-13063) Allow to turn off memstore replication for region replicas

2015-03-03 Thread Matteo Bertozzi (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-13063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matteo Bertozzi updated HBASE-13063:

Attachment: HBASE-13063-v2.patch

 Allow to turn off memstore replication for region replicas
 --

 Key: HBASE-13063
 URL: https://issues.apache.org/jira/browse/HBASE-13063
 Project: HBase
  Issue Type: New Feature
  Components: regionserver, Replication
Reporter: Matteo Bertozzi
Assignee: Matteo Bertozzi
Priority: Minor
 Fix For: 2.0.0, 1.1.0

 Attachments: HBASE-13063-v0.patch, HBASE-13063-v1-branch-1.patch, 
 HBASE-13063-v1.patch, HBASE-13063-v1.patch, HBASE-13063-v2.patch


 HBASE-11568 allows to use replication to send wal edits from the primary to 
 the replicas.
 sometimes the memstore replication is not required, so it will be nice have a 
 flag to disable it.
 the result will be more or less the same to what we have in phase-1, but with 
 the row-level consistency provided by the flush edit transfered via 
 replication to refresh the hfiles.
 create 't1', 'f', {REGION_REPLICATION = 2, REGION_MEMSTORE_REPLICATION = 
 false}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-13063) Allow to turn off memstore replication for region replicas

2015-03-02 Thread Matteo Bertozzi (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-13063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matteo Bertozzi updated HBASE-13063:

Attachment: HBASE-13063-v1.patch
HBASE-13063-v1-branch-1.patch

 Allow to turn off memstore replication for region replicas
 --

 Key: HBASE-13063
 URL: https://issues.apache.org/jira/browse/HBASE-13063
 Project: HBase
  Issue Type: New Feature
  Components: regionserver, Replication
Reporter: Matteo Bertozzi
Assignee: Matteo Bertozzi
Priority: Minor
 Fix For: 2.0.0, 1.1.0

 Attachments: HBASE-13063-v0.patch, HBASE-13063-v1-branch-1.patch, 
 HBASE-13063-v1.patch, HBASE-13063-v1.patch


 HBASE-11568 allows to use replication to send wal edits from the primary to 
 the replicas.
 sometimes the memstore replication is not required, so it will be nice have a 
 flag to disable it.
 the result will be more or less the same to what we have in phase-1, but with 
 the row-level consistency provided by the flush edit transfered via 
 replication to refresh the hfiles.
 create 't1', 'f', {REGION_REPLICATION = 2, REGION_MEMSTORE_REPLICATION = 
 false}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-13063) Allow to turn off memstore replication for region replicas

2015-02-24 Thread Matteo Bertozzi (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-13063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matteo Bertozzi updated HBASE-13063:

Attachment: (was: HBASE-13063-v0.patch)

 Allow to turn off memstore replication for region replicas
 --

 Key: HBASE-13063
 URL: https://issues.apache.org/jira/browse/HBASE-13063
 Project: HBase
  Issue Type: New Feature
  Components: regionserver, Replication
Reporter: Matteo Bertozzi
Assignee: Matteo Bertozzi
Priority: Minor
 Fix For: 2.0.0, 1.1.0

 Attachments: HBASE-13063-v0.patch, HBASE-13063-v1.patch


 HBASE-11568 allows to use replication to send wal edits from the primary to 
 the replicas.
 sometimes the memstore replication is not required, so it will be nice have a 
 flag to disable it.
 the result will be more or less the same to what we have in phase-1, but with 
 the row-level consistency provided by the flush edit transfered via 
 replication to refresh the hfiles.
 create 't1', 'f', {REGION_REPLICATION = 2, REGION_MEMSTORE_REPLICATION = 
 false}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-13063) Allow to turn off memstore replication for region replicas

2015-02-24 Thread Matteo Bertozzi (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-13063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matteo Bertozzi updated HBASE-13063:

Attachment: HBASE-13063-v1.patch

 Allow to turn off memstore replication for region replicas
 --

 Key: HBASE-13063
 URL: https://issues.apache.org/jira/browse/HBASE-13063
 Project: HBase
  Issue Type: New Feature
  Components: regionserver, Replication
Reporter: Matteo Bertozzi
Assignee: Matteo Bertozzi
Priority: Minor
 Fix For: 2.0.0, 1.1.0

 Attachments: HBASE-13063-v0.patch, HBASE-13063-v1.patch


 HBASE-11568 allows to use replication to send wal edits from the primary to 
 the replicas.
 sometimes the memstore replication is not required, so it will be nice have a 
 flag to disable it.
 the result will be more or less the same to what we have in phase-1, but with 
 the row-level consistency provided by the flush edit transfered via 
 replication to refresh the hfiles.
 create 't1', 'f', {REGION_REPLICATION = 2, REGION_MEMSTORE_REPLICATION = 
 false}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-13063) Allow to turn off memstore replication for region replicas

2015-02-23 Thread Matteo Bertozzi (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-13063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matteo Bertozzi updated HBASE-13063:

Status: Patch Available  (was: Open)

 Allow to turn off memstore replication for region replicas
 --

 Key: HBASE-13063
 URL: https://issues.apache.org/jira/browse/HBASE-13063
 Project: HBase
  Issue Type: New Feature
  Components: regionserver, Replication
Reporter: Matteo Bertozzi
Assignee: Matteo Bertozzi
Priority: Minor
 Fix For: 2.0.0, 1.1.0

 Attachments: HBASE-13063-v0.patch, HBASE-13063-v0.patch


 HBASE-11568 allows to use replication to send wal edits from the primary to 
 the replicas.
 sometimes the memstore replication is not required, so it will be nice have a 
 flag to disable it.
 the result will be more or less the same to what we have in phase-1, but with 
 the row-level consistency provided by the flush edit transfered via 
 replication to refresh the hfiles.
 create 't1', 'f', {REGION_REPLICATION = 2, REGION_MEMSTORE_REPLICATION = 
 false}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-13063) Allow to turn off memstore replication for region replicas

2015-02-23 Thread Matteo Bertozzi (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-13063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matteo Bertozzi updated HBASE-13063:

Attachment: HBASE-13063-v0.patch

 Allow to turn off memstore replication for region replicas
 --

 Key: HBASE-13063
 URL: https://issues.apache.org/jira/browse/HBASE-13063
 Project: HBase
  Issue Type: New Feature
  Components: regionserver, Replication
Reporter: Matteo Bertozzi
Assignee: Matteo Bertozzi
Priority: Minor
 Fix For: 2.0.0, 1.1.0

 Attachments: HBASE-13063-v0.patch, HBASE-13063-v0.patch


 HBASE-11568 allows to use replication to send wal edits from the primary to 
 the replicas.
 sometimes the memstore replication is not required, so it will be nice have a 
 flag to disable it.
 the result will be more or less the same to what we have in phase-1, but with 
 the row-level consistency provided by the flush edit transfered via 
 replication to refresh the hfiles.
 create 't1', 'f', {REGION_REPLICATION = 2, REGION_MEMSTORE_REPLICATION = 
 false}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-13063) Allow to turn off memstore replication for region replicas

2015-02-18 Thread Matteo Bertozzi (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-13063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matteo Bertozzi updated HBASE-13063:

Attachment: HBASE-13063-v0.patch

 Allow to turn off memstore replication for region replicas
 --

 Key: HBASE-13063
 URL: https://issues.apache.org/jira/browse/HBASE-13063
 Project: HBase
  Issue Type: New Feature
  Components: regionserver, Replication
Reporter: Matteo Bertozzi
Assignee: Matteo Bertozzi
Priority: Minor
 Fix For: 2.0.0, 1.1.0

 Attachments: HBASE-13063-v0.patch


 HBASE-11568 allows to use replication to send wal edits from the primary to 
 the replicas.
 sometimes the memstore replication is not required, so it will be nice have a 
 flag to disable it.
 the result will be more or less the same to what we have in phase-1, but with 
 the row-level consistency provided by the flush edit transfered via 
 replication to refresh the hfiles.
 create 't1', 'f', {REGION_REPLICATION = 2, REGION_MEMSTORE_REPLICATION = 
 false}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)