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

graceful_stop.sh "if [ "$local" ]" condition unexpected behaviour

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.98.14, 1.0.3, 1.1.3, 2.0.0
    • 1.2.0, 1.3.0, 1.1.3, 0.98.17, 2.0.0
    • scripts
    • None
    • Reviewed

    Description

      We are using this condition to evaluate if graceful_stop.sh runs start/stop commands on local server or remote servers. Issue is that this condition is always true and causing unexpected behavior of script.
      I will attach patch changing this condition to

      if [ "$local" = true ]
      

      Attachments

        1. HBASE-14531.patch
          2 kB
          Samir Ahmic
        2. HBASE-14531v2.patch
          3 kB
          Samir Ahmic
        3. HBASE-14531v3.patch
          3 kB
          Samir Ahmic

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: