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

show compactions fails when a table with no partitions is being compacted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.13.1
    • None
    • Transactions
    • None

    Description

      When a table with no partitions is being compacted and the user does "show compactions" it fails. The message from the logs is:

      org.apache.thrift.protocol.TProtocolException: Required field 'partitionname' is unset! Struct:ShowCompactResponseElement(dbname:default, tablename:orctab, partitionname:null, type:MAJOR, state:initiated, workerid:null, start:0, runAs:null)

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: