Hadoop Common
  1. Hadoop Common
  2. HADOOP-6950

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

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Trivial 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"
      
      1. HADOOP-6950.patch.txt
        0.4 kB
        Philip Zeyliger

        Activity

        Philip Zeyliger created issue -
        Philip Zeyliger made changes -
        Field Original Value New Value
        Attachment HADOOP-6950.patch.txt [ 12454324 ]
        Eli Collins made changes -
        Hadoop Flags [Reviewed]
        Assignee Philip Zeyliger [ philip ]
        Fix Version/s 0.22.0 [ 12314296 ]
        Affects Version/s 0.22.0 [ 12314296 ]
        Eli Collins made changes -
        Issue Type Bug [ 1 ] Improvement [ 4 ]
        Eli Collins made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development