Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: scripts
    • Labels:
      None

      Description

      Let's fix all of the /bin/bash and /usr/bin/bash hardcodes globally in the shell code in one big patch.

      1. HADOOP-11637.patch
        5 kB
        Allen Wittenauer

        Activity

        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Hadoop-Mapreduce-trunk #2067 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2067/)
        HADOOP-11637. bash location hard-coded in shell scripts (aw) (aw: rev dce8b9c4d0b2da1780f743d81e840ca0fdfc62cf)

        • hadoop-common-project/hadoop-common/CHANGES.txt
        • hadoop-common-project/hadoop-common/src/site/markdown/RackAwareness.md
        • hadoop-common-project/hadoop-kms/src/main/libexec/kms-config.sh
        • hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh
        • hadoop-tools/hadoop-sls/src/main/bin/rumen2sls.sh
        • hadoop-common-project/hadoop-kms/src/main/conf/kms-env.sh
        • hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/conf/httpfs-env.sh
        • hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh
        • hadoop-common-project/hadoop-kms/src/main/sbin/kms.sh
        • hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
        • hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/libexec/httpfs-config.sh
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Mapreduce-trunk #2067 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2067/ ) HADOOP-11637 . bash location hard-coded in shell scripts (aw) (aw: rev dce8b9c4d0b2da1780f743d81e840ca0fdfc62cf) hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-common/src/site/markdown/RackAwareness.md hadoop-common-project/hadoop-kms/src/main/libexec/kms-config.sh hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh hadoop-tools/hadoop-sls/src/main/bin/rumen2sls.sh hadoop-common-project/hadoop-kms/src/main/conf/kms-env.sh hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/conf/httpfs-env.sh hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh hadoop-common-project/hadoop-kms/src/main/sbin/kms.sh hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/libexec/httpfs-config.sh
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #117 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/117/)
        HADOOP-11637. bash location hard-coded in shell scripts (aw) (aw: rev dce8b9c4d0b2da1780f743d81e840ca0fdfc62cf)

        • hadoop-common-project/hadoop-common/src/site/markdown/RackAwareness.md
        • hadoop-common-project/hadoop-kms/src/main/sbin/kms.sh
        • hadoop-tools/hadoop-sls/src/main/bin/rumen2sls.sh
        • hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh
        • hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/conf/httpfs-env.sh
        • hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/libexec/httpfs-config.sh
        • hadoop-common-project/hadoop-kms/src/main/conf/kms-env.sh
        • hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
        • hadoop-common-project/hadoop-common/CHANGES.txt
        • hadoop-common-project/hadoop-kms/src/main/libexec/kms-config.sh
        • hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #117 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/117/ ) HADOOP-11637 . bash location hard-coded in shell scripts (aw) (aw: rev dce8b9c4d0b2da1780f743d81e840ca0fdfc62cf) hadoop-common-project/hadoop-common/src/site/markdown/RackAwareness.md hadoop-common-project/hadoop-kms/src/main/sbin/kms.sh hadoop-tools/hadoop-sls/src/main/bin/rumen2sls.sh hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/conf/httpfs-env.sh hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/libexec/httpfs-config.sh hadoop-common-project/hadoop-kms/src/main/conf/kms-env.sh hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-kms/src/main/libexec/kms-config.sh hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #108 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/108/)
        HADOOP-11637. bash location hard-coded in shell scripts (aw) (aw: rev dce8b9c4d0b2da1780f743d81e840ca0fdfc62cf)

        • hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh
        • hadoop-common-project/hadoop-kms/src/main/sbin/kms.sh
        • hadoop-common-project/hadoop-kms/src/main/conf/kms-env.sh
        • hadoop-common-project/hadoop-common/src/site/markdown/RackAwareness.md
        • hadoop-common-project/hadoop-common/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/libexec/httpfs-config.sh
        • hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh
        • hadoop-tools/hadoop-sls/src/main/bin/rumen2sls.sh
        • hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/conf/httpfs-env.sh
        • hadoop-common-project/hadoop-kms/src/main/libexec/kms-config.sh
        • hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #108 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/108/ ) HADOOP-11637 . bash location hard-coded in shell scripts (aw) (aw: rev dce8b9c4d0b2da1780f743d81e840ca0fdfc62cf) hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh hadoop-common-project/hadoop-kms/src/main/sbin/kms.sh hadoop-common-project/hadoop-kms/src/main/conf/kms-env.sh hadoop-common-project/hadoop-common/src/site/markdown/RackAwareness.md hadoop-common-project/hadoop-common/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/libexec/httpfs-config.sh hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh hadoop-tools/hadoop-sls/src/main/bin/rumen2sls.sh hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/conf/httpfs-env.sh hadoop-common-project/hadoop-kms/src/main/libexec/kms-config.sh hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk #2049 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2049/)
        HADOOP-11637. bash location hard-coded in shell scripts (aw) (aw: rev dce8b9c4d0b2da1780f743d81e840ca0fdfc62cf)

        • hadoop-tools/hadoop-sls/src/main/bin/rumen2sls.sh
        • hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh
        • hadoop-common-project/hadoop-kms/src/main/conf/kms-env.sh
        • hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/conf/httpfs-env.sh
        • hadoop-common-project/hadoop-kms/src/main/sbin/kms.sh
        • hadoop-common-project/hadoop-common/CHANGES.txt
        • hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh
        • hadoop-common-project/hadoop-common/src/site/markdown/RackAwareness.md
        • hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
        • hadoop-common-project/hadoop-kms/src/main/libexec/kms-config.sh
        • hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/libexec/httpfs-config.sh
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk #2049 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2049/ ) HADOOP-11637 . bash location hard-coded in shell scripts (aw) (aw: rev dce8b9c4d0b2da1780f743d81e840ca0fdfc62cf) hadoop-tools/hadoop-sls/src/main/bin/rumen2sls.sh hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh hadoop-common-project/hadoop-kms/src/main/conf/kms-env.sh hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/conf/httpfs-env.sh hadoop-common-project/hadoop-kms/src/main/sbin/kms.sh hadoop-common-project/hadoop-common/CHANGES.txt hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh hadoop-common-project/hadoop-common/src/site/markdown/RackAwareness.md hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh hadoop-common-project/hadoop-kms/src/main/libexec/kms-config.sh hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/libexec/httpfs-config.sh
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Hadoop-Yarn-trunk #851 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/851/)
        HADOOP-11637. bash location hard-coded in shell scripts (aw) (aw: rev dce8b9c4d0b2da1780f743d81e840ca0fdfc62cf)

        • hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/libexec/httpfs-config.sh
        • hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/conf/httpfs-env.sh
        • hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh
        • hadoop-common-project/hadoop-kms/src/main/sbin/kms.sh
        • hadoop-common-project/hadoop-kms/src/main/conf/kms-env.sh
        • hadoop-tools/hadoop-sls/src/main/bin/rumen2sls.sh
        • hadoop-common-project/hadoop-common/src/site/markdown/RackAwareness.md
        • hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh
        • hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
        • hadoop-common-project/hadoop-common/CHANGES.txt
        • hadoop-common-project/hadoop-kms/src/main/libexec/kms-config.sh
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Yarn-trunk #851 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/851/ ) HADOOP-11637 . bash location hard-coded in shell scripts (aw) (aw: rev dce8b9c4d0b2da1780f743d81e840ca0fdfc62cf) hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/libexec/httpfs-config.sh hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/conf/httpfs-env.sh hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh hadoop-common-project/hadoop-kms/src/main/sbin/kms.sh hadoop-common-project/hadoop-kms/src/main/conf/kms-env.sh hadoop-tools/hadoop-sls/src/main/bin/rumen2sls.sh hadoop-common-project/hadoop-common/src/site/markdown/RackAwareness.md hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-kms/src/main/libexec/kms-config.sh
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #117 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/117/)
        HADOOP-11637. bash location hard-coded in shell scripts (aw) (aw: rev dce8b9c4d0b2da1780f743d81e840ca0fdfc62cf)

        • hadoop-common-project/hadoop-kms/src/main/libexec/kms-config.sh
        • hadoop-common-project/hadoop-kms/src/main/sbin/kms.sh
        • hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
        • hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/conf/httpfs-env.sh
        • hadoop-common-project/hadoop-kms/src/main/conf/kms-env.sh
        • hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/libexec/httpfs-config.sh
        • hadoop-common-project/hadoop-common/src/site/markdown/RackAwareness.md
        • hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh
        • hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh
        • hadoop-tools/hadoop-sls/src/main/bin/rumen2sls.sh
        • hadoop-common-project/hadoop-common/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #117 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/117/ ) HADOOP-11637 . bash location hard-coded in shell scripts (aw) (aw: rev dce8b9c4d0b2da1780f743d81e840ca0fdfc62cf) hadoop-common-project/hadoop-kms/src/main/libexec/kms-config.sh hadoop-common-project/hadoop-kms/src/main/sbin/kms.sh hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/conf/httpfs-env.sh hadoop-common-project/hadoop-kms/src/main/conf/kms-env.sh hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/libexec/httpfs-config.sh hadoop-common-project/hadoop-common/src/site/markdown/RackAwareness.md hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh hadoop-tools/hadoop-sls/src/main/bin/rumen2sls.sh hadoop-common-project/hadoop-common/CHANGES.txt
        Hide
        chris.douglas Chris Douglas added a comment -

        +1 self review.

        Heh; this is not a thing.

        +1 on the patch. Please ping someone next time.

        Show
        chris.douglas Chris Douglas added a comment - +1 self review. Heh; this is not a thing. +1 on the patch. Please ping someone next time.
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-trunk-Commit #7209 (See https://builds.apache.org/job/Hadoop-trunk-Commit/7209/)
        HADOOP-11637. bash location hard-coded in shell scripts (aw) (aw: rev dce8b9c4d0b2da1780f743d81e840ca0fdfc62cf)

        • hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
        • hadoop-common-project/hadoop-common/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh
        • hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/conf/httpfs-env.sh
        • hadoop-common-project/hadoop-kms/src/main/libexec/kms-config.sh
        • hadoop-common-project/hadoop-kms/src/main/sbin/kms.sh
        • hadoop-common-project/hadoop-kms/src/main/conf/kms-env.sh
        • hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh
        • hadoop-tools/hadoop-sls/src/main/bin/rumen2sls.sh
        • hadoop-common-project/hadoop-common/src/site/markdown/RackAwareness.md
        • hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/libexec/httpfs-config.sh
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #7209 (See https://builds.apache.org/job/Hadoop-trunk-Commit/7209/ ) HADOOP-11637 . bash location hard-coded in shell scripts (aw) (aw: rev dce8b9c4d0b2da1780f743d81e840ca0fdfc62cf) hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh hadoop-common-project/hadoop-common/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/conf/httpfs-env.sh hadoop-common-project/hadoop-kms/src/main/libexec/kms-config.sh hadoop-common-project/hadoop-kms/src/main/sbin/kms.sh hadoop-common-project/hadoop-kms/src/main/conf/kms-env.sh hadoop-tools/hadoop-sls/src/main/bin/slsrun.sh hadoop-tools/hadoop-sls/src/main/bin/rumen2sls.sh hadoop-common-project/hadoop-common/src/site/markdown/RackAwareness.md hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/libexec/httpfs-config.sh
        Hide
        aw Allen Wittenauer added a comment -

        +1 self review.

        committed to trunk

        Show
        aw Allen Wittenauer added a comment - +1 self review. committed to trunk
        Hide
        aw Allen Wittenauer added a comment -

        trivial patch.

        Show
        aw Allen Wittenauer added a comment - trivial patch.

          People

          • Assignee:
            aw Allen Wittenauer
            Reporter:
            aw Allen Wittenauer
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development