mirror of
https://github.com/apache/sqoop.git
synced 2025-05-03 14:11:49 +08:00
SQOOP-1132. Print out Sqoop version into log during execution
(Jarek Jarcec Cecho via Hari Shreedharan)
This commit is contained in:
parent
6c712bacf7
commit
d9ff9e0734
@ -89,6 +89,8 @@ public Sqoop(SqoopTool tool, Configuration conf) {
|
|||||||
* @param opts the SqoopOptions which control the tool's parameters.
|
* @param opts the SqoopOptions which control the tool's parameters.
|
||||||
*/
|
*/
|
||||||
public Sqoop(SqoopTool tool, Configuration conf, SqoopOptions opts) {
|
public Sqoop(SqoopTool tool, Configuration conf, SqoopOptions opts) {
|
||||||
|
LOG.info("Running Sqoop version: " + new SqoopVersion().VERSION);
|
||||||
|
|
||||||
if (null != conf) {
|
if (null != conf) {
|
||||||
setConf(conf);
|
setConf(conf);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user