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

"hbase master stop" does not bring down backup masters

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.90.5, 0.92.0, 0.94.0, 0.95.2
    • Fix Version/s: 0.94.0, 0.95.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Typing "hbase master stop" produces the following message:

      "stop Start cluster shutdown; Master signals RegionServer shutdown"
      It seems like backup masters should be considered part of the cluster, but they are not brought down by "hbase master stop".
      "stop-hbase.sh" does correctly bring down the backup masters.

      The same behavior is observed when a client app makes use of the client API HBaseAdmin.shutdown() http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/HBaseAdmin.html#shutdown() – this isn't too surprising since I think "hbase master stop" just calls this API.

      It seems like HBASE-1448 address this; perhaps there was a regression?

        Attachments

        1. 5213.jstack
          135 kB
          Ted Yu
        2. HBASE-5213-v0-trunk.patch
          13 kB
          Gregory Chanan
        3. HBASE-5213-v1-trunk.patch
          13 kB
          Gregory Chanan
        4. HBASE-5213-v2-90.patch
          13 kB
          Gregory Chanan
        5. HBASE-5213-v2-92.patch
          13 kB
          Gregory Chanan
        6. HBASE-5213-v2-trunk.patch
          13 kB
          Gregory Chanan

          Issue Links

            Activity

              People

              • Assignee:
                gchanan Gregory Chanan
                Reporter:
                gchanan Gregory Chanan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: