sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Boglarka Egyed <b...@apache.org>
Subject Re: Review Request 63576: SQOOP-3243: Importing BLOB data causes "Stream closed" error on encrypted HDFS
Date Mon, 06 Nov 2017 16:28:18 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Nov. 6, 2017, 4:28 p.m.)

Review request for Sqoop, Ferenc Szabo, Anna Szonyi, and Szabolcs Vasas.


Exchange deprecated FSDataOutputStream constructor usage.

Bugs: SQOOP-3243

Repository: sqoop-trunk


Importing BLOB data causes "Stream closed" error on encrypted HDFS because Sqoop tries to
close CryptoOutputStream twice in LobFile class. This error was ignored with Java 7 implementation
of FilterOutputStream but is propagated to upper levels in Java 8 thus the error occurs with
BLOB import.

Diffs (updated)

  src/java/org/apache/sqoop/io/LobFile.java 4e1bf2cb4a356ba1a2fc3aeca12859bbeb329cd4 
  src/test/com/cloudera/sqoop/io/TestLobFile.java 029758c531b0214b9b7f82de59d8fbae61bfdb0a

Diff: https://reviews.apache.org/r/63576/diff/4/

Changes: https://reviews.apache.org/r/63576/diff/3-4/


I have added a new test case and run unit and 3rd party tests successfully.


Boglarka Egyed

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