Yulei-Yang opened a new pull request, #38619:
URL: https://github.com/apache/doris/pull/38619

   Brought by: #38244
   
   how to reproduce:
   create a hms catalog name hive with property use_meta_cache = false, after 
that restart fe, and run sql `switch hive; show databases;`, will get error:
   ```sql
   ERROR 1105 (HY000): NullPointerException, msg: 
java.lang.NullPointerException: Cannot invoke 
"org.apache.doris.datasource.metacache.MetaCache.listNames()" because 
"this.metaCache" is null
   ```
   
   reason, property use_meta_cache of newly created hms catalog after pr #38244 
was force convert to true, but field  `useMetaCache` of class ExternalCatalog 
is not converted at the same time.
   


-- 
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