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

configuration file generates syntax error on Ubuntu14.10 with bash 4.3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Invalid
    • 2.6.0
    • None
    • scripts
    • None
    • hadoop: 2.6.0
      OS: Linux version 3.16.0-31-generic (buildd@batsu) (gcc version 4.9.1 (Ubuntu 4.9.1-16ubuntu6) )
      bash:GNU bash, version 4.3.30(1)-release (x86_64-pc-linux-gnu)

    • syntax error bash

    Description

      hadoop configuration file : /path/to/hadoop/libexec/hadoop-config.sh
      line:99
      if [[ ( "$HADOOP_SLAVES" != '' ) && ( "$HADOOP_SLAVE_NAMES" != '' ) ]] ; then

      On system ubuntu 14.10 (Linux version 3.16.0-31-generic & Bash version 4.3.s) , this'll generate a syntax error :

      hadoop-config.sh: 99: hadoop-config.sh: Syntax error: word unexpected (expecting ")")

      Attachments

        1. bash trace.rtf
          3 kB
          Jean-Pierre Matsumoto

        Activity

          People

            jpmat Jean-Pierre Matsumoto
            WangJq Tomorrow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: