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

Sumit Mohanty commented on AMBARI-11131:
----------------------------------------

Ambari service definitions, that include the scripts to create paths, have 
explicit logic to create individual paths. So in this case, YARN service 
definition needs to add the logic to create the HDFS path if this variable is 
specified. As this may not be the last variable specifying a required path, we 
should think about a general purpose way of declaring paths to be created for 
services so the each new variable does not need script change.

> 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',
> 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'



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

Reply via email to