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

"hbase master stop" does not bring down backup masters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.90.5, 0.92.0, 0.94.0, 0.95.2
    • 0.94.0, 0.95.0
    • None
    • None
    • 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. HBASE-5213-v2-trunk.patch
          13 kB
          Gregory Chanan
        2. HBASE-5213-v2-92.patch
          13 kB
          Gregory Chanan
        3. HBASE-5213-v2-90.patch
          13 kB
          Gregory Chanan
        4. HBASE-5213-v1-trunk.patch
          13 kB
          Gregory Chanan
        5. HBASE-5213-v0-trunk.patch
          13 kB
          Gregory Chanan
        6. 5213.jstack
          135 kB
          Ted Yu

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: