OIiveirra opened a new pull request, #68585:
URL: https://github.com/apache/doris/pull/68585

   ### What problem does this PR solve?
   
   Issue Number: DORIS-29461
   
   Related PR: None
   
   Problem Summary: Plugin-driven Hive catalogs accepted incomplete HDFS HA 
properties during CREATE and ALTER. For example, a catalog with 
`dfs.nameservices=ns1` but no `dfs.ha.namenodes.ns1`, or with an empty 
nameservice list, could be persisted successfully and only fail when the first 
external table accessed storage. The DDL validation path now binds Hive storage 
properties before persisting the catalog, and HDFS HA validation rejects empty 
nameservice entries and validates the required NameNode, RPC address, and 
failover provider properties. The behavior is covered by FE unit tests and an 
external regression suite.
   
   ### Release note
   
   Hive Catalog CREATE and ALTER now reject incomplete HDFS HA configurations 
during DDL validation.
   
   ### Check List (For Author)
   
   - Test: Unit Test / Regression test
       - FE unit tests: `PluginDrivenExternalCatalogConcurrencyTest`, 
`HdfsPropertiesTest`
       - External regression: 
`external_table_p0/hive/test_hive_ha_catalog_validation`
       - FE build and Checkstyle passed
   - Behavior changed: Yes (invalid Hive HDFS HA configurations fail during 
CREATE/ALTER instead of being deferred until storage access)
   - Does this need documentation: No
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to