Review Board 1.7.22


Review of SQOOP-435

Review Request #14779 - Created Oct. 20, 2013 and updated

James Anderson
SQOOP-435
Reviewers
Sqoop
sqoop-trunk
Automatically generate an Avro schema file (*.avsc) in the JAR output directory when --as-avrodatafile is specified.
- Compared contents of *.avsc file against output from avro-tools getschema operation.
- Created an external Hive table with AvroSerDe, pointing avro.schema.url to a copy of the schema indexed in ElasticSearch.
Total:
2
Open:
0
Resolved:
2
Dropped:
0
Status:
From:
Review request changed
Updated (Oct. 23, 2013, 2:22 a.m.)
Updates based on Jarcec's feedback.
 - Fixed whitespace to mirror Sqoop standard.
 - Added JUnit coverage to validate that the saved *.avsc file matches the Schema extracted from part-*.avro.
 - Added logic to move *.avsc file to code output directory, given that a file of the same name doesn't already exist.
Ship it!
Posted (Oct. 23, 2013, 7 p.m.)
Ship It!