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

Invalid queue name and synchronisation issues in hive proto events hook.

    XMLWordPrintableJSON

Details

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

    Description

      Hive uses the same context object for the hooks for a given query, which results in some synchronisation issues in HiveProtoLoggingHook:

      • post event arrives before pre event processing starts, since the object is shared, the event type for both events is post event, causes skipping of pre event publishing.
      • Causes concurrent modification exception while iterating perf object.

      The queue name is extracted does not consider execution context, fix to extract queue name from different config based on the execution mode.

      Attachments

        1. HIVE-20383.01.patch
          12 kB
          Harish JP

        Activity

          People

            harishjp Harish JP
            harishjp Harish JP
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: