You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Veena Basavaraj (JIRA)" <ji...@apache.org> on 2014/09/10 19:41:34 UTC

[jira] [Created] (SQOOP-1509) Sqoop2: Sqoop2 Rest API refactoring

Veena Basavaraj created SQOOP-1509:
--------------------------------------

             Summary: Sqoop2: Sqoop2 Rest API refactoring
                 Key: SQOOP-1509
                 URL: https://issues.apache.org/jira/browse/SQOOP-1509
             Project: Sqoop
          Issue Type: Improvement
            Reporter: Veena Basavaraj
            Assignee: Veena Basavaraj


See the attached PDF.


Currently there is a lot of overlap with the entity model classes. All the entity model classes in the code are are prefixed with "M" and are under the org.apache.sqoop.model package. 

The proposed refactoring will do the following things.

No more MConnectionForms and MJobForms. The big different is the use of the terminology context to hold all the job related information. 

MContext ( abstract)
MFromContext
MToContext
MDriverContext

MContext entity belongs to a MJob
MInput (MContext has one or more MInputs)

MJob has  MFromContext, MToContext, MDriverContext

MConnector ( Connector has one or more links)
MLink belongs to a MConnector

MJobRun belongs to a MJob ( Job has one or more JobRuns)

Lastly, the Repository schema will also be renamed to reflect the context/link/driver/jobrun changes

End of Story!






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)