Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-7973 Hive Replication Support
  3. HIVE-9321

Notification message size can be arbitrarily long, DbNotificationListener limits to 1024

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.15.0
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      None

      Description

      As part of HIVE-9174, a new notification listener, DbNotificationListener was introduced that stores notification messages in the metastore.

      Now, the "message" field of a Notification event can be arbitrarily long, since it is a JSON-serialized message of what event actually occurred, and an AddPartitionMessage which captured the result of an add_partitions can be arbitrarily long (as long as the number of partitions that were added).

      However, the "message" field for the storage in db is limited to VARCHAR(1024), which it will easily break. We need to fix this somehow.

        Attachments

        1. HIVE-9321.patch
          7 kB
          Alan Gates

          Activity

            People

            • Assignee:
              gates Alan Gates
              Reporter:
              sushanth Sushanth Sowmyan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: