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

.sh scripts do not work on Solaris

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.13.1
    • 0.15.0
    • scripts
    • None
    • SunOS acl301 5.10 Generic_118855-33 i86pc i386 i86pc

    Description

      the EXPORT commands in the scripts didn't play nicely w/the default shell & Hadoop wouldn't start ("... is not an
      identifier"). I changed the first #! line of bin/hadoop-daemon.sh and bin/hadoop to specify bash, then everything worked:

      #!/bin/bash

      ksh is probably another option that will work, but we did not try that

      Attachments

        1. HADOOP-1689.patch
          8 kB
          Doug Cutting

        Activity

          People

            cutting Doug Cutting
            djb David Biesack
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: