You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/06/24 22:06:24 UTC

[jira] [Updated] (SLIDER-163) Change recommended app_log_dir value for HBase

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

Ted Yu updated SLIDER-163:
--------------------------

    Summary: Change recommended app_log_dir value for HBase  (was: Change recommended app_log_dir value)

> Change recommended app_log_dir value for HBase
> ----------------------------------------------
>
>                 Key: SLIDER-163
>                 URL: https://issues.apache.org/jira/browse/SLIDER-163
>             Project: Slider
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>
> With the following value:
> {code}
>     "site.global.app_log_dir": "${AGENT_LOG_ROOT}/app/log",
> {code}
> I observed the actual log directory having deeply nested structure:
> {code}
> -Dhbase.log.dir=/grid/0/hdp/yarn/log/application_1403300788015_0005/container_1403300788015_0005_01_000003,/grid/1/hdp/yarn/log/application_1403300788015_0005/container_1403300788015_0005_01_000003,/grid/2/hdp/yarn/log/application_1403300788015_0005/container_1403300788015_0005_01_000003,/grid/3/hdp/yarn/log/application_1403300788015_0005/container_1403300788015_0005_01_000003,/grid/4/hdp/yarn/log/application_1403300788015_0005/container_1403300788015_0005_01_000003,/grid/5/hdp/yarn/log/application_1403300788015_0005/container_1403300788015_0005_01_000003/app/log
> {code}
> This was due to ApplicationConstants.Environment.LOG_DIRS containing all possible locations for app logs.
> I tried a few other options and found that the following achieves what is desired:
> {code}
>     "site.global.app_log_dir": "app/log",
> {code}
> Under /grid/4/hdp/yarn/local/usercache/yarn/appcache/application_1403300788015_0007/container_1403300788015_0007_01_000003/app/log/, I saw:
> {code}
> gc.log-201406241714                               hbase-yarn-master-hor12n11.gq1.ygridcore.net.out
> hbase-yarn-master-hor12n11.gq1.ygridcore.net.log  SecurityAuth.audit
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)