You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Arpit Gupta (Commented) (JIRA)" <ji...@apache.org> on 2011/11/29 20:25:40 UTC

[jira] [Commented] (HADOOP-7869) HADOOP_HOME warning happens all of the time

    [ https://issues.apache.org/jira/browse/HADOOP-7869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13159473#comment-13159473 ] 

Arpit Gupta commented on HADOOP-7869:
-------------------------------------

applied the patch and built hadoop and ran the following tests

1. No HADOOP_HOME exported -> no warning
2. HADOOP_HOME exported -> warning
3. HADOOP_HOME and HADOOP_HOME_WARN_SUPPRESS set -> no warning
4. HADOOP_HOME set and HADOOP_HOME_WARN_S +UPRESS set in hadoop-env.sh -> no warning.

So it is working as expected. +1
                
> HADOOP_HOME warning happens all of the time
> -------------------------------------------
>
>                 Key: HADOOP-7869
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7869
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 1.0.0
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>            Priority: Critical
>         Attachments: h-7869.patch, h-7869.patch
>
>
> With HADOOP-7816, the check for HADOOP_HOME has moved after it is set by hadoop-config so that it always happens unless HADOOP_HOME_WARN_SUPPRESS is set in hadoop-env or the environment.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira