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

Dropping a table can cause NPEs in the compactor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.14.0, 1.0.0, 1.1.0
    • 1.2.0
    • Metastore, Transactions
    • None

    Description

      Reproduction:

      1. start metastore with compactor off
      2. insert enough entries in a table to trigger a compaction
      3. drop the table
      4. stop metastore
      5. restart metastore with compactor on

      Result: NPE in the compactor threads. I suspect this would also happen if the inserts and drops were done in between a run of the compactor, but I haven't proven it.

      Attachments

        1. HIVE-10595.patch
          15 kB
          Alan Gates
        2. HIVE-10595.1.patch
          15 kB
          Sushanth Sowmyan

        Issue Links

          Activity

            People

              gates Alan Gates
              gates Alan Gates
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: