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

HiveServer2 ObjectInspectorFactory leaks for Struct and List object inspectors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0, 4.0.0
    • 3.2.0, 4.0.0-alpha-1
    • HiveServer2
    • None

    Description

      Fix in HIVE-19860 needs to be applied to

        static ConcurrentHashMap<ObjectInspector, StandardListObjectInspector>
            cachedStandardListObjectInspector = new ConcurrentHashMap<ObjectInspector, StandardListObjectInspector>();
      ...
        static ConcurrentHashMap<ArrayList<List<?>>, StandardStructObjectInspector> cachedStandardStructObjectInspector =
            new ConcurrentHashMap<ArrayList<List<?>>, StandardStructObjectInspector>();
      ...
        static ConcurrentHashMap<ArrayList<Object>, ColumnarStructObjectInspector> cachedColumnarStructObjectInspector =
            new ConcurrentHashMap<ArrayList<Object>, ColumnarStructObjectInspector>();
      

      And possibly for

        static ConcurrentHashMap<Type, ObjectInspector> objectInspectorCache = new ConcurrentHashMap<Type, ObjectInspector>();
      ...
      

      Attachments

        1. HIVE-20274.1.patch
          15 kB
          Prasanth Jayachandran
        2. HIVE-20274.2.patch
          15 kB
          Prasanth Jayachandran
        3. HIVE-20274.3.patch
          15 kB
          Prasanth Jayachandran

        Issue Links

          Activity

            People

              prasanth_j Prasanth Jayachandran
              gopalv Gopal Vijayaraghavan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: