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

EnvironmentContext null in ALTER_PARTITION event in DbNotificationListener

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0, 4.0.0
    • 4.0.0-alpha-1
    • Metastore
    • 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.1.patch
          2 kB
          Bharath Krishna
        2. HIVE-20601.2.patch
          2 kB
          Bharath Krishna

        Issue Links

          Activity

            People

              bharos92 Bharath Krishna
              bharos92 Bharath Krishna
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: