danny0405 commented on code in PR #5251:
URL: https://github.com/apache/hudi/pull/5251#discussion_r845038201
##########
hudi-common/src/main/java/org/apache/hudi/common/table/log/block/HoodieParquetDataBlock.java:
##########
@@ -109,7 +109,7 @@ public HoodieLogBlockType getBlockType() {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
- try (FSDataOutputStream outputStream = new FSDataOutputStream(baos)) {
+ try (FSDataOutputStream outputStream = new FSDataOutputStream(baos, null))
{
try (HoodieParquetStreamWriter<IndexedRecord> parquetWriter = new
HoodieParquetStreamWriter<>(outputStream, avroParquetConfig)) {
Review Comment:
Does hadoop 2 has this method ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]