You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by sa...@apache.org on 2018/01/07 20:53:59 UTC

[6/8] oozie git commit: OOZIE-3077 SLA documentation fixes (satishsaley)

OOZIE-3077 SLA documentation fixes (satishsaley)

(cherry picked from commit 430e51070fe3b0fd2ed919318eff7783684fbe35)


Project: http://git-wip-us.apache.org/repos/asf/oozie/repo
Commit: http://git-wip-us.apache.org/repos/asf/oozie/commit/78e26192
Tree: http://git-wip-us.apache.org/repos/asf/oozie/tree/78e26192
Diff: http://git-wip-us.apache.org/repos/asf/oozie/diff/78e26192

Branch: refs/heads/branch-4.3
Commit: 78e261926154a698557917e8dbc0769105f684c0
Parents: 2b9e132
Author: satishsaley <sa...@apache.org>
Authored: Tue Oct 10 09:32:59 2017 -0700
Committer: satishsaley <sa...@apache.org>
Committed: Sat Jan 6 12:26:47 2018 -0800

----------------------------------------------------------------------
 docs/src/site/twiki/DG_SLAMonitoring.twiki | 23 +++++++++++++++--------
 release-log.txt                            |  1 +
 2 files changed, 16 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/oozie/blob/78e26192/docs/src/site/twiki/DG_SLAMonitoring.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/DG_SLAMonitoring.twiki b/docs/src/site/twiki/DG_SLAMonitoring.twiki
index 11a06af..23f3a89 100644
--- a/docs/src/site/twiki/DG_SLAMonitoring.twiki
+++ b/docs/src/site/twiki/DG_SLAMonitoring.twiki
@@ -354,9 +354,13 @@ SLA Details:
 </verbatim>
 
 ---+++ Changing job SLA definition and alerting
-Following properties can be specified in job.xml to enable/disable SLA alerts.
+Following are ways to enable/disable SLA alerts for coordinator actions.
 
-=oozie.sla.disable.alerts.older.than= this property can be specified in hours, the SLA notification for coord actions will be disabled whose nominal is time older then this value. Default is 24 hours.
+---++++ 1. Specify in Bundle XML during submission.
+Following properties can be specified in bundle xml as properties for coordinator.
+
+=oozie.sla.disable.alerts.older.than= this property can be specified in hours, the SLA notification for
+coord actions will be disabled whose nominal is time older then this value. Default is 48 hours.
 <verbatim>
 <property>
     <name>oozie.sla.disable.alerts.older.than</name>
@@ -373,10 +377,10 @@ Following properties can be specified in job.xml to enable/disable SLA alerts.
 </verbatim>
 Will disable alert for coord actions 1,3,5,7,8,9,10
 
-=oozie.sla.enable.alerts= List of coord actions to be disabled. Value can be specified as list of coord actions or date range.
+=oozie.sla.enable.alerts= List of coord actions to be enabled. Value can be specified as list of coord actions or date range.
 <verbatim>
 <property>
-    <name>oozie.sla.disable.alerts</name>
+    <name>oozie.sla.enable.alerts</name>
     <value>2009-01-01T01:00Z::2009-05-31T23:59Z</value>
 </property>
 </verbatim>
@@ -390,13 +394,16 @@ ALL keyword can be specified to specify all actions. Below property will disable
 </property>
 </verbatim>
 
-SLA alert enabling or disabling can also be modified through commandline or REST API after submission for running jobs.
+---++++ 2. Specify during Coordinator job submission or update
+Above properties can be specified in job.properties in
+[[DG_CommandLineTool#Updating_coordinator_definition_and_properties][Coord job update command]],
+in [[DG_CommandLineTool#Submitting_a_Workflow_Coordinator_or_Bundle_Job][Coord job submit command]]
+or in [[DG_CommandLineTool#Running_a_Workflow_Coordinator_or_Bundle_Job][Coord job run command]]
 
+---++++ 3. Change using command line
 Refer [[DG_CommandLineTool#Changing_job_SLA_definition_and_alerting][Changing job SLA definition and alerting]] for commandline usage.
-Refer the REST API [[WebServicesAPI#Changing_job_SLA_definition_and_alerting][Changing job SLA definition and alerting]].
 
-SLA definition of should-start, should-end, nominal-time and max-duration can be changed for running jobs through commandline or REST API.
-Refer [[DG_CommandLineTool#Changing_job_SLA_definition_and_alerting][Changing job SLA definition and alerting]] for commandline usage.
+---++++ 4. Change using REST API
 Refer the REST API [[WebServicesAPI#Changing_job_SLA_definition_and_alerting][Changing job SLA definition and alerting]].
 
 ---++ Known issues

http://git-wip-us.apache.org/repos/asf/oozie/blob/78e26192/release-log.txt
----------------------------------------------------------------------
diff --git a/release-log.txt b/release-log.txt
index 416bed4..ad83061 100644
--- a/release-log.txt
+++ b/release-log.txt
@@ -1,5 +1,6 @@
 -- Oozie 4.3.1 release
 
+OOZIE-3077 SLA documentation fixes (satishsaley)
 OOZIE-3031 Coord job with only unresolved dependencies doesn't timeout (puru via satishsaley)
 OOZIE-3079 Filtering coordinators returns bundle id as null (satishsaley)
 OOZIE-3078 PasswordMasker throws NPE with null arguments (asasvari)