You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "danhuawang (via GitHub)" <gi...@apache.org> on 2025/06/11 09:10:07 UTC
[I] [Improvement] Too much useless log about load catalog in gravitino_audit.log and gravitino-server.log [gravitino]
danhuawang opened a new issue, #7373:
URL: https://github.com/apache/gravitino/issues/7373
### What would you like to be improved?
The Catalog loaded log is printed too much in the log file, it causes too many useless logs.
```
2025-06-11 08:59:08 INFO [Gravitino-webserver-38] CatalogOperations:222 - Received load catalog request for catalog: test.mul_file_catalog1
2025-06-11 08:59:08 INFO [Gravitino-webserver-38] CatalogOperations:227 - Catalog loaded: test.mul_file_catalog1
2025-06-11 08:59:08 INFO [Gravitino-webserver-38] CatalogOperations:222 - Received load catalog request for catalog: test.c4
2025-06-11 08:59:08 INFO [Gravitino-webserver-38] CatalogOperations:227 - Catalog loaded: test.c4
2025-06-11 08:59:08 INFO [Gravitino-webserver-43] CatalogOperations:222 - Received load catalog request for catalog: test.pg1
2025-06-11 08:59:08 INFO [Gravitino-webserver-43] CatalogOperations:227 - Catalog loaded: test.pg1
2025-06-11 08:59:08 INFO [Gravitino-webserver-49] CatalogOperations:222 - Received load catalog request for catalog: test.cat_change
2025-06-11 08:59:08 INFO [Gravitino-webserver-49] CatalogOperations:227 - Catalog loaded: test.cat_change
2025-06-11 08:59:08 INFO [Gravitino-webserver-48] CatalogOperations:222 - Received load catalog request for catalog: test.c5s1
2025-06-11 08:59:08 INFO [Gravitino-webserver-48] CatalogOperations:227 - Catalog loaded: test.c5s1
2025-06-11 08:59:08 INFO [Gravitino-webserver-31] CatalogOperations:222 - Received load catalog request for catalog: test.fileset_catalog2
2025-06-11 08:59:08 INFO [Gravitino-webserver-31] CatalogOperations:227 - Catalog loaded: test.fileset_catalog2
2025-06-11 08:59:08 INFO [Gravitino-webserver-48] CatalogOperations:222 - Received load catalog request for catalog: test.c8
2025-06-11 08:59:08 INFO [Gravitino-webserver-48] CatalogOperations:227 - Catalog loaded: test.c8
2025-06-11 08:59:08 INFO [Gravitino-webserver-34] CatalogOperations:222 - Received load catalog request for catalog: test.test_fileset_2
2025-06-11 08:59:08 INFO [Gravitino-webserver-34] CatalogOperations:227 - Catalog loaded: test.test_fileset_2
2025-06-11 08:59:08 INFO [Gravitino-webserver-45] CatalogOperations:222 - Received load catalog request for catalog: test.hdfs_catalog
2025-06-11 08:59:08 INFO [Gravitino-webserver-45] CatalogOperations:227 - Catalog loaded: test.hdfs_catalog
2025-06-11 08:59:08 INFO [Gravitino-webserver-54] CatalogOperations:222 - Received load catalog request for catalog: test.s3_token_change
2025-06-11 08:59:08 INFO [Gravitino-webserver-54] CatalogOperations:227 - Catalog loaded: test.s3_token_change
2025-06-11 08:59:08 INFO [Gravitino-webserver-54] CatalogOperations:222 - Received load catalog request for catalog: test.c5
2025-06-11 08:59:08 INFO [Gravitino-webserver-54] CatalogOperations:227 - Catalog loaded: test.c5
2025-06-11 08:59:08 INFO [Gravitino-webserver-54] CatalogOperations:222 - Received load catalog request for catalog: test.c10
2025-06-11 08:59:08 INFO [Gravitino-webserver-54] CatalogOperations:227 - Catalog loaded: test.c10
2025-06-11 08:59:08 INFO [Gravitino-webserver-54] CatalogOperations:222 - Received load catalog request for catalog: test.c1
2025-06-11 08:59:08 INFO [Gravitino-webserver-54] CatalogOperations:227 - Catalog loaded: test.c1
2025-06-11 08:59:08 INFO [Gravitino-webserver-37] CatalogOperations:222 - Received load catalog request for catalog: test.test_fileset
2025-06-11 08:59:08 INFO [Gravitino-webserver-37] CatalogOperations:227 - Catalog loaded: test.test_fileset
2025-06-11 08:59:08 INFO [Gravitino-webserver-36] CatalogOperations:222 - Received load catalog request for catalog: test.my1
2025-06-11 08:59:08 INFO [Gravitino-webserver-36] CatalogOperations:227 - Catalog loaded: test.my1
2025-06-11 08:59:08 INFO [Gravitino-webserver-44] CatalogOperations:222 - Received load catalog request for catalog: test.hadoop_pg
2025-06-11 08:59:08 INFO [Gravitino-webserver-44] CatalogOperations:227 - Catalog loaded: test.hadoop_pg
2025-06-11 08:59:08 INFO [Gravitino-webserver-41] CatalogOperations:222 - Received load catalog request for catalog: test.ice1
2025-06-11 08:59:08 INFO [Gravitino-webserver-41] CatalogOperations:227 - Catalog loaded: test.ice1
2025-06-11 08:59:08 INFO [Gravitino-webserver-50] CatalogOperations:222 - Received load catalog request for catalog: test.c6
2025-06-11 08:59:08 INFO [Gravitino-webserver-50] CatalogOperations:227 - Catalog loaded: test.c6
2025-06-11 08:59:08 INFO [Gravitino-webserver-50] CatalogOperations:84 - Received list catalog names request for metalake: demo,
2025-06-11 08:59:08 INFO [Gravitino-webserver-50] CatalogOperations:102 - List 3 catalogs under metalake: demo
2025-06-11 08:59:08 INFO [Gravitino-webserver-50] CatalogOperations:222 - Received load catalog request for catalog: demo.hive_catalog
2025-06-11 08:59:08 INFO [Gravitino-webserver-50] CatalogOperations:227 - Catalog loaded: demo.hive_catalog
2025-06-11 08:59:08 INFO [Gravitino-webserver-50] CatalogOperations:222 - Received load catalog request for catalog: demo.mysql_catalog
```
### How should we improve?
Print less logs when load catalog every 10s
--
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: commits-unsubscribe@gravitino.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Too much useless log about load catalog in gravitino_audit.log and gravitino-server.log [gravitino]
Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao commented on issue #7373:
URL: https://github.com/apache/gravitino/issues/7373#issuecomment-2965040210
Yes, I think even we can remove such logs, it is meaningless.
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Too much useless log about load catalog in gravitino_audit.log and gravitino-server.log [gravitino]
Posted by "Abyss-lord (via GitHub)" <gi...@apache.org>.
Abyss-lord commented on issue #7373:
URL: https://github.com/apache/gravitino/issues/7373#issuecomment-2964791953
> Some of them can be Debug Level loggings
Agreed. @jerryshao, do you think we should change the log level to debug?
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Too much useless log about load catalog in gravitino_audit.log and gravitino-server.log [gravitino]
Posted by "odysa (via GitHub)" <gi...@apache.org>.
odysa commented on issue #7373:
URL: https://github.com/apache/gravitino/issues/7373#issuecomment-2964848324
Well, If you folks agree to change log levels. I think it can be a `good first issue` to me
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Too much useless log about load catalog in gravitino_audit.log and gravitino-server.log [gravitino]
Posted by "odysa (via GitHub)" <gi...@apache.org>.
odysa commented on issue #7373:
URL: https://github.com/apache/gravitino/issues/7373#issuecomment-2962495559
Some of them can be Debug Level loggings
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Too much useless log about load catalog in gravitino_audit.log and gravitino-server.log [gravitino]
Posted by "danhuawang (via GitHub)" <gi...@apache.org>.
danhuawang commented on issue #7373:
URL: https://github.com/apache/gravitino/issues/7373#issuecomment-2961856576
[gravitino-server.log](https://github.com/user-attachments/files/20687860/gravitino-server.log)
[gravitino_audit.log](https://github.com/user-attachments/files/20687865/gravitino_audit.log)
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Too much useless log about load catalog in gravitino_audit.log and gravitino-server.log [gravitino]
Posted by "mchades (via GitHub)" <gi...@apache.org>.
mchades commented on issue #7373:
URL: https://github.com/apache/gravitino/issues/7373#issuecomment-3052594846
> > These logs are not useless, but rather indicate that an external client is frequently loading the catalog. If you are not conducting performance testing, you should investigate the source of these requests and verify whether such high-frequency requests are expected.
>
> If deploying Trino for data preview, Trino will call load catalog api per 10 seconds , and this will cause massive "Catalog loaded" log message especially catalogs number is increasing in production environment.
In practice, the number of catalogs is not very large, and Trino loads them every 10 seconds, which is not very frequent. I think this is acceptable.
Perhaps we can divide the log files by log level: `gravitino-server.log.INFO`, `gravitino-server.log.WARNING` and `gravitino-server.log.ERROR`, WDYT?
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Too much useless log about load catalog in gravitino_audit.log and gravitino-server.log [gravitino]
Posted by "mchades (via GitHub)" <gi...@apache.org>.
mchades commented on issue #7373:
URL: https://github.com/apache/gravitino/issues/7373#issuecomment-3071635310
> > > > These logs are not useless, but rather indicate that an external client is frequently loading the catalog. If you are not conducting performance testing, you should investigate the source of these requests and verify whether such high-frequency requests are expected.
> > >
> > >
> > > If deploying Trino for data preview, Trino will call load catalog api per 10 seconds , and this will cause massive "Catalog loaded" log message especially catalogs number is increasing in production environment.
> >
> >
> > In practice, the number of catalogs is not very large, and Trino loads them every 10 seconds, which is not very frequent. I think this is acceptable.
> > Perhaps we can divide the log files by log level: `gravitino-server.log.INFO`, `gravitino-server.log.WARNING` and `gravitino-server.log.ERROR`, WDYT?
>
> Then should we make this modification first?
No, you should follow the solution mentioned [there](https://github.com/apache/gravitino/pull/7604#issuecomment-3067594168) @lsyulong
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Too much useless log about load catalog in gravitino_audit.log and gravitino-server.log [gravitino]
Posted by "lsyulong (via GitHub)" <gi...@apache.org>.
lsyulong commented on issue #7373:
URL: https://github.com/apache/gravitino/issues/7373#issuecomment-2990120693
Hello, if you want to change the log printing level, can you assign this problem to me? I would like to study it. Thank you.
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Too much useless log about load catalog in gravitino_audit.log and gravitino-server.log [gravitino]
Posted by "mchades (via GitHub)" <gi...@apache.org>.
mchades commented on issue #7373:
URL: https://github.com/apache/gravitino/issues/7373#issuecomment-3050897830
These logs are not useless, but rather indicate that an external client is frequently loading the catalog. If you are not conducting performance testing, you should investigate the source of these requests and verify whether such high-frequency requests are expected.
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Too much useless log about load catalog in gravitino_audit.log and gravitino-server.log [gravitino]
Posted by "danhuawang (via GitHub)" <gi...@apache.org>.
danhuawang commented on issue #7373:
URL: https://github.com/apache/gravitino/issues/7373#issuecomment-3050949268
> These logs are not useless, but rather indicate that an external client is frequently loading the catalog. If you are not conducting performance testing, you should investigate the source of these requests and verify whether such high-frequency requests are expected.
If deploying Trino for data preview, Trino will call load catalog api per 10 seconds , and this will cause massive "Catalog loaded" log message especially catalogs number is increasing in production environment.
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Too much useless log about load catalog in gravitino_audit.log and gravitino-server.log [gravitino]
Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao closed issue #7373: [Improvement] Too much useless log about load catalog in gravitino_audit.log and gravitino-server.log
URL: https://github.com/apache/gravitino/issues/7373
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Too much useless log about load catalog in gravitino_audit.log and gravitino-server.log [gravitino]
Posted by "lsyulong (via GitHub)" <gi...@apache.org>.
lsyulong commented on issue #7373:
URL: https://github.com/apache/gravitino/issues/7373#issuecomment-3072321315
> > > > > These logs are not useless, but rather indicate that an external client is frequently loading the catalog. If you are not conducting performance testing, you should investigate the source of these requests and verify whether such high-frequency requests are expected.
> > > >
> > > >
> > > > If deploying Trino for data preview, Trino will call load catalog api per 10 seconds , and this will cause massive "Catalog loaded" log message especially catalogs number is increasing in production environment.
> > >
> > >
> > > In practice, the number of catalogs is not very large, and Trino loads them every 10 seconds, which is not very frequent. I think this is acceptable.
> > > Perhaps we can divide the log files by log level: `gravitino-server.log.INFO`, `gravitino-server.log.WARNING` and `gravitino-server.log.ERROR`, WDYT?
> >
> >
> > Then should we make this modification first?
>
> No, you should follow the solution mentioned [there](https://github.com/apache/gravitino/pull/7604#issuecomment-3067594168) [@lsyulong](https://github.com/lsyulong)
OKļ¼tks
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Too much useless log about load catalog in gravitino_audit.log and gravitino-server.log [gravitino]
Posted by "lsyulong (via GitHub)" <gi...@apache.org>.
lsyulong commented on issue #7373:
URL: https://github.com/apache/gravitino/issues/7373#issuecomment-3068860042
> > > These logs are not useless, but rather indicate that an external client is frequently loading the catalog. If you are not conducting performance testing, you should investigate the source of these requests and verify whether such high-frequency requests are expected.
> >
> >
> > If deploying Trino for data preview, Trino will call load catalog api per 10 seconds , and this will cause massive "Catalog loaded" log message especially catalogs number is increasing in production environment.
>
> In practice, the number of catalogs is not very large, and Trino loads them every 10 seconds, which is not very frequent. I think this is acceptable.
>
> Perhaps we can divide the log files by log level: `gravitino-server.log.INFO`, `gravitino-server.log.WARNING` and `gravitino-server.log.ERROR`, WDYT?
Then should we make this modification first?
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Too much useless log about load catalog in gravitino_audit.log and gravitino-server.log [gravitino]
Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 commented on issue #7373:
URL: https://github.com/apache/gravitino/issues/7373#issuecomment-2993503574
> Hello, if you want to change the log printing level, can you assign this problem to me? I would like to study it. Thank you.
Sure, go ahead and assign it to you.
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org