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

Swapan Shridhar edited comment on AMBARI-21011 at 5/12/17 8:27 PM:
-------------------------------------------------------------------

Fix for Fresh install:


Current: 
{{yarn.nodemanager.admin-env}} -> {{"MALLOC_ARENA_MAX=$MALLOC_ARENA_MAX"}}

Changed to: 
{{yarn.nodemanager.admin-env}} -> 
{{"MALLOC_ARENA_MAX=$MALLOC_ARENA_MAX,PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"}}


[~sumitmohanty] | [~afernandez] Review for [^AMBARI-21011.patch]



was (Author: swapanshridhar):
Fix for Fresh install:


Current: 
{{yarn.nodemanager.admin-env}} -> {{"MALLOC_ARENA_MAX=$MALLOC_ARENA_MAX"}}

Changed to: 
{{yarn.nodemanager.admin-env}} -> 
{{"MALLOC_ARENA_MAX=$MALLOC_ARENA_MAX,PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"}}


> Append PATH to YARN config 'yarn.nodemanager.admin-env' for HDP 2.6
> -------------------------------------------------------------------
>
>                 Key: AMBARI-21011
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21011
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: trunk, 2.5.0
>            Reporter: Swapan Shridhar
>            Assignee: Swapan Shridhar
>            Priority: Blocker
>             Fix For: trunk, 2.5.1
>
>         Attachments: AMBARI-21011.patch
>
>
> Need to append the PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin to 
> {{yarn.nodemanager.admin-env}}, as the PATH now is not passed into YARN 
> containers by default, as part of security fix in YARN.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to