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

HADOOP_USER_CLASSPATH_FIRST works the opposite of what it is supposed to do

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: scripts
    • Labels:
      None
    • Target Version/s:

      Description

      The behavior of HADOOP_USER_CLASSPATH_FIRST works the opposite of what it should do. If it is not set, HADOOP_CLASSPATH is prepended. If set, it is appended.

      You can easily try out by doing something like

      HADOOP_CLASSPATH=/Users/alice/tmp hadoop classpath
      

      (HADOOP_CLASSPATH should point to an existing directory)

      I think the if clause in hadoop_add_to_classpath_userpath is reversed.

      This issue seems specific to the trunk.

        Attachments

          Activity

            People

            • Assignee:
              sjlee0 Sangjin Lee
              Reporter:
              sjlee0 Sangjin Lee
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: