Replies: 4 comments 3 replies
-
In my opinion, both are not the best option, because these configuration files may change as time goes on (for example, the administrator made some configuration update). If there is no an automatic way to syn them, they may become obsolete. Furthermore, the files may contain sensitive data, distributing to other places will increase the risk of data leakage. Is it possible that Gravitino only keep the real location URL, not the real file? |
Beta Was this translation helpful? Give feedback.
-
Is the |
Beta Was this translation helpful? Give feedback.
-
Which configuration items does Trino rely on in these two configuration files?( |
Beta Was this translation helpful? Give feedback.
-
I think it's meaningful. If we can load the configuration and session token of s3( for HDFS, it will be a delegation token) at runtime. We can simplify the usage of clients. The client only needs to load the runtime jar and get the credentials for authentication. I think it's not necessary to get the real file. We can put the common configuration to the metalake properties. The catalog properties can inherit and override the metalake properties, so does the schema and the table. And we do not need to find the smallest set of properties, we can support the feature that loads the configuration from the properties. It's up to users whether to use it. For more users, they may like to use the configuration that is loaded from the engine side. |
Beta Was this translation helpful? Give feedback.
-
When using the Gravitino-Trino connector to connect to Hive with Trino, users sometimes need to configure core-site.xml and hdfs-site.xml. Currently, users are required to store these configuration files on the Trino nodes, and specify the file paths when Gravitino creates a catalog. We hope that Gravitino can manage these configuration files, so that when the Gravitino-Trino connector loads a catalog, it automatically retrieves and uses these configurations.
Currently, there are two ideas:
What do you all think about this issue?
Beta Was this translation helpful? Give feedback.
All reactions