Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-2798

hadoop-config.sh should use $BASH_SOURCE instead of $0

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 0.90.0
    • 0.90.0
    • build
    • None

    Description

      Similar to HADOOP-6630, we should use $BASH_SOURCE instead of $0 to autolocate HBASE_HOME. This allows you to source hadoop-config.sh and it will correctly use its own location instead of the location of the bash script that sourced it.

      Attachments

        1. 2798.txt
          4 kB
          Michael Stack

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: