Reply
Explorer
Posts: 7
Registered: ‎05-19-2017
Accepted Solution

How to list all sqoop jobs and view the details?

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:

 

Screenshot - 2_2_2018 , 11_09_27 PM.jpg

 

Thank you.

Posts: 418
Topics: 13
Kudos: 67
Solutions: 39
Registered: ‎09-02-2016

Re: How to list all sqoop jobs and view the details?

@axie

 

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

 

Explorer
Posts: 7
Registered: ‎05-19-2017

Re: How to list all sqoop jobs and view the details?

Thank you.
Announcements
New solutions