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

hadoop_add_classpath is not working in .hadooprc

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Incompatible change
    • Release Note:
      Hide
      <!-- markdown -->
      With this change, the `.hadooprc` file is now processed after Apache Hadoop has been fully bootstrapped. This allows for usage of the Apache Hadoop Shell API. A new file, `.hadoop-env`, now provides the ability for end users to override `hadoop-env.sh`.
      Show
      <!-- markdown --> With this change, the `.hadooprc` file is now processed after Apache Hadoop has been fully bootstrapped. This allows for usage of the Apache Hadoop Shell API. A new file, `.hadoop-env`, now provides the ability for end users to override `hadoop-env.sh`.

      Description

      hadoop_basic_function resets CLASSPATH after .hadooprc is called.

      $ hadoop --debug version
      (snip)
      DEBUG: Applying the user's .hadooprc
      DEBUG: Initial CLASSPATH=/root/hadoop-tools-0.1-SNAPSHOT.jar
      DEBUG: Initialize CLASSPATH
      DEBUG: Rejected colonpath(JAVA_LIBRARY_PATH): /usr/local/hadoop/build/native
      DEBUG: Rejected colonpath(JAVA_LIBRARY_PATH): /usr/local/hadoop/lib/native
      DEBUG: Initial CLASSPATH=/usr/local/hadoop/share/hadoop/common/lib/*
      

        Attachments

        1. HADOOP-13045.01.patch
          9 kB
          Allen Wittenauer
        2. HADOOP-13045.00.patch
          9 kB
          Allen Wittenauer

          Activity

            People

            • Assignee:
              aw Allen Wittenauer
              Reporter:
              ajisakaa Akira Ajisaka
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: