Review Board 1.7.22

SQOOP-473 Sqoop import-all-tables fails with MySQL connector

Review Request #4584 - Created March 31, 2012 and submitted

Cheolsoo Park
All-tables import fails with MySQL:

The change include:

1) Modify toJavaType(), toHiveType(), and toAvroType() methods.
2) Add new unit test for MySQL all-tables import (subclassing TestAllTables).
3) Minor changes to TestAllTables class to make it available for non-Hsqldb servers.
1) Verified that MySQL all-tables import is fixed using new unit test.
2) Ran ant test, ant test -Dthirdparty=true, and ant checkstyle.
Review request changed
Updated (April 3, 2012, 7:13 p.m.)
1) Incorporate Bilung's comments in toHiveType() and to AvroType().
2) Remove a unnecessary method from MySQLAllTablesTest.
Ship it!
Posted (April 3, 2012, 9:36 p.m.)