sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jar...@apache.org
Subject git commit: SQOOP-905: Sqoop 2: Job submission shows wrong date format in client console
Date Fri, 22 Feb 2013 15:37:27 GMT
Updated Branches:
  refs/heads/sqoop2 641a9c856 -> 07d5a4f00


SQOOP-905: Sqoop 2: Job submission shows wrong date format in client console

(Vasanth kumar RJ via Jarek Jarcec Cecho)


Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/07d5a4f0
Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/07d5a4f0
Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/07d5a4f0

Branch: refs/heads/sqoop2
Commit: 07d5a4f00d77607178836b5eb5f4b58d938a5e52
Parents: 641a9c8
Author: Jarek Jarcec Cecho <jarcec@cloudera.com>
Authored: Fri Feb 22 07:36:53 2013 -0800
Committer: Jarek Jarcec Cecho <jarcec@cloudera.com>
Committed: Fri Feb 22 07:36:53 2013 -0800

----------------------------------------------------------------------
 .../sqoop/client/utils/SubmissionDisplayer.java    |    2 +-
 docs/src/site/sphinx/Sqoop5MinutesDemo.rst         |   12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/07d5a4f0/client/src/main/java/org/apache/sqoop/client/utils/SubmissionDisplayer.java
----------------------------------------------------------------------
diff --git a/client/src/main/java/org/apache/sqoop/client/utils/SubmissionDisplayer.java b/client/src/main/java/org/apache/sqoop/client/utils/SubmissionDisplayer.java
index e10073b..dd94f2e 100644
--- a/client/src/main/java/org/apache/sqoop/client/utils/SubmissionDisplayer.java
+++ b/client/src/main/java/org/apache/sqoop/client/utils/SubmissionDisplayer.java
@@ -34,7 +34,7 @@ public final class SubmissionDisplayer {
 
   public static void display(IO io, MSubmission submission) {
 
-    SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-mm-dd HH:mm:ss z");
+    SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss z");
     io.out.println("@|bold Submission details|@");
 
     io.out.print("Job id: ");

http://git-wip-us.apache.org/repos/asf/sqoop/blob/07d5a4f0/docs/src/site/sphinx/Sqoop5MinutesDemo.rst
----------------------------------------------------------------------
diff --git a/docs/src/site/sphinx/Sqoop5MinutesDemo.rst b/docs/src/site/sphinx/Sqoop5MinutesDemo.rst
index 67a932a..49e554b 100644
--- a/docs/src/site/sphinx/Sqoop5MinutesDemo.rst
+++ b/docs/src/site/sphinx/Sqoop5MinutesDemo.rst
@@ -128,8 +128,8 @@ When all meta data objects are in place we can start moving data around.
You can
   Submission details
   Job id: 1
   Status: BOOTING
-  Creation date: 2012-20-23 13:20:34 PST
-  Last update date: 2012-20-23 13:20:34 PST
+  Creation date: 2012-12-23 13:20:34 PST
+  Last update date: 2012-12-23 13:20:34 PST
   External Id: job_1353136146286_0004
           http://hadoop.cluster.com:8088/proxy/application_1353136146286_0004/
   Progress: Progress is not available
@@ -140,8 +140,8 @@ You can iteratively check your running job status with ``submission status``
com
   Submission details
   Job id: 1
   Status: RUNNING
-  Creation date: 2012-21-23 13:21:45 PST
-  Last update date: 2012-21-23 13:21:56 PST
+  Creation date: 2012-12-23 13:21:45 PST
+  Last update date: 2012-12-23 13:21:56 PST
   External Id: job_1353136146286_0005
           http://hadoop.cluster.com:8088/proxy/application_1353136146286_0004/
   Progress: 0.00 %
@@ -152,8 +152,8 @@ And finally you can stop running job at any time using ``submission stop``
comma
   Submission details
   Job id: 1
   Status: FAILED
-  Creation date: 2012-22-23 13:22:39 PST
-  Last update date: 2012-22-23 13:22:42 PST
+  Creation date: 2012-12-23 13:22:39 PST
+  Last update date: 2012-12-23 13:22:42 PST
   External Id: job_1353136146286_0006
           http://hadoop.cluster.com:8088/proxy/application_1353136146286_0004/
 


Mime
View raw message