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

webhcat_server.sh foreground option does not work as expected

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: None
    • Labels:
      None

      Description

      Executing webhcat script webhcat_server.sh with the foreground option, it calls calls hadoop without using exec. When you kill the webhcat_server.sh process, it does not kill the real webhcat server.

      Just need to add the word exec below in webhcat_server.sh:

      function foreground_webhcat() {
              exec $start_cmd
      }
      

      NO PRECOMMIT TESTS

        Attachments

        1. HIVE-5514.patch
          0.5 kB
          Brock Noland

          Activity

            People

            • Assignee:
              brocknoland Brock Noland
              Reporter:
              brocknoland Brock Noland
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: