Author: tucu
Date: Thu Oct 11 23:38:52 2012
New Revision: 1397374
URL: http://svn.apache.org/viewvc?rev=1397374&view=rev
Log:
OOZIE-1018 Display coord job start time, end time, pause time, concurrency in
job -info (mona via tucu)
Modified:
oozie/trunk/client/src/main/java/org/apache/oozie/cli/OozieCLI.java
oozie/trunk/release-log.txt
oozie/trunk/webapp/src/main/webapp/oozie-console.js
Modified: oozie/trunk/client/src/main/java/org/apache/oozie/cli/OozieCLI.java
URL:
http://svn.apache.org/viewvc/oozie/trunk/client/src/main/java/org/apache/oozie/cli/OozieCLI.java?rev=1397374&r1=1397373&r2=1397374&view=diff
==============================================================================
--- oozie/trunk/client/src/main/java/org/apache/oozie/cli/OozieCLI.java
(original)
+++ oozie/trunk/client/src/main/java/org/apache/oozie/cli/OozieCLI.java Thu Oct
11 23:38:52 2012
@@ -954,9 +954,13 @@ public class OozieCLI {
System.out.println(RULER);
List<CoordinatorAction> actions = coordJob.getActions();
- System.out.println("Job Name : " + maskIfNull(coordJob.getAppName()));
- System.out.println("App Path : " + maskIfNull(coordJob.getAppPath()));
- System.out.println("Status : " + coordJob.getStatus());
+ System.out.println("Job Name : " +
maskIfNull(coordJob.getAppName()));
+ System.out.println("App Path : " +
maskIfNull(coordJob.getAppPath()));
+ System.out.println("Status : " + coordJob.getStatus());
+ System.out.println("Start Time : " +
maskDate(coordJob.getStartTime(), timeZoneId, false));
+ System.out.println("End Time : " + maskDate(coordJob.getEndTime(),
timeZoneId, false));
+ System.out.println("Pause Time : " +
maskDate(coordJob.getPauseTime(), timeZoneId, false));
+ System.out.println("Concurrency : " + coordJob.getConcurrency());
System.out.println(RULER);
if (verbose) {
Modified: oozie/trunk/release-log.txt
URL:
http://svn.apache.org/viewvc/oozie/trunk/release-log.txt?rev=1397374&r1=1397373&r2=1397374&view=diff
==============================================================================
--- oozie/trunk/release-log.txt (original)
+++ oozie/trunk/release-log.txt Thu Oct 11 23:38:52 2012
@@ -1,5 +1,6 @@
-- Oozie 3.4.0 release (trunk - unreleased)
+OOZIE-1018 Display coord job start time, end time, pause time, concurrency in
job -info (mona via tucu)
OOZIE-1016 Tests that use junit assert or fail in a new thread report success
when they are actually failing (rkanter via tucu)
OOZIE-1017 Add test to make sure old version of Xerces isn't being used
(rkanter via tucu)
OOZIE-949 Allow the user to set 'mapred.job.name' (jrkinley via tucu)
Modified: oozie/trunk/webapp/src/main/webapp/oozie-console.js
URL:
http://svn.apache.org/viewvc/oozie/trunk/webapp/src/main/webapp/oozie-console.js?rev=1397374&r1=1397373&r2=1397374&view=diff
==============================================================================
--- oozie/trunk/webapp/src/main/webapp/oozie-console.js (original)
+++ oozie/trunk/webapp/src/main/webapp/oozie-console.js Thu Oct 11 23:38:52 2012
@@ -674,13 +674,13 @@ function coordJobDetailsPopup(response,
name: 'user',
width: 200,
value: jobDetails["user"]
- }, {
+ }, {
fieldLabel: 'Group',
editable: false,
name: 'group',
width: 200,
value: jobDetails["group"]
- }, {
+ }, {
fieldLabel: 'Frequency',
editable: false,
name: 'frequency',
@@ -696,14 +696,32 @@ function coordJobDetailsPopup(response,
fieldLabel: 'Start Time',
editable: false,
name: 'startTime',
- width: 170,
+ width: 200,
value: jobDetails["startTime"]
}, {
fieldLabel: 'Next Matd',
editable: false,
name: 'nextMaterializedTime',
- width: 170,
+ width: 200,
value: jobDetails["nextMaterializedTime"]
+ }, {
+ fieldLabel: 'End Time',
+ editable: false,
+ name: 'endTime',
+ width: 200,
+ value: jobDetails["endTime"]
+ }, {
+ fieldLabel: 'Pause Time',
+ editable: false,
+ name: 'pauseTime',
+ width: 200,
+ value: jobDetails["pauseTime"]
+ }, {
+ fieldLabel: 'Concurrency',
+ editable: false,
+ name: 'concurrency',
+ width: 200,
+ value: jobDetails["concurrency"]
}, ]
});
var fs = new Ext.FormPanel({