[
https://issues.apache.org/jira/browse/YARN-7407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16222182#comment-16222182
]
Yeliang Cang edited comment on YARN-7407 at 10/27/17 11:13 AM:
---------------------------------------------------------------
{code} catch (Throwable t) {
LOG.error("Error running ApplicationMaster", t);
LogManager.shutdown();
ExitUtil.terminate(1, t);
} {code}
in ApplicationMaster.java
and
{code}
LogManager.resetConfiguration();
PropertyConfigurator.configure(originalProperties);
}finally {
IOUtils.closeQuietly(is);
IOUtils.closeQuietly(fs);
} {code}
in Log4jPropertyHelper.java are kept unchanged!
was (Author: cyl):
{code} catch (Throwable t) {
LOG.error("Error running ApplicationMaster", t);
LogManager.shutdown();
ExitUtil.terminate(1, t);
} {code}
in ApplicationMaster.java
and
{code}
LogManager.resetConfiguration();
PropertyConfigurator.configure(originalProperties);
}finally {
IOUtils.closeQuietly(is);
IOUtils.closeQuietly(fs);
} {code}
are kept unchanged!
> Moving logging APIs over to slf4j in hadoop-yarn-applications
> -------------------------------------------------------------
>
> Key: YARN-7407
> URL: https://issues.apache.org/jira/browse/YARN-7407
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Yeliang Cang
> Assignee: Yeliang Cang
> Attachments: YARN-7407.001.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]