Review Board 1.7.22


SQOOP-643 Implement simple listings for connector and job objects

Review Request #8883 - Created Jan. 8, 2013 and submitted

Jarek Cecho
SQOOP-643
Reviewers
Sqoop
sqoop-sqoop2
I've created simple listing of three basic components - connector, connection and job. Examples:

sqoop:000> show connector 
+----+------------------------+----------------+------------------------------------------------------+
| Id |          Name          |    Version     |                        Class                         |
+----+------------------------+----------------+------------------------------------------------------+
| 1  | generic-jdbc-connector | 2.0.0-SNAPSHOT | org.apache.sqoop.connector.jdbc.GenericJdbcConnector |
+----+------------------------+----------------+------------------------------------------------------+
sqoop:000> show job      
+----+----------+--------+-----------+
| Id |   Name   |  Type  | Connector |
+----+----------+--------+-----------+
| 1  | fist job | IMPORT | 1         |
+----+----------+--------+-----------+
sqoop:000> show connection
+----+-------+-----------+
| Id | Name  | Connector |
+----+-------+-----------+
| 1  | mysql | 1         |
+----+-------+-----------+
sqoop:000>

I've tested it on real cluster, no unit tests provided at the moment.
Review request changed
Updated (Jan. 25, 2013, 2:26 a.m.)
  • changed from pending to submitted