[ 
https://issues.apache.org/jira/browse/PARQUET-1954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17249726#comment-17249726
 ] 

ASF GitHub Bot commented on PARQUET-1954:
-----------------------------------------

StefanXiepj opened a new pull request #849:
URL: https://github.com/apache/parquet-mr/pull/849


   Make sure you have checked _all_ steps below.
   
   ### Jira
   My PR addresses the following 
[PARQUET-1954](https://issues.apache.org/jira/browse/PARQUET-1954T/)
   
   ### Tests
   does not need testing
   


----------------------------------------------------------------
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.

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


> TCP connection leak in parquet dump
> -----------------------------------
>
>                 Key: PARQUET-1954
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1954
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-mr
>            Reporter: xiepengjie
>            Priority: Major
>
> Hi,
> When i'm trying to dump a parquet file, i find the TCP connection leak in 
> org.apache.parquet.tools.command.DumpCommand#dump :
>  
> {code:java}
> ...
> ParquetFileReader freader = null;
> if (showmd) {
>     try {
>         long group = 0;
>         for (BlockMetaData block : blocks) {
>             ...
>             freader = new ParquetFileReader(
>                 conf, meta.getFileMetaData(), inpath, rblocks, columns);
>             ...
>             out.flushColumns();
>         }
>     } finally {
>         if (freader != null) {
>             freader.close();
>         }
>     }
> }
> {code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to