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

bin/graceful_stop.sh logs nothing as a balancer state to be stored

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      In bin/graceful_stop.sh

      log() {
        echo `date +%Y-%m-%dT%H:%M:%S` $1
      }
      ...skip...
      if [ $HBASE_BALANCER_STATE != "false" ]; then
        log "Restoring balancer state to " $HBASE_BALANCER_STATE
      

      The position of the above last double quotation mark is wrong, and the balancer state will be not shown.

      Attachments

        1. HBASE-14768.patch
          0.5 kB
          Hiroshi Ikeda

        Activity

          People

            ikeda Hiroshi Ikeda
            ikeda Hiroshi Ikeda
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: