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

ASF subversion and git services commented on SLIDER-163:
--------------------------------------------------------

Commit 83e4e47385d41f4c2258d4c510bd7c1a0ebf2354 in incubator-slider's branch 
refs/heads/develop from [~tedyu]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-slider.git;h=83e4e47 ]

SLIDER-163 Change recommended app_log_dir value


> Change recommended app_log_dir value
> ------------------------------------
>
>                 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)

Reply via email to