Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Sqoop, mail # dev - Review Request:  Sqoop2: Introduce synchronous job submission to Client API


Copy link to this message
-
Re: Review Request: Sqoop2: Introduce synchronous job submission to Client API
rj.vasanthkumar@... 2013-05-03, 20:31

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/10869/
-----------------------------------------------------------

(Updated May 3, 2013, 8:31 p.m.)
Review request for Sqoop.
Changes
-------

Implemented Jarek's suggestion. New startSubmission method returns submission status, I added this because when callback is set to null then user may not know final status. So after completing exection returns final finish status of submission or any submission error status.

Uploaded draft patch. Still requires document update. Kindly verify.
Description
-------

Synchronous job submission to Client API.
This addresses bug SQOOP-985.
    https://issues.apache.org/jira/browse/SQOOP-985
Diffs (updated)
-----

  client/src/main/java/org/apache/sqoop/client/SqoopClient.java f9137bb
  client/src/main/java/org/apache/sqoop/client/SubmissionCallback.java PRE-CREATION
  client/src/main/java/org/apache/sqoop/client/core/ClientError.java 179dc55
  client/src/main/java/org/apache/sqoop/client/shell/SubmissionStartFunction.java f68ac11

Diff: https://reviews.apache.org/r/10869/diff/
Testing
-------

Done
Thanks,

vasanthkumar