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

PTFDesc tries serialize transient fields like OIs, etc.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: PTF-Windowing
    • Labels:
      None

      Description

      windowing_expression.q shows warning messages like this.

      java.lang.InstantiationException: org.apache.hadoop.hive.serde2.objectinspector.primitive.WritableConstantDoubleObjectInspector
      Continuing ...
      java.lang.RuntimeException: failed to evaluate: <unbound>=Class.new();
      Continuing ...
      java.lang.InstantiationException: org.apache.hadoop.hive.serde2.objectinspector.primitive.PrimitiveObjectInspectorConverter$DoubleConverter
      Continuing ...
      java.lang.RuntimeException: failed to evaluate: <unbound>=Class.new();
      Continuing ...
      java.lang.IllegalAccessException: Class sun.reflect.misc.Trampoline can not access a member of class org.apache.hadoop.hive.serde2.objectinspector.primitive.WritableDoubleObjectInspector with modifiers ""
      Continuing ...
      java.lang.RuntimeException: failed to evaluate: <unbound>=Class.new();
      Continuing ...
      

      hive is serializing temporary OIs in it.

        Attachments

        1. HIVE-4412.D10515.1.patch
          5 kB
          Phabricator

          Activity

            People

            • Assignee:
              navis Navis Ryu
              Reporter:
              navis Navis Ryu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: