hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi OZAWA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1326) RM should log using RMStore at startup time
Date Tue, 07 Jan 2014 18:09:51 GMT

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

Tsuyoshi OZAWA commented on YARN-1326:
--------------------------------------

I assume that a user can forget to configure RMStateStore and use unexpected RMStateStore,
because MemoryRMStateStore is the default value of RMStateStoreFactory#getStore(). 

{code}
public class RMStateStoreFactory {
  
  public static RMStateStore getStore(Configuration conf) {
    RMStateStore store = ReflectionUtils.newInstance(
        conf.getClass(YarnConfiguration.RM_STORE, 
            MemoryRMStateStore.class, RMStateStore.class), 
            conf);
    return store;
  }
}
{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)

Mime
View raw message