[
https://issues.apache.org/jira/browse/YARN-1701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13897146#comment-13897146
]
Zhijie Shen commented on YARN-1701:
-----------------------------------
It seems there's some misunderstanding here that I need to clarify.
bq. HADOOP_LOG_DIR is customarily used across all the hadoop daemons. Are you
suggesting to users to change it just because of AHS?
I was not saying to change HADOOP_LOG_DIR environment var. I was saying it is
free for you to change yarn-site.xml to configure FS path to some one else, if
the default path doesn't make sense to you in your scenario because the path on
local file system and it on HDFS looks same.
bq. I would be more comfortable with a default location that makes sense for
default DFS case and does not include any fs scheme.
I'm not saying the default path should be pointing to a path on local file
system. In fact, the default configuration *is pointing* to the path on default
DFS now, and *is not pointing* to the path on local file system. And by
default, the path on DFS starts with $\{hadoop.log.dir\}. If you think the
default path on DFS shouldn't have the $\{hadoop.log.dir\} as that on local
file system, it's another story. AFAIK, we have the similar default
configuration before. See "yarn.resourcemanager.fs.state-store.uri" and
"yarn.nodemanager.local-dirs". They both use $\{hadoop.tmp.dir\} as path
prefix, while one on DFS and one on local file system.
Hopefully it helps to clarify the issue.
> More intuitive defaults for AHS
> -------------------------------
>
> Key: YARN-1701
> URL: https://issues.apache.org/jira/browse/YARN-1701
> Project: Hadoop YARN
> Issue Type: Sub-task
> Affects Versions: 2.4.0
> Reporter: Gera Shegalov
> Assignee: Gera Shegalov
> Attachments: YARN-1701.v01.patch
>
>
> When I enable AHS via yarn.ahs.enabled, the app history is still not visible
> in AHS webUI. This is due to NullApplicationHistoryStore as
> yarn.resourcemanager.history-writer.class. It would be good to have just one
> key to enable basic functionality.
> yarn.ahs.fs-history-store.uri uses {code}${hadoop.log.dir}{code}, which is
> local file system location. However, FileSystemApplicationHistoryStore uses
> DFS by default.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)