You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Karthik Kambatla (JIRA)" <ji...@apache.org> on 2014/12/08 07:29:12 UTC

[jira] [Updated] (YARN-2927) InMemorySCMStore properties are inconsistent

     [ https://issues.apache.org/jira/browse/YARN-2927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karthik Kambatla updated YARN-2927:
-----------------------------------
    Summary: InMemorySCMStore properties are inconsistent  (was: YARN InMemorySCMStore properties need fixing)

> InMemorySCMStore properties are inconsistent
> --------------------------------------------
>
>                 Key: YARN-2927
>                 URL: https://issues.apache.org/jira/browse/YARN-2927
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>    Affects Versions: 2.6.0
>            Reporter: Ray Chiang
>            Assignee: Ray Chiang
>              Labels: newbie, supportability
>         Attachments: YARN-2927.001.patch, YARN-2927.002.patch
>
>
> I see these properties in the yarn-default.xml file:
>   yarn.sharedcache.store.in-memory.check-period-mins
>   yarn.sharedcache.store.in-memory.initial-delay-mins
>   yarn.sharedcache.store.in-memory.staleness-period-mins
> YarnConfiguration looks like it's missing some properties:
>   public static final String SHARED_CACHE_PREFIX = "yarn.sharedcache.";
>   public static final String SCM_STORE_PREFIX = SHARED_CACHE_PREFIX + "store.";
>   public static final String IN_MEMORY_STORE_PREFIX = SHARED_CACHE_PREFIX + "in-memory.";
>   public static final String IN_MEMORY_STALENESS_PERIOD_MINS = IN_MEMORY_STORE_PREFIX + "staleness-period-mins";
> It looks like the definition for IN_MEMORY_STORE_PREFIX should be:
>   public static final String IN_MEMORY_STORE_PREFIX = SCM_STORE_PREFIX + "in-memory.";
> Just to be clear, there are properties that exist in yarn-default.xml that are effectively misspelled in the *Java* file, not the .xml file.  This is similar to YARN-2461 and MAPREDUCE-6087.



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