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 "Owen O'Malley (Created) (JIRA)" <ji...@apache.org> on 2011/11/29 19:07:40 UTC

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

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


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

        

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

Posted by "Owen O'Malley (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Owen O'Malley updated HADOOP-7869:
----------------------------------

    Target Version/s: 1.0.0
    
> 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
>
>
> 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

        

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

Posted by "Arpit Gupta (Commented) (JIRA)" <ji...@apache.org>.
    [ 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

        

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

Posted by "Matt Foley (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Foley resolved HADOOP-7869.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.0

Committed to 1.0.0 and branch-1.  Thanks, Owen!

Per HADOOP-7816, not needed on trunk.
                
> 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
>             Fix For: 1.0.0
>
>         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

        

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

Posted by "Owen O'Malley (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Owen O'Malley updated HADOOP-7869:
----------------------------------

    Attachment: h-7869.patch

I messed up the fix from HADOOP-7816. This pulls the hadoop-env into hadoop-config.
                
> 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

        

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

Posted by "Owen O'Malley (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Owen O'Malley updated HADOOP-7869:
----------------------------------

    Attachment: h-7869.patch

This patch moves the check into hadoop-config and suppresses further warnings.
                
> 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
>
>
> 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