Skip to content

HIVE-25131: PreAlterPartitionEvent should have table owner details that can be authorized in Ranger#2449

Closed
saihemanth-cloudera wants to merge 2 commits intoapache:masterfrom
saihemanth-cloudera:hive-25131_new
Closed

HIVE-25131: PreAlterPartitionEvent should have table owner details that can be authorized in Ranger#2449
saihemanth-cloudera wants to merge 2 commits intoapache:masterfrom
saihemanth-cloudera:hive-25131_new

Conversation

@saihemanth-cloudera
Copy link
Contributor

What changes were proposed in this pull request?

Added owner information in the PreAlterPartition Event.

Why are the changes needed?

This can be used in Ranger/sentry to authorize alter partition query using OWNER policy

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Local machine, Remote cluster

@saihemanth-cloudera saihemanth-cloudera changed the title Hive 25131 new HIVE-25131: PreAlterPartitionEvent should have table owner details that can be authorized in Ranger Jul 6, 2021
Copy link
Contributor

@nrg4878 nrg4878 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change looks good to me. This has been reviewed in another PR. rebase caused conflicts that a new PR was created.

@nrg4878
Copy link
Contributor

nrg4878 commented Jul 9, 2021

fix has been pushed to master. Please close the PR. Thanks

yoreyuan pushed a commit to yoreyuan/hive that referenced this pull request Jul 11, 2021
…(Peter Vary reviewed by Laszlo Pinter and Marton Bod)

* HIVE-25015: Port Iceberg unreleased Hive fixes to the iceberg module
  Source Iceberg PR - Hive: Push Iceberg table property values to HMS table properties (apache#2123)

* HIVE-25015: Port Iceberg unreleased Hive fixes to the iceberg module
  Source Iceberg PR - Hive: Use default client pool size from CatalogProperties (apache#2180)

* HIVE-25015: Port Iceberg unreleased Hive fixes to the iceberg module
  Source Iceberg PR - Hive: removed Iceberg props should be removed from HMS table props too (apache#2252)

* HIVE-25015: Port Iceberg unreleased Hive fixes to the iceberg module
  Source Iceberg PR - Hive: Refactor HiveCatalog and HiveClientPool constructors (apache#2203)

* HIVE-25015: Port Iceberg unreleased Hive fixes to the iceberg module
  Source Iceberg PR - Core/Hive: Introduce total-files-size snapshot metric and populate HMS (apache#2329)

* HIVE-25015: Port Iceberg unreleased Hive fixes to the iceberg module
  Source Iceberg PR - Hive: Fix broken TestHiveClientPool (apache#2350)

* HIVE-25015: Port Iceberg unreleased Hive fixes to the iceberg module
  Source Iceberg PR - Hive: Remove unnecessary SerializationUtil.serializeToBase64 from HiveIcebergStorageHandler.overlayTableProperties (apache#2340)

* HIVE-25015: Port Iceberg unreleased Hive fixes to the iceberg module
  Source Iceberg PR - Hive: Don't delete files when commit state is unknown (apache#2328)

* HIVE-25015: Port Iceberg unreleased Hive fixes to the iceberg module
  Source Iceberg PR - Hive: Use HiveClientPool cache instead of HiveCatalog global cache. (apache#2325)

* HIVE-25015: Port Iceberg unreleased Hive fixes to the iceberg module
  Source Iceberg PR - Hive: Implement multi-table inserts (apache#2228)

* HIVE-25015: Port Iceberg unreleased Hive fixes to the iceberg module
  Source Iceberg PR - Core: Fix circular default call in BaseMetastoreCatalog (apache#2368)

* HIVE-25015: Port Iceberg unreleased Hive fixes to the iceberg module
  Source Iceberg PR - AWS: handle uncertain catalog state for glue (apache#2402)

* HIVE-25015: Port Iceberg unreleased Hive fixes to the iceberg module
  Source Iceberg PR - Hive: Synchronize equivalent HMS and Iceberg properties (apache#2407)

* HIVE-25015: Port Iceberg unreleased Hive fixes to the iceberg module
  Source Iceberg PR - Hive: Configure catalog type on table level. (apache#2129)

* HIVE-25015: Port Iceberg unreleased Hive fixes to the iceberg module
  Source Iceberg PR - Hive: Capitalize write format value when creating writer (apache#2449)

* HIVE-25015: Port Iceberg unreleased Hive fixes to the iceberg module
  Source Iceberg PR - Hive: Add timeout for TestHiveIcebergStorageHandlerWithEngine tests (apache#2448)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants