Author: jmaron
Date: Thu Nov 6 16:42:00 2014
New Revision: 1637155
URL: http://svn.apache.org/r1637155
Log:
added configuration info for new properites
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=1637155&r1=1637154&r2=1637155&view=diff
==============================================================================
--- incubator/slider/site/trunk/content/docs/configuration/core.md (original)
+++ incubator/slider/site/trunk/content/docs/configuration/core.md Thu Nov 6
16:42:00 2014
@@ -405,3 +405,24 @@ does not prevent any component from over
to create local configurations incompatible with the global state. (i.e.,
there is no way to declare an attribute as final). It is the responsibility
of the author of the configuration file (and their tools) to detect such
issues.
+
+### Key Application Configuration Items
+The following sections provides details about certain application
configuration properties that can be utilized to tailor the deployment of a
given application:
+
+#### Controlling assigned port ranges
+For certain deployments, the ports available for communication with clients
(Web UI ports, RPC ports, etc) are restricted to a specific set (e.g when
leveraging a firewall). In those situations you can designate the set of
allowed ports with the "site.global.slider.allowed.ports" setting. This
settings takes a comma-delimited set of port numbers and ranges, e.g.:
+
+ "site.global.slider.allowed.ports": "48000, 49000, 50001-50010"
+
+The AM exposed ports (Web UI, RPC), as well as the ports allocated to launched
application containers, will be limited to the ranges specified by the property
value.
+
+#### Delaying container launch
+In situations where container restarts may need to be delayed to allow for
platform resources to be released (e.g. a port assigned to a container that is
stopped may be slow to release), a delay can be designated by setting the
"container.launch.delay.sec" property in the component's configuration section:
+
+ "worker": {
+ "jvm.heapsite": "512M",
+ "container.launch.delay.sec": "30"
+ }
+
+
+