[
https://issues.apache.org/jira/browse/IMPALA-9935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18053393#comment-18053393
]
ASF subversion and git services commented on IMPALA-9935:
---------------------------------------------------------
Commit 8a1b4793e8020891cf3937713f42bc2d98dd775e in impala's branch
refs/heads/master from Arnab Karmakar
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=8a1b4793e ]
IMPALA-9935: Support individual partitions in catalog_object webUI page
This patch adds support for querying individual partition metadata through
the /catalog_object webUI endpoint on both CatalogServer and Coordinator.
Previously, the endpoint only supported DATABASE, TABLE, VIEW, FUNCTION,
DATA_SOURCE, HDFS_CACHE_POOL, PRINCIPAL, PRIVILEGE, and
AUTHZ_CACHE_INVALIDATION catalog object types. This change adds support
for HDFS_PARTITION objects.
Endpoint Availability:
- Catalog V1 (legacy catalog mode): Works on both CatalogServer
(port 25020) and Coordinator (port 25000)
- Catalog V2 (local catalog mode): Only works on CatalogServer (port 25020)
URL Examples:
- Basic:
/catalog_object?object_type=HDFS_PARTITION&object_name=mydb.mytable%3Ayear%3D2010%2Fmonth%3D3
- Multi-key:
/catalog_object?object_type=HDFS_PARTITION&object_name=db.tbl%3Ayear%3D2024%2Fmonth%3D12%2Fday%3D25
- Special chars:
/catalog_object?object_type=HDFS_PARTITION&object_name=db.tbl%3Ads%3D2024%252F12%252F25
Testing:
- Existing tests pass
- New tests added for partition object retrieval in both HTML and JSON formats
- Manual testing with various partition configurations
- Error handling tested for edge cases
Change-Id: I5645a20283e664af12d04a9665c8870c7666a74c
Reviewed-on: http://gerrit.cloudera.org:8080/23816
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> Support individual partitions in the catalog_obejct webUI page
> --------------------------------------------------------------
>
> Key: IMPALA-9935
> URL: https://issues.apache.org/jira/browse/IMPALA-9935
> Project: IMPALA
> Issue Type: New Feature
> Components: Catalog
> Reporter: Quanlong Huang
> Assignee: Arnab Karmakar
> Priority: Major
> Labels: ramp-up
>
> CatalogServer and Coordinator both have a webUI page (/catalog_object) for
> getting catalog objects. An example URL is
> "[http://localhost:25020/catalog_object?object_type=TABLE&object_name=functional.alltypes]".
> After IMPALA-3127, it'd be nice to support the same feature for individual
> partitions.
> Note that the object_name for partitions are designed as
> dbName+tableName+partitionName in IMPALA-3127. The partitionName part has "/"
> characters, which conflicts in parsing the request arguments in the URL. We
> may need to redesign the arguments for partitions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]