You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Greg Hill (JIRA)" <ji...@apache.org> on 2015/05/15 17:17:00 UTC

[jira] [Updated] (AMBARI-11131) Ambari does not create my rmstore hdfs path

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

Greg Hill updated AMBARI-11131:
-------------------------------
    Description: 
If you pass an hdfs path into Ambari for the YARN rmstore, Ambari does not create that folder for you with the right permissions, and the ResourceManager process crashes.  These are the configurations I'm passing in:

"yarn.resourcemanager.store.class": "org.apache.hadoop.yarn.server.resourcemanager.recovery.FileSystemRMStateStore",
"yarn.resourcemanager.fs.state-store.uri": 'hdfs:///apps/yarn/rmstore',

Even if you use a local filesystem path, if the path didn't already exist and have the right permissions on the server running the resource manager, the resource manager crashes:

"yarn.resourcemanager.fs.state-store.uri": 'file:///apps/yarn/rmstore',

If you do something similar for the timeline server, Ambari does attempt to create it for you, so the store should just follow that same logic.

"yarn.timeline-service.leveldb-timeline-store.path": 'hdfs:///apps/yarn/timeline'

  was:
If you pass an hdfs path into Ambari for the YARN rmstore, Ambari does not create that folder for you with the right permissions, and the ResourceManager process crashes.  These are the configurations I'm passing in:

"yarn.resourcemanager.store.class": "org.apache.hadoop.yarn.server.resourcemanager.recovery.FileSystemRMStateStore",
"yarn.resourcemanager.fs.state-store.uri": 'hdfs:///apps/yarn/rmstore',

If you do something similar for the timeline server, Ambari does create it for you, so it should just follow that same logic.

"yarn.timeline-service.leveldb-timeline-store.path": 'hdfs:///apps/yarn/timeline'


> Ambari does not create my rmstore hdfs path
> -------------------------------------------
>
>                 Key: AMBARI-11131
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11131
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Greg Hill
>
> If you pass an hdfs path into Ambari for the YARN rmstore, Ambari does not create that folder for you with the right permissions, and the ResourceManager process crashes.  These are the configurations I'm passing in:
> "yarn.resourcemanager.store.class": "org.apache.hadoop.yarn.server.resourcemanager.recovery.FileSystemRMStateStore",
> "yarn.resourcemanager.fs.state-store.uri": 'hdfs:///apps/yarn/rmstore',
> Even if you use a local filesystem path, if the path didn't already exist and have the right permissions on the server running the resource manager, the resource manager crashes:
> "yarn.resourcemanager.fs.state-store.uri": 'file:///apps/yarn/rmstore',
> If you do something similar for the timeline server, Ambari does attempt to create it for you, so the store should just follow that same logic.
> "yarn.timeline-service.leveldb-timeline-store.path": 'hdfs:///apps/yarn/timeline'



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