Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-13294

AvroSerde leaks the connection in a case when reading schema from a url

    XMLWordPrintableJSON

Details

    Description

      AvroSerde leaks the connection in a case when reading schema from url:
      In
      public static Schema determineSchemaOrThrowException {
      ...
      return AvroSerdeUtils.getSchemaFor(new URL(schemaString).openStream());
      ...
      }
      The opened inputStream is never closed.

      Attachments

        1. HIVE-13294.patch
          1 kB
          Chaoyu Tang
        2. HIVE-13294.1.patch
          1 kB
          Chaoyu Tang

        Activity

          People

            ctang Chaoyu Tang
            ctang Chaoyu Tang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: