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

getting rid of all the 'bin/../' from all the paths

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Duplicate
    • None
    • None
    • conf
    • None
    • shell scripts

    Description

      by simply replacing line 34 of libexec/hadoop-config.sh from:

      export HADOOP_PREFIX=`dirname "$this"`/..

      to

      export HADOOP_PREFIX=$( cd "$config_bin/.."; pwd -P )

      we can eliminate all the annoying 'bin/../' from the library paths and make the output of commands like ps a lot more readable. not to mention that OS would do just a bit less work as well. I can post a patch for it as well if it is needed

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kaveh kaveh minooie
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1m
                  1m
                  Remaining:
                  Remaining Estimate - 1m
                  1m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified