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

Billie Rinaldi commented on SLIDER-596:
---------------------------------------

Using this handy command I can see that $USER appears in several hbase-env.xml, 
hadoop-env.sh, and mapred-env.sh files.  These are not slider or accumulo 
configs, so I don't know anything about these usages.  The only other usages 
are where the substitution takes place, and in accumulo, hbase, and storm 
appConfig files.  hbase and storm appConfigs are both using USER_NAME.  
Accumulo's default appConfig uses USER, and its secure appConfig was forced to 
use both USER and USER_NAME, to match the secure appConfigs of the other apps.
{noformat}
find . -type f -exec egrep -HE "[$][{]?USER" {} \;
{noformat}
I don't care which we choose, and it shouldn't be difficult to switch entirely 
to either one (although presumably the env files should remain $USER 
regardless).  I'm just glad we'll be settling on one of them, instead of 
continuing to use both.

> Auto replace ${USER_NAME} token with the user that is running the AppMaster 
> process
> -----------------------------------------------------------------------------------
>
>                 Key: SLIDER-596
>                 URL: https://issues.apache.org/jira/browse/SLIDER-596
>             Project: Slider
>          Issue Type: Bug
>          Components: appmaster
>    Affects Versions: Slider 0.50
>            Reporter: Sumit Mohanty
>            Assignee: Jonathan Maron
>             Fix For: Slider 0.60
>
>
> The application packages are using "${USER_NAME}" as the token for user name. 
> AppMaster should query the running user and replace this token.



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

Reply via email to