[jira] [Commented] (IMPALA-7039) Frontend HBase tests cannot tolerate HBase running on a different port
[ https://issues.apache.org/jira/browse/IMPALA-7039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16494085#comment-16494085 ] ASF subversion and git services commented on IMPALA-7039: - Commit b07bb2729df4aa92d68626f88afa7cd09733ec23 in impala's branch refs/heads/2.x from [~tarasbob] [ https://git-wip-us.apache.org/repos/asf?p=impala.git;h=b07bb27 ] IMPALA-7039: Ignore the port in HBase planner tests Before this patch, we used to check the HBase port in the HBase planner tests. This caused a failure when HBase was running on a different port than expected. We fix the problem in this patch by not checking the HBase port. Testing: ran the FE tests and they passed. Change-Id: I8eb7628061b2ebaf84323b37424925e9a64f70a0 Reviewed-on: http://gerrit.cloudera.org:8080/10459 Reviewed-by: Tim Armstrong Tested-by: Impala Public Jenkins > Frontend HBase tests cannot tolerate HBase running on a different port > -- > > Key: IMPALA-7039 > URL: https://issues.apache.org/jira/browse/IMPALA-7039 > Project: IMPALA > Issue Type: Bug > Components: Frontend >Affects Versions: Impala 3.1.0 >Reporter: Joe McDonnell >Assignee: Taras Bobrovytsky >Priority: Blocker > Labels: broken-build > Fix For: Impala 3.1.0 > > > When HBase doesn't get the same ports as usual, > org.apache.impala.planner.PlannerTest.testHbase and > org.apache.impala.planner.PlannerTest.testJoins fail with the following > errors: > {noformat} > section SCANRANGELOCATIONS of query: > select * from functional_hbase.alltypessmall > where id < 5 > Actual does not match expected result: > HBASE KEYRANGE port=16020 :3 > ^ > HBASE KEYRANGE port=16022 3:7 > HBASE KEYRANGE port=16023 7: > NODE 0: > Expected: > HBASE KEYRANGE port=16201 :3 > HBASE KEYRANGE port=16202 3:7 > HBASE KEYRANGE port=16203 7: > NODE 0: > section SCANRANGELOCATIONS of query: > select * from functional_hbase.stringids > where id = '5' > and tinyint_col = 5 > Actual does not match expected result: > HBASE KEYRANGE port=16022 5:5\0 > ^ > NODE 0: > Expected: > HBASE KEYRANGE port=16202 5:5\0 > NODE 0: > section SCANRANGELOCATIONS of query: > select * from functional_hbase.stringids > where id > '5' > and tinyint_col = 5 > Actual does not match expected result: > HBASE KEYRANGE port=16022 5\0:7 > ^ > HBASE KEYRANGE port=16023 7: > NODE 0: > Expected: > HBASE KEYRANGE port=16202 5\0:7 > HBASE KEYRANGE port=16203 7: > NODE 0: > section SCANRANGELOCATIONS of query: > select * from functional_hbase.stringids > where id >= '5' > and tinyint_col = 5 > Actual does not match expected result: > HBASE KEYRANGE port=16022 5:7 > ^^^ > HBASE KEYRANGE port=16023 7: > NODE 0: > Expected: > HBASE KEYRANGE port=16202 5:7 > HBASE KEYRANGE port=16203 7: > NODE 0: > section SCANRANGELOCATIONS of query: > select * from functional_hbase.stringids > where id < '5' > and tinyint_col = 5 > Actual does not match expected result: > HBASE KEYRANGE port=16020 :3 > ^ > HBASE KEYRANGE port=16022 3:5 > NODE 0: > Expected: > HBASE KEYRANGE port=16201 :3 > HBASE KEYRANGE port=16202 3:5 > NODE 0: > section SCANRANGELOCATIONS of query: > select * from functional_hbase.stringids > where id > '4' and id < '5' > and tinyint_col = 5 > Actual does not match expected result: > HBASE KEYRANGE port=16022 4\0:5 > ^ > NODE 0: > Expected: > HBASE KEYRANGE port=16202 4\0:5 > NODE 0: > section SCANRANGELOCATIONS of query: > select * from functional_hbase.stringids > where id >= '4' and id < '5' > and tinyint_col = 5 > Actual does not match expected result: > HBASE KEYRANGE port=16022 4:5 > ^^^ > NODE 0: > Expected: > HBASE KEYRANGE port=16202 4:5 > NODE 0: > section SCANRANGELOCATIONS of query: > select * from functional_hbase.stringids > where id > '4' and id <= '5' > and tinyint_col = 5 > Actual does not match expected result: > HBASE KEYRANGE port=16022 4\0:5\0 > ^^^ > NODE 0: > Expected: > HBASE KEYRANGE port=16202 4\0:5\0 > NODE 0: > section SCANRANGELOCATIONS of query: > select * from functional_hbase.stringids > where id >= '4' and id <= '5' > and tinyint_col = 5 > Actual does not match expected result: > HBASE KEYRANGE port=16022 4:5\0 > ^ > NODE 0: > Expected: > HBASE KEYRANGE port=16202 4:5\0 > NODE 0: > section SCANRANGELOCATIONS of query: > select * from functional_hbase.stringids > where string_col = '4' and tinyint_col = 5 and id >= '4' and id <= '5' > Actual does not match expected result: > HBASE
[jira] [Commented] (IMPALA-7039) Frontend HBase tests cannot tolerate HBase running on a different port
[ https://issues.apache.org/jira/browse/IMPALA-7039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16478641#comment-16478641 ] Adrian Ng commented on IMPALA-7039: --- [~tarasbob] - could you please help with this one? > Frontend HBase tests cannot tolerate HBase running on a different port > -- > > Key: IMPALA-7039 > URL: https://issues.apache.org/jira/browse/IMPALA-7039 > Project: IMPALA > Issue Type: Bug > Components: Frontend >Affects Versions: Impala 3.1.0 >Reporter: Joe McDonnell >Assignee: Taras Bobrovytsky >Priority: Blocker > Labels: broken-build > > When HBase doesn't get the same ports as usual, > org.apache.impala.planner.PlannerTest.testHbase and > org.apache.impala.planner.PlannerTest.testJoins fail with the following > errors: > {noformat} > section SCANRANGELOCATIONS of query: > select * from functional_hbase.alltypessmall > where id < 5 > Actual does not match expected result: > HBASE KEYRANGE port=16020 :3 > ^ > HBASE KEYRANGE port=16022 3:7 > HBASE KEYRANGE port=16023 7: > NODE 0: > Expected: > HBASE KEYRANGE port=16201 :3 > HBASE KEYRANGE port=16202 3:7 > HBASE KEYRANGE port=16203 7: > NODE 0: > section SCANRANGELOCATIONS of query: > select * from functional_hbase.stringids > where id = '5' > and tinyint_col = 5 > Actual does not match expected result: > HBASE KEYRANGE port=16022 5:5\0 > ^ > NODE 0: > Expected: > HBASE KEYRANGE port=16202 5:5\0 > NODE 0: > section SCANRANGELOCATIONS of query: > select * from functional_hbase.stringids > where id > '5' > and tinyint_col = 5 > Actual does not match expected result: > HBASE KEYRANGE port=16022 5\0:7 > ^ > HBASE KEYRANGE port=16023 7: > NODE 0: > Expected: > HBASE KEYRANGE port=16202 5\0:7 > HBASE KEYRANGE port=16203 7: > NODE 0: > section SCANRANGELOCATIONS of query: > select * from functional_hbase.stringids > where id >= '5' > and tinyint_col = 5 > Actual does not match expected result: > HBASE KEYRANGE port=16022 5:7 > ^^^ > HBASE KEYRANGE port=16023 7: > NODE 0: > Expected: > HBASE KEYRANGE port=16202 5:7 > HBASE KEYRANGE port=16203 7: > NODE 0: > section SCANRANGELOCATIONS of query: > select * from functional_hbase.stringids > where id < '5' > and tinyint_col = 5 > Actual does not match expected result: > HBASE KEYRANGE port=16020 :3 > ^ > HBASE KEYRANGE port=16022 3:5 > NODE 0: > Expected: > HBASE KEYRANGE port=16201 :3 > HBASE KEYRANGE port=16202 3:5 > NODE 0: > section SCANRANGELOCATIONS of query: > select * from functional_hbase.stringids > where id > '4' and id < '5' > and tinyint_col = 5 > Actual does not match expected result: > HBASE KEYRANGE port=16022 4\0:5 > ^ > NODE 0: > Expected: > HBASE KEYRANGE port=16202 4\0:5 > NODE 0: > section SCANRANGELOCATIONS of query: > select * from functional_hbase.stringids > where id >= '4' and id < '5' > and tinyint_col = 5 > Actual does not match expected result: > HBASE KEYRANGE port=16022 4:5 > ^^^ > NODE 0: > Expected: > HBASE KEYRANGE port=16202 4:5 > NODE 0: > section SCANRANGELOCATIONS of query: > select * from functional_hbase.stringids > where id > '4' and id <= '5' > and tinyint_col = 5 > Actual does not match expected result: > HBASE KEYRANGE port=16022 4\0:5\0 > ^^^ > NODE 0: > Expected: > HBASE KEYRANGE port=16202 4\0:5\0 > NODE 0: > section SCANRANGELOCATIONS of query: > select * from functional_hbase.stringids > where id >= '4' and id <= '5' > and tinyint_col = 5 > Actual does not match expected result: > HBASE KEYRANGE port=16022 4:5\0 > ^ > NODE 0: > Expected: > HBASE KEYRANGE port=16202 4:5\0 > NODE 0: > section SCANRANGELOCATIONS of query: > select * from functional_hbase.stringids > where string_col = '4' and tinyint_col = 5 and id >= '4' and id <= '5' > Actual does not match expected result: > HBASE KEYRANGE port=16022 4:5\0 > ^ > NODE 0: > Expected: > HBASE KEYRANGE port=16202 4:5\0 > NODE 0: > section SCANRANGELOCATIONS of query: > select * from functional_hbase.stringids > where string_col = '4' and tinyint_col = 5 > and id >= concat('', '4') and id <= concat('5', '') > Actual does not match expected result: > HBASE KEYRANGE port=16022 4:5\0 > ^ > NODE 0: > Expected: > HBASE KEYRANGE port=16202 4:5\0 > NODE 0: > section SCANRANGELOCATIONS of query: > select * from functional_hbase.alltypesagg > where bigint_col is not null and bool_col = true > Actual does not match expected result: > HBASE