You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by bi...@apache.org on 2015/05/29 22:34:25 UTC

svn commit: r1682547 - /incubator/slider/site/trunk/content/docs/configuration/resources.md

Author: billie
Date: Fri May 29 20:34:24 2015
New Revision: 1682547

URL: http://svn.apache.org/r1682547
Log:
update yarn log patterns to be java regex

Modified:
    incubator/slider/site/trunk/content/docs/configuration/resources.md

Modified: incubator/slider/site/trunk/content/docs/configuration/resources.md
URL: http://svn.apache.org/viewvc/incubator/slider/site/trunk/content/docs/configuration/resources.md?rev=1682547&r1=1682546&r2=1682547&view=diff
==============================================================================
--- incubator/slider/site/trunk/content/docs/configuration/resources.md (original)
+++ incubator/slider/site/trunk/content/docs/configuration/resources.md Fri May 29 20:34:24 2015
@@ -596,17 +596,17 @@ to -1 (default value).
       </property>
 
 Subsequently every application owner has the flexibility to set the include and exclude patterns of file names that
-they intent to aggregate. In Slider the resources.json file can be used to specify the include and exclude patterns
-of files that need to be backed up under the default log directory of the application. These properties needs to be
-set at the global level as shown below -
+they intend to aggregate. In Slider the resources.json file can be used to specify the include and exclude patterns
+of files that need to be backed up under the default log directory of the application. The patterns are Java regular
+expressions. These properties need to be set at the global level as shown below -
 
     {
       "schema": "http://example.org/specification/v2.0.0",
       "metadata": {
       },
       "global": {
-        "yarn.log.include.patterns": "hbase*.*",
-        "yarn.log.exclude.patterns": "hbase*.out" 
+        "yarn.log.include.patterns": "hbase.*",
+        "yarn.log.exclude.patterns": "hbase.*out" 
       },
       "components": {
         "HBASE_MASTER": {
@@ -637,8 +637,8 @@ Here is an example of a definition of an
       "metadata": {
       },
       "global": {
-        "yarn.log.include.patterns": "hbase*.*",
-        "yarn.log.exclude.patterns": "hbase*.out",
+        "yarn.log.include.patterns": "hbase.*",
+        "yarn.log.exclude.patterns": "hbase.*out",
         "yarn.container.failure.window.hours": "0",
         "yarn.container.failure.window.minutes": "30",
         "yarn.label.expression":"development"