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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.98.14, 1.0.3, 1.1.3, 2.0.0
    • Fix Version/s: 1.2.0, 1.3.0, 1.1.3, 0.98.17, 2.0.0
    • Component/s: scripts
    • Labels:
      None
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: