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

rolling-restart.sh --graceful will start regionserver process on master node

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • scripts
    • None
    • Reviewed

    Description

      In master branch master acts also as regionserver hosting 'hbase:meta' table and it has ephemeral znode created in '/hbase/rs'. Because of this rolling-restart.sh --graceful will pick up master server from zk at this line:

      online_regionservers=`$bin/hbase zkcli ls $zkrs 2>&1 | tail -1 | sed "s/\[//" | sed "s/\]//"`
      

      and will restart it a long with rest of regionservers.
      I'm planing to add some code to rolling-restart.sh script to filter master server from above list.

      Attachments

        1. HBASE-14523.patch
          1 kB
          Samir Ahmic
        2. HBASE-14523v2.patch
          2 kB
          Samir Ahmic
        3. HBASE-14523v2.patch
          2 kB
          Samir Ahmic
        4. HBASE-14523v2.patch
          2 kB
          Michael Stack

        Activity

          People

            asamir Samir Ahmic
            asamir Samir Ahmic
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: