[
https://issues.apache.org/jira/browse/YARN-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13867985#comment-13867985
]
Karthik Kambatla commented on YARN-1326:
----------------------------------------
Also, if we choose to go with logging, how about just log something in getStore
itself? May be, something along the lines of -
{code}
public static RMStateStore getStore(Configuration conf) {
Class<? extends RMStateStore> storeClass =
conf.getClass(YarnConfiguration.RM_STORE,
MemoryRMStateStore.class, RMStateStore.class), conf);
LOG.info("Using RMStateStore implementation - " + storeClass);
return ReflectionUtils.newInstance(storeClass);
}
{code}
> RM should log using RMStore at startup time
> -------------------------------------------
>
> Key: YARN-1326
> URL: https://issues.apache.org/jira/browse/YARN-1326
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Tsuyoshi OZAWA
> Assignee: Tsuyoshi OZAWA
> Attachments: YARN-1326.1.patch
>
> Original Estimate: 3h
> Remaining Estimate: 3h
>
> Currently there are no way to know which RMStore RM uses. It's useful to log
> the information at RM's startup time.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)