Created on 02-02-2018 08:20 PM - edited 09-16-2022 05:49 AM
I am not able to list any sqoop jobs despite I run the following command during the sqoop job running time:
sqoop job --list
Here is a screenshot:
Thank you.
Created 02-03-2018 07:59 PM
Have you created sqoop job before list? (or) looking for ad hoc sqoop command which are currently running?
If you have not created sqoop job then please try this before list
step1:
sqoop job --create myjob \--import \--connect jdbc:mysql://localhost/db \ --username root \--table employee --m 1
step 2:
sqoop job --exec myjob
step 3:
sqoop job --list
To get help: sqoop job --help
For more details: https://www.tutorialspoint.com/sqoop/sqoop_job.htm
If you are running sqoop in ad hoc basis without job, it may not be listed. Ex:
sqoop import \--connect jdbc:mysql://localhost/db \ --username root \--table employee --m 1
Created 02-03-2018 07:59 PM
Have you created sqoop job before list? (or) looking for ad hoc sqoop command which are currently running?
If you have not created sqoop job then please try this before list
step1:
sqoop job --create myjob \--import \--connect jdbc:mysql://localhost/db \ --username root \--table employee --m 1
step 2:
sqoop job --exec myjob
step 3:
sqoop job --list
To get help: sqoop job --help
For more details: https://www.tutorialspoint.com/sqoop/sqoop_job.htm
If you are running sqoop in ad hoc basis without job, it may not be listed. Ex:
sqoop import \--connect jdbc:mysql://localhost/db \ --username root \--table employee --m 1
Created 02-03-2018 08:24 PM