Thursday 7 September 2017

8)Sqoop Tool5: sqoop-job

Sqoop Tool5: sqoop-job:

sqoop-job:
The job tool allows to create and work with saved jobs. Saved jobs remember the parameters used to specify a job, so they can be re-executed by invoking the job by its handle.

Note:
If a saved job is configured to perform an incremental import, state regarding the most recently imported rows is updated in the saved job to allow the job to continually import only the newest rows.

Syntax:

$ sqoop job (generic-args) (job-args) [-- [subtool-name] (subtool-args)]
or
$ sqoop-job (generic-args) (job-args) [-- [subtool-name] (subtool-args)]

Job management options:


Argument Description
--create <job-id> Define a new saved job with the specified job-id (name).
--delete <job-id> Delete a saved job.
--exec <job-id> Run the saved job.
--show <job-id> Show the parameters for a saved job.
--list List all saved jobs

Create sqoop job:

List available sqoop job's:


Show the parameters for saved sqoop job:


Execute sqoop job:


Verify after job execution:



Please follow the link for further ==>Sqoop_Page9

No comments:

Post a Comment

Fundamentals of Python programming

Fundamentals of Python programming: Following below are the fundamental constructs of Python programming: Python Data types Python...