Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7755

httpfs shell code has hardcoded path to bash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.1
    • 3.0.0-alpha1
    • scripts
    • None

    Description

      Most of shell scripts use shebang ling in the following format:
      #!/usr/bin/env bash

      But some scripts contain hardcoded "/bin/bash" which is not portable.

      Please use #!/usr/bin/env bash instead for portability.

      PS: it would be much better to switch to standard Bourne Shell /bin/sh, do these scripts really need bash?

      Attachments

        1. bash.patch
          1.0 kB
          Dmitry Sivachenko

        Issue Links

          Activity

            People

              trtrmitya Dmitry Sivachenko
              trtrmitya Dmitry Sivachenko
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: