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

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.15.0
    • 1.1.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: