-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to configure paimon's catalog file in trino, I want to use hive's metastore as metadata storage #26
Comments
t can be configured according to official documents, and the same is true for Hive Catalog. |
|
I found add the following config to your trino paimon catalog may work: metastore=hive
uri=thrift://metatore-server:port
hive-conf-dir=/etc/trino/paimon_hadoop_configs You also need to add the following jars to your paimon plugin lib, otherwise you will meet
And since trino use jdk17, the following code piece in if (MetastoreConf.getVar(conf, ConfVars.THRIFT_URI_SELECTION).equalsIgnoreCase("RANDOM")) {
List uriList = Arrays.asList(metastoreUris);
Collections.shuffle(uriList);
metastoreUris = (URI[]) uriList.toArray();
} you can add the following config to your hive-site.xml as a workaround: <property>
<name>metastore.thrift.uri.selection</name>
<value>SEQUENTIAL</value>
</property> |
@linhao1990 I'm using high availability Hadoop, and this is how I set it up...
And when I run the query, I get these errors.
Do you use highly available Hadoop? If you do, I want to hear what you know... Thank you self answer: need to reassign warehouse because my warehouse(
ex)
It is related to HiveCatalog in paimon-bundle, I'm going to make bug report at paimon repository. Also it needs |
Is there any other kind of metastore? |
Hi, i want to use hive's metastore as metadata storage, but i can't find any documentation on how to do this
The text was updated successfully, but these errors were encountered: