sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Szabolcs Vasas <vasas.szabo...@gmail.com>
Subject Re: Review Request 54421: Enhance error (tool.ImportTool: Encountered IOException running import job: java.io.IOException: Expected schema) to suggest workaround (--map-column-java)
Date Thu, 22 Dec 2016 15:50:55 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54421/
-----------------------------------------------------------

(Updated Dec. 22, 2016, 3:50 p.m.)


Review request for Sqoop.


Changes
-------

AvroSchemaMismatchException uses the message field of the Exception to provide more meaningful
stack trace.


Bugs: SQOOP-3068
    https://issues.apache.org/jira/browse/SQOOP-3068


Repository: sqoop-trunk


Description
-------

Enhance error (tool.ImportTool: Encountered IOException running import job: java.io.IOException:
Expected schema) to suggest workaround (--map-column-java)


Diffs (updated)
-----

  src/java/org/apache/sqoop/avro/AvroSchemaMismatchException.java PRE-CREATION 
  src/java/org/apache/sqoop/mapreduce/ParquetJob.java b077d9b 
  src/java/org/apache/sqoop/tool/ImportTool.java ed951ea 
  src/test/com/cloudera/sqoop/hive/TestHiveImport.java 26d087b 
  src/test/org/apache/sqoop/tool/TestImportTool.java 4136e9f 
  src/test/org/apache/sqoop/util/ExpectedLogMessage.java PRE-CREATION 

Diff: https://reviews.apache.org/r/54421/diff/


Testing
-------

New integration test and unit test is added.


Thanks,

Szabolcs Vasas


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message