sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hshreedha...@apache.org
Subject git commit: SQOOP-1132. Print out Sqoop version into log during execution
Date Sat, 31 Aug 2013 02:03:52 GMT
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 <hshreedharan@cloudera.com>
Authored: Fri Aug 30 19:02:41 2013 -0700
Committer: Hari Shreedharan <hshreedharan@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);
     }


Mime
View raw message