Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1037

bin/slaves.sh not compatible with /bin/dash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0
    • None
    • None

    Description

      Ubuntu now uses /bin/dash for scripts that specify /bin/sh, but bin/slaves.sh currently fails with /bin/dash, requiring instead /bin/bash. We should either declare it to use /bin/bash or fix it to be compatible.

      The error I see is:

      /home/cutting/src/hadoop/trunk/bin/slaves.sh: 45: Syntax error: Bad substitution

      Attachments

        Activity

          People

            Unassigned Unassigned
            cutting Doug Cutting
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: