5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-02 17:40:39 +08:00

SQOOP-3359: Add LOG message for git hash

(Nguyen Truong via Szabolcs Vasas)
This commit is contained in:
Szabolcs Vasas 2018-08-10 14:40:41 +02:00
parent 282d41ee37
commit 96593b1a9b

View File

@ -91,7 +91,8 @@ public Sqoop(SqoopTool tool, Configuration conf) {
* @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);