Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-3962

Configuration decode leaks an Inflater object

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.2, 0.10.0
    • 0.9.2, 0.10.0
    • None
    • None
    • Reviewed

    Description

      public static Configuration createConfFromByteString(ByteString byteString) throws IOException {
      ...
          InflaterInputStream uncompressIs = new InflaterInputStream(byteString.newInput());
          DAGProtos.ConfigurationProto confProto = DAGProtos.ConfigurationProto.parseFrom(uncompressIs);
      

      InflaterInputStream is never closed, this will get eventually collected - but the off-heap buffers for Inflater leaks temporarily.

      Attachments

        1. TEZ-3962.1.patch
          1 kB
          Eric Wohlstadter
        2. TEZ-3962.2.patch
          1 kB
          Eric Wohlstadter

        Activity

          People

            ewohlstadter Eric Wohlstadter
            gopalv Gopal Vijayaraghavan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: