[jira] [Updated] (HBASE-12229) NullPointerException in SnapshotTestingUtils

2014-10-18 Thread Dima Spivak (JIRA)

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

Dima Spivak updated HBASE-12229:

Attachment: HBASE-12229_0.98_v3.patch

0.98 patch. This should apply cleanly, [~stack].

 NullPointerException in SnapshotTestingUtils
 

 Key: HBASE-12229
 URL: https://issues.apache.org/jira/browse/HBASE-12229
 Project: HBase
  Issue Type: Bug
  Components: test
Affects Versions: 0.98.7
Reporter: Dima Spivak
Assignee: Dima Spivak
Priority: Minor
 Fix For: 2.0.0, 0.99.2

 Attachments: HBASE-12229.patch, HBASE-12229_0.98_v3.patch, 
 HBASE-12229_master_v1.patch, HBASE-12229_master_v1.patch, 
 HBASE-12229_master_v2.patch, HBASE-12229_v1.patch, HBASE-12229_v2.patch, 
 HBASE-12229_v2.patch


 I tracked down occasional flakiness in TestRestoreSnapshotFromClient to a 
 potential NPE in SnapshotTestingUtils#waitForTableToBeOnline. In short, some 
 tests in TestRestoreSnapshot... create a table and then invoke 
 SnapshotTestingUtils#waitForTableToBeOnline, but this method assumes that 
 regions have been assigned by the time it's invoked (which is not always the 
 case).



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


[jira] [Updated] (HBASE-12229) NullPointerException in SnapshotTestingUtils

2014-10-18 Thread Ted Yu (JIRA)

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

Ted Yu updated HBASE-12229:
---
Fix Version/s: 0.98.8

Integrated to 0.98 as well.

 NullPointerException in SnapshotTestingUtils
 

 Key: HBASE-12229
 URL: https://issues.apache.org/jira/browse/HBASE-12229
 Project: HBase
  Issue Type: Bug
  Components: test
Affects Versions: 0.98.7
Reporter: Dima Spivak
Assignee: Dima Spivak
Priority: Minor
 Fix For: 2.0.0, 0.98.8, 0.99.2

 Attachments: HBASE-12229.patch, HBASE-12229_0.98_v3.patch, 
 HBASE-12229_master_v1.patch, HBASE-12229_master_v1.patch, 
 HBASE-12229_master_v2.patch, HBASE-12229_v1.patch, HBASE-12229_v2.patch, 
 HBASE-12229_v2.patch


 I tracked down occasional flakiness in TestRestoreSnapshotFromClient to a 
 potential NPE in SnapshotTestingUtils#waitForTableToBeOnline. In short, some 
 tests in TestRestoreSnapshot... create a table and then invoke 
 SnapshotTestingUtils#waitForTableToBeOnline, but this method assumes that 
 regions have been assigned by the time it's invoked (which is not always the 
 case).



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


[jira] [Updated] (HBASE-12229) NullPointerException in SnapshotTestingUtils

2014-10-17 Thread stack (JIRA)

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

stack updated HBASE-12229:
--
   Resolution: Fixed
Fix Version/s: 0.99.2
   2.0.0
 Hadoop Flags: Reviewed
   Status: Resolved  (was: Patch Available)

Committed to branch-1+.  Didn't go in to 0.98 easily.  Passed on it.  Thanks 
for patch [~dimaspivak].  If you do a 0.98, I'll apply.

 NullPointerException in SnapshotTestingUtils
 

 Key: HBASE-12229
 URL: https://issues.apache.org/jira/browse/HBASE-12229
 Project: HBase
  Issue Type: Bug
  Components: test
Affects Versions: 0.98.7
Reporter: Dima Spivak
Assignee: Dima Spivak
Priority: Minor
 Fix For: 2.0.0, 0.99.2

 Attachments: HBASE-12229.patch, HBASE-12229_master_v1.patch, 
 HBASE-12229_master_v1.patch, HBASE-12229_master_v2.patch, 
 HBASE-12229_v1.patch, HBASE-12229_v2.patch, HBASE-12229_v2.patch


 I tracked down occasional flakiness in TestRestoreSnapshotFromClient to a 
 potential NPE in SnapshotTestingUtils#waitForTableToBeOnline. In short, some 
 tests in TestRestoreSnapshot... create a table and then invoke 
 SnapshotTestingUtils#waitForTableToBeOnline, but this method assumes that 
 regions have been assigned by the time it's invoked (which is not always the 
 case).



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


[jira] [Updated] (HBASE-12229) NullPointerException in SnapshotTestingUtils

2014-10-16 Thread stack (JIRA)

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

stack updated HBASE-12229:
--
Attachment: HBASE-12229_master_v1.patch

Retry

 NullPointerException in SnapshotTestingUtils
 

 Key: HBASE-12229
 URL: https://issues.apache.org/jira/browse/HBASE-12229
 Project: HBase
  Issue Type: Bug
  Components: test
Affects Versions: 0.98.7
Reporter: Dima Spivak
Assignee: Dima Spivak
Priority: Minor
 Attachments: HBASE-12229.patch, HBASE-12229_master_v1.patch, 
 HBASE-12229_master_v1.patch, HBASE-12229_v1.patch, HBASE-12229_v2.patch, 
 HBASE-12229_v2.patch


 I tracked down occasional flakiness in TestRestoreSnapshotFromClient to a 
 potential NPE in SnapshotTestingUtils#waitForTableToBeOnline. In short, some 
 tests in TestRestoreSnapshot... create a table and then invoke 
 SnapshotTestingUtils#waitForTableToBeOnline, but this method assumes that 
 regions have been assigned by the time it's invoked (which is not always the 
 case).



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


[jira] [Updated] (HBASE-12229) NullPointerException in SnapshotTestingUtils

2014-10-16 Thread Dima Spivak (JIRA)

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

Dima Spivak updated HBASE-12229:

Attachment: HBASE-12229_master_v2.patch

Legit test failure caused by me being dumb. :) Let's try again...

 NullPointerException in SnapshotTestingUtils
 

 Key: HBASE-12229
 URL: https://issues.apache.org/jira/browse/HBASE-12229
 Project: HBase
  Issue Type: Bug
  Components: test
Affects Versions: 0.98.7
Reporter: Dima Spivak
Assignee: Dima Spivak
Priority: Minor
 Attachments: HBASE-12229.patch, HBASE-12229_master_v1.patch, 
 HBASE-12229_master_v1.patch, HBASE-12229_master_v2.patch, 
 HBASE-12229_v1.patch, HBASE-12229_v2.patch, HBASE-12229_v2.patch


 I tracked down occasional flakiness in TestRestoreSnapshotFromClient to a 
 potential NPE in SnapshotTestingUtils#waitForTableToBeOnline. In short, some 
 tests in TestRestoreSnapshot... create a table and then invoke 
 SnapshotTestingUtils#waitForTableToBeOnline, but this method assumes that 
 regions have been assigned by the time it's invoked (which is not always the 
 case).



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


[jira] [Updated] (HBASE-12229) NullPointerException in SnapshotTestingUtils

2014-10-15 Thread Dima Spivak (JIRA)

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

Dima Spivak updated HBASE-12229:

Attachment: HBASE-12229_v2.patch

Reuploading the same file to try to get Hadoop QA's attention...

 NullPointerException in SnapshotTestingUtils
 

 Key: HBASE-12229
 URL: https://issues.apache.org/jira/browse/HBASE-12229
 Project: HBase
  Issue Type: Bug
  Components: test
Affects Versions: 0.98.7
Reporter: Dima Spivak
Assignee: Dima Spivak
Priority: Minor
 Attachments: HBASE-12229.patch, HBASE-12229_v1.patch, 
 HBASE-12229_v2.patch, HBASE-12229_v2.patch


 I tracked down occasional flakiness in TestRestoreSnapshotFromClient to a 
 potential NPE in SnapshotTestingUtils#waitForTableToBeOnline. In short, some 
 tests in TestRestoreSnapshot... create a table and then invoke 
 SnapshotTestingUtils#waitForTableToBeOnline, but this method assumes that 
 regions have been assigned by the time it's invoked (which is not always the 
 case).



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


[jira] [Updated] (HBASE-12229) NullPointerException in SnapshotTestingUtils

2014-10-15 Thread Dima Spivak (JIRA)

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

Dima Spivak updated HBASE-12229:

Attachment: HBASE-12229_master_v1.patch

Hadoop QA doesn't seem to like my 0.98 patch. Maybe one for master will be more 
to its liking?

 NullPointerException in SnapshotTestingUtils
 

 Key: HBASE-12229
 URL: https://issues.apache.org/jira/browse/HBASE-12229
 Project: HBase
  Issue Type: Bug
  Components: test
Affects Versions: 0.98.7
Reporter: Dima Spivak
Assignee: Dima Spivak
Priority: Minor
 Attachments: HBASE-12229.patch, HBASE-12229_master_v1.patch, 
 HBASE-12229_v1.patch, HBASE-12229_v2.patch, HBASE-12229_v2.patch


 I tracked down occasional flakiness in TestRestoreSnapshotFromClient to a 
 potential NPE in SnapshotTestingUtils#waitForTableToBeOnline. In short, some 
 tests in TestRestoreSnapshot... create a table and then invoke 
 SnapshotTestingUtils#waitForTableToBeOnline, but this method assumes that 
 regions have been assigned by the time it's invoked (which is not always the 
 case).



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


[jira] [Updated] (HBASE-12229) NullPointerException in SnapshotTestingUtils

2014-10-14 Thread Dima Spivak (JIRA)

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

Dima Spivak updated HBASE-12229:

Attachment: HBASE-12229_v2.patch

Addressed Matteo's suggestion of putting the waitUntilAllRegionsOnline call in 
HBaseTestingUtility#createTable. In this case, that meant adding another 
overloaded method and, in the process, refactoring an existing one that took a 
byte[] tableName to simply invoke my new TableName tableName variant. Finally, 
I did a bit of tidying of SnapshotTestingUtils (clean up stale imports and add 
a waitFor around a call to #isTableAvailable).

 NullPointerException in SnapshotTestingUtils
 

 Key: HBASE-12229
 URL: https://issues.apache.org/jira/browse/HBASE-12229
 Project: HBase
  Issue Type: Bug
  Components: test
Affects Versions: 1.0.0, 2.0.0, 0.98.7
Reporter: Dima Spivak
Assignee: Dima Spivak
Priority: Minor
 Attachments: HBASE-12229.patch, HBASE-12229_v1.patch, 
 HBASE-12229_v2.patch


 I tracked down occasional flakiness in TestRestoreSnapshotFromClient to a 
 potential NPE in SnapshotTestingUtils#waitForTableToBeOnline. In short, some 
 tests in TestRestoreSnapshot... create a table and then invoke 
 SnapshotTestingUtils#waitForTableToBeOnline, but this method assumes that 
 regions have been assigned by the time it's invoked (which is not always the 
 case).



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


[jira] [Updated] (HBASE-12229) NullPointerException in SnapshotTestingUtils

2014-10-14 Thread Dima Spivak (JIRA)

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

Dima Spivak updated HBASE-12229:

Status: Open  (was: Patch Available)

 NullPointerException in SnapshotTestingUtils
 

 Key: HBASE-12229
 URL: https://issues.apache.org/jira/browse/HBASE-12229
 Project: HBase
  Issue Type: Bug
  Components: test
Affects Versions: 0.98.7, 1.0.0, 2.0.0
Reporter: Dima Spivak
Assignee: Dima Spivak
Priority: Minor
 Attachments: HBASE-12229.patch, HBASE-12229_v1.patch, 
 HBASE-12229_v2.patch


 I tracked down occasional flakiness in TestRestoreSnapshotFromClient to a 
 potential NPE in SnapshotTestingUtils#waitForTableToBeOnline. In short, some 
 tests in TestRestoreSnapshot... create a table and then invoke 
 SnapshotTestingUtils#waitForTableToBeOnline, but this method assumes that 
 regions have been assigned by the time it's invoked (which is not always the 
 case).



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


[jira] [Updated] (HBASE-12229) NullPointerException in SnapshotTestingUtils

2014-10-14 Thread Dima Spivak (JIRA)

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

Dima Spivak updated HBASE-12229:

Affects Version/s: (was: 2.0.0)
   (was: 1.0.0)
   Status: Patch Available  (was: Open)

Oops - looks like Hadoop QA tried to apply my 0.98 patch to master. Let's try 
again...

 NullPointerException in SnapshotTestingUtils
 

 Key: HBASE-12229
 URL: https://issues.apache.org/jira/browse/HBASE-12229
 Project: HBase
  Issue Type: Bug
  Components: test
Affects Versions: 0.98.7
Reporter: Dima Spivak
Assignee: Dima Spivak
Priority: Minor
 Attachments: HBASE-12229.patch, HBASE-12229_v1.patch, 
 HBASE-12229_v2.patch


 I tracked down occasional flakiness in TestRestoreSnapshotFromClient to a 
 potential NPE in SnapshotTestingUtils#waitForTableToBeOnline. In short, some 
 tests in TestRestoreSnapshot... create a table and then invoke 
 SnapshotTestingUtils#waitForTableToBeOnline, but this method assumes that 
 regions have been assigned by the time it's invoked (which is not always the 
 case).



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


[jira] [Updated] (HBASE-12229) NullPointerException in SnapshotTestingUtils

2014-10-10 Thread Dima Spivak (JIRA)

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

Dima Spivak updated HBASE-12229:

Attachment: HBASE-12229.patch

Pretty trivial; waits for regions to get assigned before go to an RS and asking 
for its regions.

 NullPointerException in SnapshotTestingUtils
 

 Key: HBASE-12229
 URL: https://issues.apache.org/jira/browse/HBASE-12229
 Project: HBase
  Issue Type: Bug
  Components: test
Affects Versions: 1.0.0, 2.0.0, 0.98.7
Reporter: Dima Spivak
Assignee: Dima Spivak
 Attachments: HBASE-12229.patch


 I tracked down occasional flakiness in TestRestoreSnapshotFromClient to a 
 potential NPE in SnapshotTestingUtils#waitForTableToBeOnline. In short, some 
 tests in TestRestoreSnapshot... create a table and then invoke 
 SnapshotTestingUtils#waitForTableToBeOnline, but this method assumes that 
 regions have been assigned by the time it's invoked (which is not always the 
 case).



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


[jira] [Updated] (HBASE-12229) NullPointerException in SnapshotTestingUtils

2014-10-10 Thread Dima Spivak (JIRA)

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

Dima Spivak updated HBASE-12229:

Status: Patch Available  (was: Open)

Uploaded a one-liner for branch-1. Can do the same for 0.98 and master if 
necessary.

 NullPointerException in SnapshotTestingUtils
 

 Key: HBASE-12229
 URL: https://issues.apache.org/jira/browse/HBASE-12229
 Project: HBase
  Issue Type: Bug
  Components: test
Affects Versions: 0.98.7, 1.0.0, 2.0.0
Reporter: Dima Spivak
Assignee: Dima Spivak
 Attachments: HBASE-12229.patch


 I tracked down occasional flakiness in TestRestoreSnapshotFromClient to a 
 potential NPE in SnapshotTestingUtils#waitForTableToBeOnline. In short, some 
 tests in TestRestoreSnapshot... create a table and then invoke 
 SnapshotTestingUtils#waitForTableToBeOnline, but this method assumes that 
 regions have been assigned by the time it's invoked (which is not always the 
 case).



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


[jira] [Updated] (HBASE-12229) NullPointerException in SnapshotTestingUtils

2014-10-10 Thread Dima Spivak (JIRA)

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

Dima Spivak updated HBASE-12229:

Attachment: HBASE-12229_v1.patch

Oops, sorry - did some Git silly. Trying again with a proper patch...

 NullPointerException in SnapshotTestingUtils
 

 Key: HBASE-12229
 URL: https://issues.apache.org/jira/browse/HBASE-12229
 Project: HBase
  Issue Type: Bug
  Components: test
Affects Versions: 1.0.0, 2.0.0, 0.98.7
Reporter: Dima Spivak
Assignee: Dima Spivak
 Attachments: HBASE-12229.patch, HBASE-12229_v1.patch


 I tracked down occasional flakiness in TestRestoreSnapshotFromClient to a 
 potential NPE in SnapshotTestingUtils#waitForTableToBeOnline. In short, some 
 tests in TestRestoreSnapshot... create a table and then invoke 
 SnapshotTestingUtils#waitForTableToBeOnline, but this method assumes that 
 regions have been assigned by the time it's invoked (which is not always the 
 case).



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


[jira] [Updated] (HBASE-12229) NullPointerException in SnapshotTestingUtils

2014-10-10 Thread Dima Spivak (JIRA)

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

Dima Spivak updated HBASE-12229:

Priority: Minor  (was: Major)

Sure, [~tedyu]; I can never remember when to call something major or minor :-p. 
Thanks.

 NullPointerException in SnapshotTestingUtils
 

 Key: HBASE-12229
 URL: https://issues.apache.org/jira/browse/HBASE-12229
 Project: HBase
  Issue Type: Bug
  Components: test
Affects Versions: 1.0.0, 2.0.0, 0.98.7
Reporter: Dima Spivak
Assignee: Dima Spivak
Priority: Minor
 Attachments: HBASE-12229.patch, HBASE-12229_v1.patch


 I tracked down occasional flakiness in TestRestoreSnapshotFromClient to a 
 potential NPE in SnapshotTestingUtils#waitForTableToBeOnline. In short, some 
 tests in TestRestoreSnapshot... create a table and then invoke 
 SnapshotTestingUtils#waitForTableToBeOnline, but this method assumes that 
 regions have been assigned by the time it's invoked (which is not always the 
 case).



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