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

graceful_stop.sh syntax error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.96.0
    • 0.98.0, 0.96.1
    • scripts
    • None
    • x86_64 GNU/Linux

    • Reviewed

    Description

      When i was trying to run graceful_stop.sh i got error:

      ./graceful_stop.sh: line 59: syntax error near unexpected token `;'
      ./graceful_stop.sh: line 59: `    --failfast) ;&'
      

      After looking at script i notice that this lines are causing error:

          --failfast) ;&
          -e)  failfast=true; shift;;
          --debug)  ;&
          -d)  debug="--debug"; shift;;
      

      They sholud be changed to this:

       --failfast | -e)  failfast=true; shift;;
       --debug | -d)  debug="--debug"; shift;;
      

      I will attach patch today.

      Attachments

        1. HBASE-10050.patch
          0.5 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: