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

Portability of hadoop shell scripts for deployment

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4.0
    • 0.5.0
    • None
    • None

    Description

      Hadoop shell scripts are based on /bin/bash, which is a "standard" shell only on GNU/Linux. On other Unix systems like FreeBSD however the "standard" shell is /bin/sh. The attached patch addresses these compatiblity issues. Note that Solaris support is not yet tested.

      Also, the best way to set the HADOOP_HOME variable upon ssh connection in a portable way is to set it in .ssh/environment. The bash startup script ".bashrc" is not an option on systems where "bash" is not installed.

      Attachments

        1. hadoop-sh-patch
          4 kB
          Jean-Baptiste Quenot

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            jbq Jean-Baptiste Quenot
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment