[jira] [Updated] (HBASE-21076) TestTableResource fails with NPE
[ https://issues.apache.org/jira/browse/HBASE-21076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell updated HBASE-21076: --- Fix Version/s: (was: 1.5.0) > TestTableResource fails with NPE > > > Key: HBASE-21076 > URL: https://issues.apache.org/jira/browse/HBASE-21076 > Project: HBase > Issue Type: Test > Components: REST, test >Affects Versions: 3.0.0, 1.5.0, 1.3.3, 2.1.1, 2.0.2, 1.4.7 >Reporter: Ted Yu >Assignee: Sean Busbey >Priority: Major > Fix For: 3.0.0, 1.3.3, 2.2.0, 1.2.7, 2.1.1, 2.0.2, 1.4.7 > > Attachments: HBASE-21076.0.patch, HBASE-21076.1.patch > > > The following can be observed in master branch: > {code} > java.lang.NullPointerException > at > org.apache.hadoop.hbase.rest.TestTableResource.setUpBeforeClass(TestTableResource.java:134) > {code} > The NPE comes from the following in TestEndToEndSplitTransaction : > {code} > compactAndBlockUntilDone(TEST_UTIL.getAdmin(), > TEST_UTIL.getMiniHBaseCluster().getRegionServer(0), > daughterA.getRegionName()); > {code} > Initial check of the code shows that TestEndToEndSplitTransaction uses > TEST_UTIL instance which is created within TestEndToEndSplitTransaction. > However, TestTableResource creates its own instance of HBaseTestingUtility. > Meaning TEST_UTIL.getMiniHBaseCluster() would return null, since the instance > created by TestEndToEndSplitTransaction has hbaseCluster as null. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HBASE-21076) TestTableResource fails with NPE
[ https://issues.apache.org/jira/browse/HBASE-21076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell updated HBASE-21076: --- Fix Version/s: (was: 1.4.8) 1.4.7 > TestTableResource fails with NPE > > > Key: HBASE-21076 > URL: https://issues.apache.org/jira/browse/HBASE-21076 > Project: HBase > Issue Type: Test > Components: REST, test >Affects Versions: 3.0.0, 1.5.0, 1.3.3, 2.1.1, 2.0.2, 1.4.7 >Reporter: Ted Yu >Assignee: Sean Busbey >Priority: Major > Fix For: 3.0.0, 1.5.0, 1.3.3, 2.2.0, 1.2.7, 2.1.1, 2.0.2, 1.4.7 > > Attachments: HBASE-21076.0.patch, HBASE-21076.1.patch > > > The following can be observed in master branch: > {code} > java.lang.NullPointerException > at > org.apache.hadoop.hbase.rest.TestTableResource.setUpBeforeClass(TestTableResource.java:134) > {code} > The NPE comes from the following in TestEndToEndSplitTransaction : > {code} > compactAndBlockUntilDone(TEST_UTIL.getAdmin(), > TEST_UTIL.getMiniHBaseCluster().getRegionServer(0), > daughterA.getRegionName()); > {code} > Initial check of the code shows that TestEndToEndSplitTransaction uses > TEST_UTIL instance which is created within TestEndToEndSplitTransaction. > However, TestTableResource creates its own instance of HBaseTestingUtility. > Meaning TEST_UTIL.getMiniHBaseCluster() would return null, since the instance > created by TestEndToEndSplitTransaction has hbaseCluster as null. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HBASE-21076) TestTableResource fails with NPE
[ https://issues.apache.org/jira/browse/HBASE-21076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sean Busbey updated HBASE-21076: Resolution: Fixed Fix Version/s: 1.4.8 2.1.1 2.2.0 2.0.2 1.3.3 1.2.7 1.5.0 3.0.0 Status: Resolved (was: Patch Available) > TestTableResource fails with NPE > > > Key: HBASE-21076 > URL: https://issues.apache.org/jira/browse/HBASE-21076 > Project: HBase > Issue Type: Test > Components: REST, test >Affects Versions: 3.0.0, 1.5.0, 1.3.3, 2.0.2, 2.1.1, 1.4.7 >Reporter: Ted Yu >Assignee: Sean Busbey >Priority: Major > Fix For: 3.0.0, 1.5.0, 1.2.7, 1.3.3, 2.0.2, 2.2.0, 2.1.1, 1.4.8 > > Attachments: HBASE-21076.0.patch, HBASE-21076.1.patch > > > The following can be observed in master branch: > {code} > java.lang.NullPointerException > at > org.apache.hadoop.hbase.rest.TestTableResource.setUpBeforeClass(TestTableResource.java:134) > {code} > The NPE comes from the following in TestEndToEndSplitTransaction : > {code} > compactAndBlockUntilDone(TEST_UTIL.getAdmin(), > TEST_UTIL.getMiniHBaseCluster().getRegionServer(0), > daughterA.getRegionName()); > {code} > Initial check of the code shows that TestEndToEndSplitTransaction uses > TEST_UTIL instance which is created within TestEndToEndSplitTransaction. > However, TestTableResource creates its own instance of HBaseTestingUtility. > Meaning TEST_UTIL.getMiniHBaseCluster() would return null, since the instance > created by TestEndToEndSplitTransaction has hbaseCluster as null. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HBASE-21076) TestTableResource fails with NPE
[ https://issues.apache.org/jira/browse/HBASE-21076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sean Busbey updated HBASE-21076: Attachment: HBASE-21076.1.patch > TestTableResource fails with NPE > > > Key: HBASE-21076 > URL: https://issues.apache.org/jira/browse/HBASE-21076 > Project: HBase > Issue Type: Test > Components: REST, test >Affects Versions: 3.0.0, 1.5.0, 1.3.3, 2.0.2, 2.1.1, 1.4.7 >Reporter: Ted Yu >Assignee: Sean Busbey >Priority: Major > Attachments: HBASE-21076.0.patch, HBASE-21076.1.patch > > > The following can be observed in master branch: > {code} > java.lang.NullPointerException > at > org.apache.hadoop.hbase.rest.TestTableResource.setUpBeforeClass(TestTableResource.java:134) > {code} > The NPE comes from the following in TestEndToEndSplitTransaction : > {code} > compactAndBlockUntilDone(TEST_UTIL.getAdmin(), > TEST_UTIL.getMiniHBaseCluster().getRegionServer(0), > daughterA.getRegionName()); > {code} > Initial check of the code shows that TestEndToEndSplitTransaction uses > TEST_UTIL instance which is created within TestEndToEndSplitTransaction. > However, TestTableResource creates its own instance of HBaseTestingUtility. > Meaning TEST_UTIL.getMiniHBaseCluster() would return null, since the instance > created by TestEndToEndSplitTransaction has hbaseCluster as null. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HBASE-21076) TestTableResource fails with NPE
[ https://issues.apache.org/jira/browse/HBASE-21076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sean Busbey updated HBASE-21076: Status: Patch Available (was: In Progress) -v0 - avoid calling split at all by requesting the number of regions we want at creation - fix a bug in how the test turns non-printable characters into a string > TestTableResource fails with NPE > > > Key: HBASE-21076 > URL: https://issues.apache.org/jira/browse/HBASE-21076 > Project: HBase > Issue Type: Test > Components: REST, test >Affects Versions: 3.0.0, 1.5.0, 1.3.3, 2.0.2, 2.1.1, 1.4.7 >Reporter: Ted Yu >Assignee: Sean Busbey >Priority: Major > Attachments: HBASE-21076.0.patch > > > The following can be observed in master branch: > {code} > java.lang.NullPointerException > at > org.apache.hadoop.hbase.rest.TestTableResource.setUpBeforeClass(TestTableResource.java:134) > {code} > The NPE comes from the following in TestEndToEndSplitTransaction : > {code} > compactAndBlockUntilDone(TEST_UTIL.getAdmin(), > TEST_UTIL.getMiniHBaseCluster().getRegionServer(0), > daughterA.getRegionName()); > {code} > Initial check of the code shows that TestEndToEndSplitTransaction uses > TEST_UTIL instance which is created within TestEndToEndSplitTransaction. > However, TestTableResource creates its own instance of HBaseTestingUtility. > Meaning TEST_UTIL.getMiniHBaseCluster() would return null, since the instance > created by TestEndToEndSplitTransaction has hbaseCluster as null. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HBASE-21076) TestTableResource fails with NPE
[ https://issues.apache.org/jira/browse/HBASE-21076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sean Busbey updated HBASE-21076: Attachment: HBASE-21076.0.patch > TestTableResource fails with NPE > > > Key: HBASE-21076 > URL: https://issues.apache.org/jira/browse/HBASE-21076 > Project: HBase > Issue Type: Test > Components: REST, test >Affects Versions: 3.0.0, 1.5.0, 1.3.3, 2.0.2, 2.1.1, 1.4.7 >Reporter: Ted Yu >Assignee: Sean Busbey >Priority: Major > Attachments: HBASE-21076.0.patch > > > The following can be observed in master branch: > {code} > java.lang.NullPointerException > at > org.apache.hadoop.hbase.rest.TestTableResource.setUpBeforeClass(TestTableResource.java:134) > {code} > The NPE comes from the following in TestEndToEndSplitTransaction : > {code} > compactAndBlockUntilDone(TEST_UTIL.getAdmin(), > TEST_UTIL.getMiniHBaseCluster().getRegionServer(0), > daughterA.getRegionName()); > {code} > Initial check of the code shows that TestEndToEndSplitTransaction uses > TEST_UTIL instance which is created within TestEndToEndSplitTransaction. > However, TestTableResource creates its own instance of HBaseTestingUtility. > Meaning TEST_UTIL.getMiniHBaseCluster() would return null, since the instance > created by TestEndToEndSplitTransaction has hbaseCluster as null. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HBASE-21076) TestTableResource fails with NPE
[ https://issues.apache.org/jira/browse/HBASE-21076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sean Busbey updated HBASE-21076: Affects Version/s: 1.4.7 2.1.1 2.0.2 1.3.3 1.5.0 3.0.0 > TestTableResource fails with NPE > > > Key: HBASE-21076 > URL: https://issues.apache.org/jira/browse/HBASE-21076 > Project: HBase > Issue Type: Test > Components: REST, test >Affects Versions: 3.0.0, 1.5.0, 1.3.3, 2.0.2, 2.1.1, 1.4.7 >Reporter: Ted Yu >Assignee: Sean Busbey >Priority: Major > > The following can be observed in master branch: > {code} > java.lang.NullPointerException > at > org.apache.hadoop.hbase.rest.TestTableResource.setUpBeforeClass(TestTableResource.java:134) > {code} > The NPE comes from the following in TestEndToEndSplitTransaction : > {code} > compactAndBlockUntilDone(TEST_UTIL.getAdmin(), > TEST_UTIL.getMiniHBaseCluster().getRegionServer(0), > daughterA.getRegionName()); > {code} > Initial check of the code shows that TestEndToEndSplitTransaction uses > TEST_UTIL instance which is created within TestEndToEndSplitTransaction. > However, TestTableResource creates its own instance of HBaseTestingUtility. > Meaning TEST_UTIL.getMiniHBaseCluster() would return null, since the instance > created by TestEndToEndSplitTransaction has hbaseCluster as null. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HBASE-21076) TestTableResource fails with NPE
[ https://issues.apache.org/jira/browse/HBASE-21076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sean Busbey updated HBASE-21076: Component/s: test REST > TestTableResource fails with NPE > > > Key: HBASE-21076 > URL: https://issues.apache.org/jira/browse/HBASE-21076 > Project: HBase > Issue Type: Test > Components: REST, test >Reporter: Ted Yu >Assignee: Sean Busbey >Priority: Major > > The following can be observed in master branch: > {code} > java.lang.NullPointerException > at > org.apache.hadoop.hbase.rest.TestTableResource.setUpBeforeClass(TestTableResource.java:134) > {code} > The NPE comes from the following in TestEndToEndSplitTransaction : > {code} > compactAndBlockUntilDone(TEST_UTIL.getAdmin(), > TEST_UTIL.getMiniHBaseCluster().getRegionServer(0), > daughterA.getRegionName()); > {code} > Initial check of the code shows that TestEndToEndSplitTransaction uses > TEST_UTIL instance which is created within TestEndToEndSplitTransaction. > However, TestTableResource creates its own instance of HBaseTestingUtility. > Meaning TEST_UTIL.getMiniHBaseCluster() would return null, since the instance > created by TestEndToEndSplitTransaction has hbaseCluster as null. -- This message was sent by Atlassian JIRA (v7.6.3#76005)