[jira] [Updated] (HBASE-10818) Add integration test for bulkload with replicas

2014-06-27 Thread Enis Soztutar (JIRA)

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

Enis Soztutar updated HBASE-10818:
--

Attachment: 0041-HBASE-10818.-Add-integration-test-for-bulkload-with-.patch

 Add integration test for bulkload with replicas
 ---

 Key: HBASE-10818
 URL: https://issues.apache.org/jira/browse/HBASE-10818
 Project: HBase
  Issue Type: Sub-task
Affects Versions: hbase-10070
Reporter: Nick Dimiduk
Assignee: Devaraj Das
 Fix For: hbase-10070

 Attachments: 
 0041-HBASE-10818.-Add-integration-test-for-bulkload-with-.patch, 
 0042-HBASE-10818.-Addendum-to-reduce-the-number-of-times-.patch, 10818-7.txt, 
 HBASE-10818.00.patch, HBASE-10818.01.patch, HBASE-10818.02.patch, 
 IntegrationTestBulkLoad_replicas.log


 Should verify bulkload is not affected by region replicas.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10818) Add integration test for bulkload with replicas

2014-06-27 Thread Enis Soztutar (JIRA)

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

Enis Soztutar updated HBASE-10818:
--

Attachment: 0042-HBASE-10818.-Addendum-to-reduce-the-number-of-times-.patch

 Add integration test for bulkload with replicas
 ---

 Key: HBASE-10818
 URL: https://issues.apache.org/jira/browse/HBASE-10818
 Project: HBase
  Issue Type: Sub-task
Affects Versions: hbase-10070
Reporter: Nick Dimiduk
Assignee: Devaraj Das
 Fix For: hbase-10070

 Attachments: 
 0041-HBASE-10818.-Add-integration-test-for-bulkload-with-.patch, 
 0042-HBASE-10818.-Addendum-to-reduce-the-number-of-times-.patch, 10818-7.txt, 
 HBASE-10818.00.patch, HBASE-10818.01.patch, HBASE-10818.02.patch, 
 IntegrationTestBulkLoad_replicas.log


 Should verify bulkload is not affected by region replicas.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10818) Add integration test for bulkload with replicas

2014-06-27 Thread Enis Soztutar (JIRA)

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

Enis Soztutar updated HBASE-10818:
--

Fix Version/s: 0.99.0

 Add integration test for bulkload with replicas
 ---

 Key: HBASE-10818
 URL: https://issues.apache.org/jira/browse/HBASE-10818
 Project: HBase
  Issue Type: Sub-task
Affects Versions: hbase-10070
Reporter: Nick Dimiduk
Assignee: Devaraj Das
 Fix For: 0.99.0, hbase-10070

 Attachments: 
 0041-HBASE-10818.-Add-integration-test-for-bulkload-with-.patch, 
 0042-HBASE-10818.-Addendum-to-reduce-the-number-of-times-.patch, 10818-7.txt, 
 HBASE-10818.00.patch, HBASE-10818.01.patch, HBASE-10818.02.patch, 
 IntegrationTestBulkLoad_replicas.log


 Should verify bulkload is not affected by region replicas.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10818) Add integration test for bulkload with replicas

2014-05-22 Thread Nick Dimiduk (JIRA)

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

Nick Dimiduk updated HBASE-10818:
-

Assignee: Devaraj Das  (was: Nick Dimiduk)

Assigning to Devaraj as he's picking this one up.

 Add integration test for bulkload with replicas
 ---

 Key: HBASE-10818
 URL: https://issues.apache.org/jira/browse/HBASE-10818
 Project: HBase
  Issue Type: Sub-task
Affects Versions: hbase-10070
Reporter: Nick Dimiduk
Assignee: Devaraj Das
 Fix For: hbase-10070

 Attachments: 10818-7.txt, HBASE-10818.00.patch, HBASE-10818.01.patch, 
 HBASE-10818.02.patch, IntegrationTestBulkLoad_replicas.log


 Should verify bulkload is not affected by region replicas.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10818) Add integration test for bulkload with replicas

2014-05-20 Thread Devaraj Das (JIRA)

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

Devaraj Das updated HBASE-10818:


Attachment: 10818-7.txt

This is Nick's old patch plus fixes that I did while running it on a cluster.

 Add integration test for bulkload with replicas
 ---

 Key: HBASE-10818
 URL: https://issues.apache.org/jira/browse/HBASE-10818
 Project: HBase
  Issue Type: Sub-task
Affects Versions: hbase-10070
Reporter: Nick Dimiduk
Assignee: Nick Dimiduk
 Attachments: 10818-7.txt, HBASE-10818.00.patch, HBASE-10818.01.patch, 
 HBASE-10818.02.patch, IntegrationTestBulkLoad_replicas.log


 Should verify bulkload is not affected by region replicas.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10818) Add integration test for bulkload with replicas

2014-05-20 Thread Devaraj Das (JIRA)

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

Devaraj Das updated HBASE-10818:


Fix Version/s: hbase-10070

 Add integration test for bulkload with replicas
 ---

 Key: HBASE-10818
 URL: https://issues.apache.org/jira/browse/HBASE-10818
 Project: HBase
  Issue Type: Sub-task
Affects Versions: hbase-10070
Reporter: Nick Dimiduk
Assignee: Nick Dimiduk
 Fix For: hbase-10070

 Attachments: 10818-7.txt, HBASE-10818.00.patch, HBASE-10818.01.patch, 
 HBASE-10818.02.patch, IntegrationTestBulkLoad_replicas.log


 Should verify bulkload is not affected by region replicas.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10818) Add integration test for bulkload with replicas

2014-03-26 Thread Nick Dimiduk (JIRA)

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

Nick Dimiduk updated HBASE-10818:
-

Attachment: HBASE-10818.02.patch

Attaching new patch that addresses all but the final review comment.

bq. The above maybe a typo: new InterruptedException - new 
InterruptedIOException

These are removed, instead the methods throw InterruptedExceptions.

bq. you can chain the above calls since Scan object is returned.

And yet {{setCacheBlocks}} and {{setBatch}} don't. Should file a separate 
ticket to fix that API bug.

bq. Was a 'break' missing from the else block ?

My understanding is the loop condition will break execution immediately 
thereafter. I'll add a break just the same, it should make the intent more 
obvious to a reader.

bq. You should set the sleepTime in SlowMeCopro to something like 10 seconds. 
It defaults to 0.

This is tricky. There isn't a way to modify the state of that coproc on a real 
cluster. Maybe an endpoint could be added?

 Add integration test for bulkload with replicas
 ---

 Key: HBASE-10818
 URL: https://issues.apache.org/jira/browse/HBASE-10818
 Project: HBase
  Issue Type: Sub-task
Affects Versions: hbase-10070
Reporter: Nick Dimiduk
Assignee: Nick Dimiduk
 Attachments: HBASE-10818.00.patch, HBASE-10818.01.patch, 
 HBASE-10818.02.patch, IntegrationTestBulkLoad_replicas.log


 Should verify bulkload is not affected by region replicas.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10818) Add integration test for bulkload with replicas

2014-03-24 Thread Nick Dimiduk (JIRA)

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

Nick Dimiduk updated HBASE-10818:
-

Attachment: HBASE-10818.00.patch

Here's the patch I'm testing. Adds 
{{-Dhbase.IntegrationTestBulkLoad.replicaCount=}} as a new cli flag with 
default value of 1. When a different value is provided, it does the following

# Create a table with region_replication set to N, and bulk load some data
# Install the TestReplicasClient.SlowMeCopro co-processor to slow down the 
regionserver hosting the default replica
# Verify bulkload

I also noticed that the {{runCheck}} method didn't use the Scan instance it 
created, so fixed that as well.

 Add integration test for bulkload with replicas
 ---

 Key: HBASE-10818
 URL: https://issues.apache.org/jira/browse/HBASE-10818
 Project: HBase
  Issue Type: Sub-task
Affects Versions: hbase-10070
Reporter: Nick Dimiduk
 Attachments: HBASE-10818.00.patch


 Should verify bulkload is not affected by region replicas.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10818) Add integration test for bulkload with replicas

2014-03-24 Thread Nick Dimiduk (JIRA)

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

Nick Dimiduk updated HBASE-10818:
-

Attachment: IntegrationTestBulkLoad_replicas.log
HBASE-10818.01.patch

Here's a slightly updated patch. It's ready for your critical eyes. I've run it 
twice on a small secured 0.98.x cluster of 3 RS's, also including the output 
from the second run.

 Add integration test for bulkload with replicas
 ---

 Key: HBASE-10818
 URL: https://issues.apache.org/jira/browse/HBASE-10818
 Project: HBase
  Issue Type: Sub-task
Affects Versions: hbase-10070
Reporter: Nick Dimiduk
Assignee: Nick Dimiduk
 Attachments: HBASE-10818.00.patch, HBASE-10818.01.patch, 
 IntegrationTestBulkLoad_replicas.log


 Should verify bulkload is not affected by region replicas.



--
This message was sent by Atlassian JIRA
(v6.2#6252)