Author: jmaron
Date: Tue Nov 11 20:31:06 2014
New Revision: 1638368
URL: http://svn.apache.org/r1638368
Log:
added configuration info for python exec path property
Modified:
incubator/slider/site/trunk/content/docs/configuration/core.md
Modified: incubator/slider/site/trunk/content/docs/configuration/core.md
URL:
http://svn.apache.org/viewvc/incubator/slider/site/trunk/content/docs/configuration/core.md?rev=1638368&r1=1638367&r2=1638368&view=diff
==============================================================================
--- incubator/slider/site/trunk/content/docs/configuration/core.md (original)
+++ incubator/slider/site/trunk/content/docs/configuration/core.md Tue Nov 11
20:31:06 2014
@@ -423,6 +423,19 @@ In situations where container restarts m
"jvm.heapsite": "512M",
"container.launch.delay.sec": "30"
}
-
+#### Specifying the Python Executable Path
+Currently the Slider containers leverage python for component scripts (the
scripts responsible for component lifecycle operations). When deploying
applications on certain variations of linux or other operating systems (e.g.
Centos 5) , the version of python on the system path may be incompatible with
the component script (e.g. methods or imports utilized are not available). In
those circumstances the path to the python executable for container script
execution can be specified by the "agent.python.exec.path" property:
+
+ "global": {
+ "agent.python.exec.path": "/usr/bin/python",
+ . . .
+ }
+
+This property may also be specified in the slider-client.xml file (typically
in the "conf" directory of the slider installation) if the python version
specified is to be utilized across multiple deployments:
+
+ <property>
+ <name>agent.python.exec.path</name>
+ <value>/usr/bin/python</value>
+ </property>