Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

I can't use ExecuteStreamCommand run bash sqoop import

avatar
New Contributor

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.
0 REPLIES 0