You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2022/02/07 11:01:57 UTC

[GitHub] [pinot] pjfanning commented on a change in pull request #8143: [issue-8142] upgrade apache libs due to cves

pjfanning commented on a change in pull request #8143:
URL: https://github.com/apache/pinot/pull/8143#discussion_r800541746



##########
File path: pinot-plugins/pinot-input-format/pinot-thrift/src/test/java/org/apache/pinot/plugin/inputformat/thrift/ThriftRecordExtractorTest.java
##########
@@ -130,7 +131,12 @@ protected void createInputFile()
     }
 
     BufferedOutputStream bufferedOut = new BufferedOutputStream(new FileOutputStream(_tempFile));
-    TBinaryProtocol binaryOut = new TBinaryProtocol(new TIOStreamTransport(bufferedOut));
+    TBinaryProtocol binaryOut = null;
+    try {
+      binaryOut = new TBinaryProtocol(new TIOStreamTransport(bufferedOut));
+    } catch (TTransportException e) {
+      throw new IOException(e);
+    }

Review comment:
       @richardstartin I updated the code you highlighted




-- 
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: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org