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 "Dave Thompson (Created) (JIRA)" <ji...@apache.org> on 2011/11/11 16:32:51 UTC

[jira] [Created] (HADOOP-7816) Allow Hadoop warning supression to be specified in config.

Allow Hadoop warning supression to be specified in config.
----------------------------------------------------------

                 Key: HADOOP-7816
                 URL: https://issues.apache.org/jira/browse/HADOOP-7816
             Project: Hadoop Common
          Issue Type: Bug
    Affects Versions: 0.20.205.0
            Reporter: Dave Thompson
            Assignee: Dave Thompson
             Fix For: 0.20.205.1


Move suppression check for "Warning: $HADOOP_HOME is deprecated"  to after sourcing of hadoop-env.sh so that people can set HADOOP_HOME_WARN_SUPPRESS inside the config.

--
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-7816) Allow Hadoop warning supression to be specified in config.

Posted by "Dave Thompson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148713#comment-13148713 ] 

Dave Thompson commented on HADOOP-7816:
---------------------------------------

Regarding HadoopQA comments:

1) No tests included/changed.   The patch merely changes the order of a small code segment in bin/hadoop.   Testing was done by running a hadoop fs -ls, with HADOOP_HOME_WARN_SUPPRESS turned on and turned off.

2) Regarding patch, this patch was done against the tagged version rel-0.20.205.0-rc1.  Failure to patch against trunk is not unexpected.
                
> Allow Hadoop warning supression to be specified in config.
> ----------------------------------------------------------
>
>                 Key: HADOOP-7816
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7816
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.20.205.1
>
>         Attachments: rel-0.20.205.0-rc1_hadoop7816.patch
>
>
> Move suppression check for "Warning: $HADOOP_HOME is deprecated"  to after sourcing of hadoop-env.sh so that people can set HADOOP_HOME_WARN_SUPPRESS inside the config.

--
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-7816) Allow Hadoop warning supression to be specified in config.

Posted by "Suresh Srinivas (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150650#comment-13150650 ] 

Suresh Srinivas commented on HADOOP-7816:
-----------------------------------------

Dave, is this relevant to trunk? If so could you please attach a trunk patch?
                
> Allow Hadoop warning supression to be specified in config.
> ----------------------------------------------------------
>
>                 Key: HADOOP-7816
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7816
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.20.205.1
>
>         Attachments: rel-0.20.205.0-rc1_hadoop7816.patch
>
>
> Move suppression check for "Warning: $HADOOP_HOME is deprecated"  to after sourcing of hadoop-env.sh so that people can set HADOOP_HOME_WARN_SUPPRESS inside the config.

--
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-7816) Allow HADOOP_HOME deprecated warning suppression based on config specified in hadoop-env.sh

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

Matt Foley updated HADOOP-7816:
-------------------------------

    Target Version/s: 0.20.205.1  (was: 0.20.205.1, 0.20.205.0)
       Fix Version/s:     (was: 0.20.206.0)

Corrected the Target and Fixed fields.
                
> Allow HADOOP_HOME deprecated warning suppression based on config specified in hadoop-env.sh
> -------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7816
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7816
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.20.205.1
>
>         Attachments: rel-0.20.205.0-rc1_hadoop7816.patch
>
>
> Move suppression check for "Warning: $HADOOP_HOME is deprecated"  to after sourcing of hadoop-env.sh so that people can set HADOOP_HOME_WARN_SUPPRESS inside the config.

--
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-7816) Allow HADOOP_HOME deprecated warning suppression based on config specified in hadoop-env.sh

Posted by "Dave Thompson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150836#comment-13150836 ] 

Dave Thompson commented on HADOOP-7816:
---------------------------------------

Thanks Suresh.   It appears that HADOOP-7398 hasn't been applied to trunk, nor does it seem to need to.  As such this issue shouldn't be necessary for trunk as well.
                
> Allow HADOOP_HOME deprecated warning suppression based on config specified in hadoop-env.sh
> -------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7816
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7816
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.20.205.1, 0.20.206.0
>
>         Attachments: rel-0.20.205.0-rc1_hadoop7816.patch
>
>
> Move suppression check for "Warning: $HADOOP_HOME is deprecated"  to after sourcing of hadoop-env.sh so that people can set HADOOP_HOME_WARN_SUPPRESS inside the config.

--
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-7816) Allow Hadoop warning supression to be specified in config.

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

Dave Thompson updated HADOOP-7816:
----------------------------------

    Attachment: rel-0.20.205.0-rc1_hadoop7816.patch

The attached patch changes the order of the warning check to occur after the sourcing of hadoop-env.sh so that the warning suppression setting can occur in hadoop-env.sh
                
> Allow Hadoop warning supression to be specified in config.
> ----------------------------------------------------------
>
>                 Key: HADOOP-7816
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7816
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.20.205.1
>
>         Attachments: rel-0.20.205.0-rc1_hadoop7816.patch
>
>
> Move suppression check for "Warning: $HADOOP_HOME is deprecated"  to after sourcing of hadoop-env.sh so that people can set HADOOP_HOME_WARN_SUPPRESS inside the config.

--
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-7816) Allow HADOOP_HOME deprecated warning suppression based on config specified in hadoop-env.sh

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

Suresh Srinivas updated HADOOP-7816:
------------------------------------

    Target Version/s: 0.20.205.0, 0.20.205.1  (was: 0.20.205.1, 0.20.205.0)
        Hadoop Flags: Reviewed
             Summary: Allow HADOOP_HOME deprecated warning suppression based on config specified in hadoop-env.sh  (was: Allow Hadoop warning supression to be specified in config.)
    
> Allow HADOOP_HOME deprecated warning suppression based on config specified in hadoop-env.sh
> -------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7816
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7816
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.20.205.1
>
>         Attachments: rel-0.20.205.0-rc1_hadoop7816.patch
>
>
> Move suppression check for "Warning: $HADOOP_HOME is deprecated"  to after sourcing of hadoop-env.sh so that people can set HADOOP_HOME_WARN_SUPPRESS inside the config.

--
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-7816) Allow HADOOP_HOME deprecated warning suppression based on config specified in hadoop-env.sh

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

Suresh Srinivas updated HADOOP-7816:
------------------------------------

    Target Version/s: 0.20.205.0, 0.20.205.1  (was: 0.20.205.1, 0.20.205.0)
       Fix Version/s: 0.20.206.0
    
> Allow HADOOP_HOME deprecated warning suppression based on config specified in hadoop-env.sh
> -------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7816
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7816
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.20.205.1, 0.20.206.0
>
>         Attachments: rel-0.20.205.0-rc1_hadoop7816.patch
>
>
> Move suppression check for "Warning: $HADOOP_HOME is deprecated"  to after sourcing of hadoop-env.sh so that people can set HADOOP_HOME_WARN_SUPPRESS inside the config.

--
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-7816) Allow Hadoop warning supression to be specified in config.

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

Dave Thompson updated HADOOP-7816:
----------------------------------

                Tags: HADOOP_HOME_WARN_SUPPRESS
    Target Version/s: 0.20.205.0, 0.20.205.1
              Status: Patch Available  (was: Open)

The submitted patch changes the order of the warning suppression check (HADOOP_HOME_WARN_SUPPRESS) to occur after the sourcing of hadoop-env.sh so that the warning suppression setting can occur in hadoop-env.sh.

This is related to HADOOP-7398
                
> Allow Hadoop warning supression to be specified in config.
> ----------------------------------------------------------
>
>                 Key: HADOOP-7816
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7816
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.20.205.1
>
>         Attachments: rel-0.20.205.0-rc1_hadoop7816.patch
>
>
> Move suppression check for "Warning: $HADOOP_HOME is deprecated"  to after sourcing of hadoop-env.sh so that people can set HADOOP_HOME_WARN_SUPPRESS inside the config.

--
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-7816) Allow Hadoop warning supression to be specified in config.

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148682#comment-13148682 ] 

Hadoop QA commented on HADOOP-7816:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12503406/rel-0.20.205.0-rc1_hadoop7816.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    -1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/373//console

This message is automatically generated.
                
> Allow Hadoop warning supression to be specified in config.
> ----------------------------------------------------------
>
>                 Key: HADOOP-7816
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7816
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.20.205.1
>
>         Attachments: rel-0.20.205.0-rc1_hadoop7816.patch
>
>
> Move suppression check for "Warning: $HADOOP_HOME is deprecated"  to after sourcing of hadoop-env.sh so that people can set HADOOP_HOME_WARN_SUPPRESS inside the config.

--
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-7816) Allow Hadoop warning supression to be specified in config.

Posted by "Suresh Srinivas (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150649#comment-13150649 ] 

Suresh Srinivas commented on HADOOP-7816:
-----------------------------------------

+1 for the change.
                
> Allow Hadoop warning supression to be specified in config.
> ----------------------------------------------------------
>
>                 Key: HADOOP-7816
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7816
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.20.205.1
>
>         Attachments: rel-0.20.205.0-rc1_hadoop7816.patch
>
>
> Move suppression check for "Warning: $HADOOP_HOME is deprecated"  to after sourcing of hadoop-env.sh so that people can set HADOOP_HOME_WARN_SUPPRESS inside the config.

--
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-7816) Allow HADOOP_HOME deprecated warning suppression based on config specified in hadoop-env.sh

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

Suresh Srinivas updated HADOOP-7816:
------------------------------------

          Resolution: Fixed
    Target Version/s: 0.20.205.0, 0.20.205.1  (was: 0.20.205.1, 0.20.205.0)
              Status: Resolved  (was: Patch Available)

I committed the patch and marking the jira as resolved. Dave, please reopen this bug to attach trunk patch, if trunk requires this change as well.
                
> Allow HADOOP_HOME deprecated warning suppression based on config specified in hadoop-env.sh
> -------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7816
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7816
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.20.205.1, 0.20.206.0
>
>         Attachments: rel-0.20.205.0-rc1_hadoop7816.patch
>
>
> Move suppression check for "Warning: $HADOOP_HOME is deprecated"  to after sourcing of hadoop-env.sh so that people can set HADOOP_HOME_WARN_SUPPRESS inside the config.

--
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