Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-1954

TCP connection leak in parquet dump

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0
    • parquet-mr
    • None

    Description

      Hi,

      When i'm trying to dump a parquet file, i find the TCP connection leak in org.apache.parquet.tools.command.DumpCommand#dump :

       

      ...
      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();
              }
          }
      }
      

       

       

      Attachments

        Activity

          People

            xiepengjie xiepengjie
            xiepengjie xiepengjie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: