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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.22.0
    • Component/s: scripts
    • Labels:
      None
    • Hadoop Flags:
      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

          Activity

            People

            • Assignee:
              philip Philip Zeyliger
              Reporter:
              philip Philip Zeyliger
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: