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

Hive config validation prevents unsetting the settings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.1, 2.2.0
    • None
    • Hide
      "-d" option has been added to Hive CLI "reset" command, allowing one to reset specific settings to built-in defaults, overriding any session-specific values, as well as configuration files in use. E.g. "reset -d hive.compute.splits.in.am hive.smbjoin.cache.rows".
      Show
      "-d" option has been added to Hive CLI "reset" command, allowing one to reset specific settings to built-in defaults, overriding any session-specific values, as well as configuration files in use. E.g. "reset -d hive.compute.splits.in.am hive.smbjoin.cache.rows".

    Description

      hive> set hive.tez.task.scale.memory.reserve.fraction.max=;
      Query returned non-zero code: 1, cause: 'SET hive.tez.task.scale.memory.reserve.fraction.max=' FAILED because hive.tez.task.scale.memory.reserve.fraction.max expects FLOAT type value.
      hive> set hive.tez.task.scale.memory.reserve.fraction.max=null;
      Query returned non-zero code: 1, cause: 'SET hive.tez.task.scale.memory.reserve.fraction.max=null' FAILED because hive.tez.task.scale.memory.reserve.fraction.max expects FLOAT type value.
      

      unset also doesn't work.

      Attachments

        1. HIVE-14418.patch
          2 kB
          Sergey Shelukhin
        2. HIVE-14418.01.patch
          2 kB
          Sergey Shelukhin
        3. HIVE-14418.02.patch
          2 kB
          Sergey Shelukhin
        4. HIVE-14418.03.patch
          9 kB
          Sergey Shelukhin
        5. HIVE-14418.04.patch
          10 kB
          Sergey Shelukhin

        Activity

          People

            sershe Sergey Shelukhin
            sershe Sergey Shelukhin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: