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

ASF GitHub Bot commented on MAPREDUCE-6752:
-------------------------------------------

GitHub user ggribeler opened a pull request:

    https://github.com/apache/hadoop/pull/285

    MAPREDUCE-6752: Bad logging practices in mapreduce

    Changed the log level of the method that is only used for debugging purpose 
as discussed here:
    
    https://issues.apache.org/jira/browse/MAPREDUCE-6752


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ggribeler/hadoop trunk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/hadoop/pull/285.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #285
    
----
commit 1915e20b0e5739b11cd05fa5b8f5aede1f8ae513
Author: Guilherme Gribeler <[email protected]>
Date:   2017-10-30T02:13:24Z

    fixed MAPREDUCE-6752 issue

----


> Bad logging practices in mapreduce
> ----------------------------------
>
>                 Key: MAPREDUCE-6752
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6752
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 2.7.2
>            Reporter: Nemo Chen
>              Labels: easyfix, easytest, newbie
>
> Similar to previous issue HADOOP-3029, in the file:
> hadoop-rel-release-2.7.2/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/speculate/DefaultSpeculator.java
> line 253, the whole method is for debugging purpose, therefore the log:
> {code:borderStyle=solid}
> LOG.info("We got asked to run a debug speculation scan.");
> {code}
> should be set to debug level instead of info level to avoid redundant 
> information.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to