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

EnvironmentContext null in ALTER_PARTITION event in DbNotificationListener

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 4.0.0
    • Fix Version/s: 4.0.0
    • Component/s: Metastore
    • Labels:
      None

      Description

      Cause : EnvironmentContext not passed here:

      https://github.com/apache/hive/blob/36c33ca066c99dfdb21223a711c0c3f33c85b943/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.java#L726

       

      It will be useful to have the environmentContext passed to DbNotificationListener in this case, to know if the alter happened due to a stat change.

        Attachments

        1. HIVE-20601.2.patch
          2 kB
          Bharathkrishna Guruvayoor Murali
        2. HIVE-20601.1.patch
          2 kB
          Bharathkrishna Guruvayoor Murali

          Issue Links

            Activity

              People

              • Assignee:
                bharos92 Bharathkrishna Guruvayoor Murali
                Reporter:
                bharos92 Bharathkrishna Guruvayoor Murali
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: