sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cheol...@apache.org
Subject git commit: SQOOP-893: Fix job submission progress percentage
Date Sat, 02 Mar 2013 00:18:03 GMT
Updated Branches:
  refs/heads/sqoop2 f64dba2e0 -> 273b5bc56


SQOOP-893: Fix job submission progress percentage

(Jarcec Cecho via Cheolsoo Park)


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

Branch: refs/heads/sqoop2
Commit: 273b5bc562d8aab993b0c244138f0e99f011289a
Parents: f64dba2
Author: Cheolsoo Park <cheolsoo@apache.org>
Authored: Fri Mar 1 16:11:36 2013 -0800
Committer: Cheolsoo Park <cheolsoo@apache.org>
Committed: Fri Mar 1 16:11:36 2013 -0800

----------------------------------------------------------------------
 .../sqoop/client/utils/SubmissionDisplayer.java    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/273b5bc5/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 dd94f2e..8afb492 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
@@ -67,7 +67,7 @@ public final class SubmissionDisplayer {
       if(progress == -1) {
         io.out.println("Progress is not available");
       } else {
-        io.out.println(String.format("%.2f %%", progress));
+        io.out.println(String.format("%.2f %%", progress * 100));
       }
     }
 


Mime
View raw message