Skip to content

Conversation

@morningman
Copy link
Contributor

bp #39239

…using meta cache and add parameters to the Hive catalog. (apache#39239)

before apache#15401  and apache#38244

1. Add the parameter `hive.enable_hms_events_incremental_sync` to the
hive catalog, which is used to switch the catalog to read hive
notification events (default is false). The default value is
`enable_hms_events_incremental_sync` in fe.conf

2. Add the parameter `hive.hms_events_batch_size_per_rpc` to the hive
catalog, which is used to set the size of notification events read by
the catalog each time. The default value is
`hms_events_batch_size_per_rpc` in fe.conf (default is 500)

3. append hms event notification case .

4. Remove the `use_meta_cache` setting in catalog that is forced to
true.

Example :
```
create catalog if not exists catalog_name properties (
      "type"="hms",
      'hive.metastore.uris' = 'thrift://externalEnvIp:hms_port',
       "hive.enable_hms_events_incremental_sync" ="true",
       "hive.hms_events_batch_size_per_rpc" = "1000"
);
```
@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@morningman
Copy link
Contributor Author

run buildall

@morningman morningman merged commit 508c7a7 into apache:branch-2.1 Aug 23, 2024
hubgeter added a commit to hubgeter/doris that referenced this pull request Sep 7, 2024
…using meta cache and add parameters to the Hive catalog. (apache#39239) (apache#39865)

bp apache#39239

Co-authored-by: daidai <2017501503@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants