hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-13045) hadoop_add_classpath is not working in .hadooprc
Date Sat, 30 Apr 2016 19:24:12 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-13045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Allen Wittenauer updated HADOOP-13045:
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0
     Release Note: 
<!-- 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`.
           Status: Resolved  (was: Patch Available)

Thanks for the review. Committed.

> hadoop_add_classpath is not working in .hadooprc
> ------------------------------------------------
>
>                 Key: HADOOP-13045
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13045
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Akira AJISAKA
>            Assignee: Allen Wittenauer
>             Fix For: 3.0.0
>
>         Attachments: HADOOP-13045.00.patch, HADOOP-13045.01.patch
>
>
> {{hadoop_basic_function}} resets {{CLASSPATH}} after {{.hadooprc}} is called.
> {noformat}
> $ 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/*
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message