hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brahma Reddy Battula (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3191) Log object should be initialized with its own class
Date Thu, 12 Feb 2015 18:45:12 GMT

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

Brahma Reddy Battula commented on YARN-3191:
--------------------------------------------

Patch LGTM,+1..Thanks for reporting and giving patch..

> Log object should be initialized with its own class
> ---------------------------------------------------
>
>                 Key: YARN-3191
>                 URL: https://issues.apache.org/jira/browse/YARN-3191
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 2.6.0
>            Reporter: Rohith
>            Assignee: Rohith
>            Priority: Trivial
>         Attachments: 0001-YARN-3191.patch
>
>
> In ContainerImpl and ApplicationImpl class, Log object is initialized with interface
name. This causes in logging happen with interface class.
> {{private static final Log LOG = LogFactory.getLog(Container.class);}} 
> {{private static final Log LOG = LogFactory.getLog(Application.class);}}
> it should be 
> {{private static final Log LOG = LogFactory.getLog(ContainerImpl.class);}} 
> {{private static final Log LOG = LogFactory.getLog(ApplicationImpl.class);}}



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

Mime
View raw message