Member since
02-22-2023
2
Posts
0
Kudos Received
0
Solutions
02-22-2023
09:03 PM
executestreamcommand run sqoop
... View more
Labels:
- Labels:
-
Apache NiFi
-
Apache Sqoop
02-22-2023
06:24 AM
ExecuteStreamCommand nifi run shell sqoop import not complete and attribute return not complete but i can run batch script(sh sqoop.sh) my script export HADOOP_USER_NAME=hdfs sqoop import \ --connect 'jdbc:sqlserver://xxxxxxxx:1433;databasename=xxxxx' \ --driver com.microsoft.sqlserver.jdbc.SQLServerDriver \ --username \ --password \ --query "SELECT * FROM xxx.xxxx WHERE \$CONDITIONS" \ --target-dir /datalake/staging/xxxx/xxxxxx \ --fields-terminated-by '|' \ --incremental append \ --check-column xxxx\ --last-value $1 \ --m 1 Thanks.
... View more
Labels:
- Labels:
-
Apache NiFi
-
Apache Sqoop