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

Allow per table specification of compaction yarn queue

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 4.0.0-alpha-1
    • Transactions
    • None

    Description

      Currently compactions of full CRUD transactional tables are Map-Reduce jobs submitted to a yarn queue defined by hive.compactor.job.queue property.

      If would be useful to be able to override this on per table basis by putting it into table properties so that compactions for different tables can use different queues.

       

      There is already ability to override other compaction related configs via table props, though this will need additional handling to set the queue name CompactorMr.createBaseJobConf

      https://cwiki.apache.org/confluence/display/Hive/Hive+Transactions#HiveTransactions-TableProperties

       

      See CopactorMR.COMPACTOR_PREFIX and Initiator.COMPACTORTHRESHOLD_PREFIX

       

       

       

      Attachments

        1. HIVE-20723.patch
          5 kB
          Saurabh Seth

        Issue Links

          Activity

            People

              saurabhseth Saurabh Seth
              ekoifman Eugene Koifman
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: