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

Hive streaming should try shade prefix unconditionally on exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.0, 3.2.0, 4.0.0
    • 3.2.0, 4.0.0-alpha-1
    • Streaming
    • None

    Description

      AbstractRecordWriter tries hive.classloader.shade.prefix on ClassNotFoundException but there are instances where OrcOutputFormat from old hive version gets loaded resulting in ClassCastException. I think we should try shadeprefix when defined and when any exception is thrown. 

      Attachments

        1. HIVE-20059.1.patch
          0.8 kB
          Prasanth Jayachandran

        Activity

          People

            prasanth_j Prasanth Jayachandran
            prasanth_j Prasanth Jayachandran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: