Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-8872

Hive view of HBase range scan intermittently returns incorrect data.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.13.1
    • 1.1.0
    • HBase Handler
    • None

    Description

      This need running in cluster:
      1. Create a hive external table pointing to a hbase table.
      2. Create views to the hive table(for example 30 views), each view looks like following with different range check:

      CREATE VIEW hview_nn AS SELECT * FROM hivehbasetable WHERE (pk >='pk_nn_0' AND pk <= pk_nn_A')

      3. Create same number of hive new tables as views.
      4. then runs several queries in parallel (30 threads):
      INSERT OVERWRITE TABLE hivenewtable_nn SELECT * FROM hview_nn //nn is from 01 to 30
      5 After insert, check the hivenewtables, some values are not right.

      Attachments

        1. HIVE-8872.2.patch
          1 kB
          Yongzhi Chen
        2. HIVE-8872.1.patch
          1 kB
          Yongzhi Chen

        Issue Links

          Activity

            People

              ychena Yongzhi Chen
              ychena Yongzhi Chen
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: