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

Support remote shell comands other than ssh in startup scripts

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • scripts
    • None
    • Add a HADOOP_SSH_CMD and YARN_SSH_CMD environment variable to select an alternate remote shell command when launching the respective Hadoop daemons.

    Description

      Some organizations have remote shell launching mechanisms other than ssh. It would be nice to be able to use these other remote shell commands without hand modifying the startup scripts.

      I've attached a locally developed patch for this against Hadoop 1.1.0. It modifies conf/hadoop-env.sh, bin/slaves.sh, and bin/hadoop-daemon.sh and supports a HADOOP_SSH_CMD environment variable to allow users to set whatever remote shell command they want to use.

      Attachments

        1. HADOOP-9109.patch
          5 kB
          Albert Chu
        2. HADOOP-9109-tag-release-1.1.0.patch
          3 kB
          Albert Chu

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chu11 Albert Chu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: