Repository: sqoop
Updated Branches:
  refs/heads/trunk 282d41ee3 -> 96593b1a9


SQOOP-3359: Add LOG message for git hash

(Nguyen Truong via Szabolcs Vasas)


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

Branch: refs/heads/trunk
Commit: 96593b1a9b8168954f1d5b13f802f2f3ee5beab8
Parents: 282d41e
Author: Szabolcs Vasas <va...@apache.org>
Authored: Fri Aug 10 14:40:41 2018 +0200
Committer: Szabolcs Vasas <va...@apache.org>
Committed: Fri Aug 10 14:40:41 2018 +0200

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


http://git-wip-us.apache.org/repos/asf/sqoop/blob/96593b1a/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 08ff82c..110cf41 100644
--- a/src/java/org/apache/sqoop/Sqoop.java
+++ b/src/java/org/apache/sqoop/Sqoop.java
@@ -91,7 +91,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);
+    LOG.info("Running Sqoop version: " + SqoopVersion.VERSION);
+    LOG.debug("Git hash: " + SqoopVersion.GIT_HASH);
 
     if (null != conf) {
       setConf(conf);

Reply via email to