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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 3.0.0-alpha1
    • scripts
    • None

    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

        1. HADOOP-11983.001.patch
          0.9 kB
          Sangjin Lee

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: