Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-1995

Flaky test: PlannerTest.testHbase: splits for HBASE KEYRANGE not set up correctly.

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Looks like testdata/bin/split-hbase.sh does not always set up the ranges in the way we want. See failure below.

      Example run:
      http://sandbox.jenkins.cloudera.com/job/impala-master-cdh5-trunk/1090/

      Stack Trace:
      java.lang.AssertionError: section SCANRANGELOCATIONS of query:
      select * from functional_hbase.alltypessmall
      where id < 5
      actual result doesn't match expected result:
        HBASE KEYRANGE port=16202 3:7
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        HBASE KEYRANGE port=16203 7:<unbounded>
        HBASE KEYRANGE port=16203 <unbounded>:3
      NODE 0:
      
      expected:
        HBASE KEYRANGE port=16201 <unbounded>:3
        HBASE KEYRANGE port=16202 3:7
        HBASE KEYRANGE port=16203 7:<unbounded>
      NODE 0:
      section SCANRANGELOCATIONS of query:
      select * from functional_hbase.stringids
      where id < '5'
      and tinyint_col = 5
      actual result doesn't match expected result:
        HBASE KEYRANGE port=16201 1:3
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        HBASE KEYRANGE port=16202 3:5
        HBASE KEYRANGE port=16203 <unbounded>:1
      NODE 0:
      
      expected:
        HBASE KEYRANGE port=16201 <unbounded>:3
        HBASE KEYRANGE port=16202 3:5
      NODE 0:
      section SCANRANGELOCATIONS of query:
      select * from functional_hbase.alltypesagg
      where bigint_col is not null and bool_col = true
      actual result doesn't match expected result:
        HBASE KEYRANGE port=16201 1:3
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        HBASE KEYRANGE port=16202 3:7
        HBASE KEYRANGE port=16203 7:<unbounded>
        HBASE KEYRANGE port=16203 <unbounded>:1
      NODE 0:
      
      expected:
        HBASE KEYRANGE port=16201 <unbounded>:3
        HBASE KEYRANGE port=16202 3:7
        HBASE KEYRANGE port=16203 7:<unbounded>
      NODE 0:
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            joemcdonnell Joe McDonnell
            alex.behm Alexander Behm

            Dates

              Created:
              Updated:

              Slack

                Issue deployment