[ https://issues.apache.org/jira/browse/SLIDER-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14564305#comment-14564305 ]
ASF subversion and git services commented on SLIDER-891: -------------------------------------------------------- Commit ed7b52eab76ba74ab8a7ab274aab1d83d5eea5ef in incubator-slider's branch refs/heads/develop from [~gsaha] [ https://git-wip-us.apache.org/repos/asf?p=incubator-slider.git;h=ed7b52e ] SLIDER-891 Add ability to set Slider AM launch environment during cluster create/start > Add ability to set Slider AM launch environment during cluster create/start > --------------------------------------------------------------------------- > > Key: SLIDER-891 > URL: https://issues.apache.org/jira/browse/SLIDER-891 > Project: Slider > Issue Type: Bug > Components: appmaster, client > Affects Versions: Slider 0.80 > Reporter: Gour Saha > Assignee: Gour Saha > Fix For: Slider 0.81 > > > It might be necessary to set env variables like *LD_LIBRARY_PATH* after YARN > creates the AM container and before the Slider AM process is started. It > should be possible to append to such variables from the client side, when the > application instance is created or started from a stopped state. > This is beneficial in a cluster which undergoes upgrade and most likely has > newer versions of native libraries. > All applications which were started prior to the upgrade, should be able to > continue to use the same versions of native libraries it was started with, if > Slider AM failover occurs after the upgrade. The failover AM should not get > the newer versions of the native libraries just because the cluster underwent > an upgrade. > The variable {{slider.am.launch.env}} will be created which can be set in > slider-client.xml with a format as below - > {noformat} > <property> > <name>slider.am.launch.env</name> > > <value>LD_LIBRARY_PATH=/usr/hadoop/lib/native:/usr/hadoop/lib/native/Linux-amd64-64,PATH=/usr/hadoop/bin</value> > </property> > {noformat} > Multiple variables should be comma {{,}} separated. Each variable's name and > value should be separated by {{=}} character. -- This message was sent by Atlassian JIRA (v6.3.4#6332)