sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cheolsoo Park" <cheol...@cloudera.com>
Subject Review Request: SQOOP-536 Blob import doesn't work with avro 1.7.1
Date Fri, 03 Aug 2012 06:52:17 GMT

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

Review request for Sqoop and Jarek Cecho.


Description
-------

Blob import fails because byte[] is not mapped to avro bytes type. Wrapping byte[] as ByteBuffer
fixes the problem.


This addresses bug SQOOP-536.
    https://issues.apache.org/jira/browse/SQOOP-536


Diffs
-----

  /src/java/org/apache/sqoop/mapreduce/AvroImportMapper.java 1368365 

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


Testing
-------

I verified with avro 1.5.3 (current) and 1.7.1 that the unit tests pass:

ant test
ant test -Dthirdparty=true
ant checkstyle


Thanks,

Cheolsoo Park


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