You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sqoop.apache.org by hs...@apache.org on 2013/08/31 04:03:52 UTC

git commit: SQOOP-1132. Print out Sqoop version into log during execution

Updated Branches:
  refs/heads/trunk 6c712bacf -> d9ff9e073


SQOOP-1132.  Print out Sqoop version into log during execution

(Jarek Jarcec Cecho via Hari Shreedharan)


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

Branch: refs/heads/trunk
Commit: d9ff9e0734245a81dfe15d918f66d8bb62c631fd
Parents: 6c712ba
Author: Hari Shreedharan <hs...@cloudera.com>
Authored: Fri Aug 30 19:02:41 2013 -0700
Committer: Hari Shreedharan <hs...@cloudera.com>
Committed: Fri Aug 30 19:02:41 2013 -0700

----------------------------------------------------------------------
 src/java/org/apache/sqoop/Sqoop.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/d9ff9e07/src/java/org/apache/sqoop/Sqoop.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/sqoop/Sqoop.java b/src/java/org/apache/sqoop/Sqoop.java
index 2e1725d..2addd62 100644
--- a/src/java/org/apache/sqoop/Sqoop.java
+++ b/src/java/org/apache/sqoop/Sqoop.java
@@ -89,6 +89,8 @@ public class Sqoop extends Configured implements Tool {
    * @param opts the SqoopOptions which control the tool's parameters.
    */
   public Sqoop(SqoopTool tool, Configuration conf, SqoopOptions opts) {
+    LOG.info("Running Sqoop version: " + new SqoopVersion().VERSION);
+
     if (null != conf) {
       setConf(conf);
     }