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

hadoop_add_classpath is not working in .hadooprc

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha1
    • None
    • None
    • Incompatible change
    • 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.00.patch
          9 kB
          Allen Wittenauer
        2. HADOOP-13045.01.patch
          9 kB
          Allen Wittenauer

        Activity

          People

            aw Allen Wittenauer
            aajisaka Akira Ajisaka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: