Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-14529

Respond to SIGHUP to reload config

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.2.0, 1.3.0, 2.0.0
    • Operability
    • None
    • Reviewed
    • Hide
      HBase daemons can now be signaled to reload their config by sending SIGHUP to the java process. Not all config parameters can be reloaded.

      In order for this new feature to work the hbase-daemon.sh script was changed to use disown rather than nohup. Functionally this shouldn't change anything but the processes will have a different parent when being run from a connected login shell.
      Show
      HBase daemons can now be signaled to reload their config by sending SIGHUP to the java process. Not all config parameters can be reloaded. In order for this new feature to work the hbase-daemon.sh script was changed to use disown rather than nohup. Functionally this shouldn't change anything but the processes will have a different parent when being run from a connected login shell.

    Description

      SIGHUP is the way everyone since the dawn of unix has done config reload.
      Lets not be a special unique snowflake.

      Attachments

        1. HBASE-14529-v2.patch
          3 kB
          Elliott Neil Clark
        2. HBASE-14529-v1.patch
          3 kB
          Elliott Neil Clark
        3. HBASE-14529-addendum.patch
          2 kB
          Ashish Singhi
        4. HBASE-14529.patch
          2 kB
          Elliott Neil Clark

        Activity

          People

            eclark Elliott Neil Clark
            eclark Elliott Neil Clark
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: