Hadoop Common
  1. Hadoop Common
  2. HADOOP-1037

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.12.0
    • Component/s: None
    • Labels:
      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

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Doug Cutting
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development