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

Suggest that HADOOP_CLASSPATH should be preserved in hadoop-env.sh.template

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.22.0
    • 0.22.0
    • scripts
    • None
    • Reviewed

    Description

      HADOOP_CLASSPATH tends to be used to add to bin/hadoop's classpath. Because of the way the comment is written, administrator's who customize hadoop-env.sh often inadvertently disable user's abilities to use it, by not including the present value of the variable.

      I propose we change the commented out suggestion code to include the present value.

       # Extra Java CLASSPATH elements.  Optional.
      -# export HADOOP_CLASSPATH=
      +# export HADOOP_CLASSPATH="<extra_entries>:$HADOOP_CLASSPATH"
      

      Attachments

        1. HADOOP-6950.patch.txt
          0.4 kB
          Philip Martin

        Activity

          People

            philip Philip Martin
            philip Philip Martin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: