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

TPC-DS dockerized tests fail due to stale entries in MIN_HISTORY_LEVEL metastore table

    XMLWordPrintableJSON

Details

    Description

      The failures can be seen here:

      http://ci.hive.apache.org/job/hive-precommit/job/master/373/

      The root cause is stale entries inside MIN_HISTORY_LEVEL table.

      Caused by: MetaException(message:Unable to select from transaction database org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "min_history_level_pkey"
       Detail: Key ("MHL_TXNID")=(7858) already exists.

      The content of the respective table inside the docker image is shown below.

      SELECT * FROM "MIN_HISTORY_LEVEL" ;
       MHL_TXNID | MHL_MIN_OPEN_TXNID 
       ----------+-------------------
       6853 | 6687
       7480 | 6947
       7481 | 6947
       6870 | 6687
       7858 | 7858
       6646 | 5946
       7397 | 6947
       7399 | 6947
       5946 | 5946
       6947 | 6947
       7769 | 6947

      Attachments

        Issue Links

          Activity

            People

              zabetak Stamatis Zampetakis
              zabetak Stamatis Zampetakis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m