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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: scripts
    • Labels:
      None
    • Hadoop Flags:
      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-14523v2.patch
          2 kB
          Michael Stack
        2. HBASE-14523v2.patch
          2 kB
          Samir Ahmic
        3. HBASE-14523v2.patch
          2 kB
          Samir Ahmic
        4. HBASE-14523.patch
          1 kB
          Samir Ahmic

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: