Sqoop Entities
Represents the sqoop connector's link information. Link encapsulates the details required to connect to the the data source the connector represents. It has one associated config MLinkConfig
Entity | Model | Relationship | Description |
---|---|---|---|
CONFIGURABLE | Configurable.java ( abstract class) | Top Level Entity
| Represents a core entity that exposes config objects and used in sqoop job lifecycle. Configurable have a associated version that acts as a identifier for connector config upgrades. |
CONNECTOR | MConnector.java |
| is a type of configurable There can be many connectors registered to the sqoop server |
DRIVER | MDriver.java |
| is a type of configurable There is only one Driver object representing sqoop in the system |
CONFIG | MConfig.java and @Config annotation | Top Level Entity | MConfigType with supported config types are |
INPUT |
Concrete classes for each supported types
|
| Represents the key-value pairs for a given config. |
LINK |
MLinkConfig.java |
| Represents the config inputs required to physically connect to the data-source a connector represents. Hence it is associated with a connector. It has mainly one config object represented by MLinkConfig |
JOB |
|
| Represents the sqoop job. It encapsulates all the required configs to run the sqoop job. Primarily the sqoop job has the 3 main components, the FROM, TO and the DRIVER. FROM and its related MFromConfig represent the config-inputs-values required to Extract data from the source TO and its related MToConfig represent the config-inputs-values required to load data to the destination DRIVER and its related MDriverConfig the config-inputs-values required by the execution engine that runs the sqoop job optimally.
|
SUBMISSION | MSubmission.java | Represents the job run details. Includes the job status, job counters and metrics from the job execution engine |
Related tickets
https://issues.apache.org/jira/secure/attachment/12667274/SimplifySqoopEntityNomenclature.pdf
https://issues.apache.org/jira/secure/attachment/12667576/Sqoop2.pdf