apache / amoro

Apache Amoro (incubating) is a Lakehouse management system built on open data lake formats.
https://amoro.apache.org/
Apache License 2.0
747 stars 260 forks source link

[Bug]: After uploading a new catalog conf, such as hdfs-site, need to restart ams to take effect. #2970

Open huyuanfeng2018 opened 1 week ago

huyuanfeng2018 commented 1 week ago

What happened?

After uploading a new catalog conf, such as hdfs-site, need to restart ams to take effect.

Affects Versions

master

What table formats are you seeing the problem on?

No response

What engines are you seeing the problem on?

No response

How to reproduce

No response

Relevant log output

No response

Anything else

No response

Are you willing to submit a PR?

Code of Conduct

huyuanfeng2018 commented 1 week ago

Need to log out ams and log in again to load the catalog by terminal.

The reason is Terminal Maintained a sessionMap,After the catalog configuration file is changed, the previous spark session is still used and the new configuration cannot be loaded.

klion26 commented 2 days ago

could this be done only by restarting the spark session?

huyuanfeng2018 commented 2 days ago

could this be done only by restarting the spark session?

i think so