w41ter opened a new pull request, #34945: URL: https://github.com/apache/doris/pull/34945
## Proposed changes Issue Number: close #xxx The former implementation does not report the conf name and value when the input is illegal, just like: ``` Using Java version 17 -Djavax.security.auth.useSubjectCredsOnly=false -)XX:+UseZGC -Xmx8192m -Xms8192m -XX:+HeapDumpOnoutofMemoryError -XX:HeapDumpPath=/mnt/hdd01/ci/master-deploy/fe/log/ -Xlog:gc*:/mnt/ hdd01/ci/master-deploy/fe/log/fe.gc.log.:time -Dcom.mysql.cj.disableAbandonedConnectionCleanup=true Thu 16 May 2024 10:26:36 AM CST java.lang.IllegalArgumentException: type mismatch at org.apache.doris.common.ConfigBase.isBoolean(CoonfigBase.java:310) at org.apache.doris.common.ConfigBase.setConfigField(ConfigBase.java:254) at org.apache.doris.common.ConfigBase.setFields(ConfigBase.java:227) at org.apache.doris.common.ConfigBase.initConf(ConfigBase.java:142) at org.apache.doris.common.ConfigBase.init(ConfigBase.java:109) at org.apache.doris.DorisFE.start(DorisFE.java:106) at org.apache.doris.DorisFE.main(DorisFE.java:83 ``` This PR adds conf name and value in the exception reports to help users to locate the invalid config. ## Further comments If this is a relatively large or complex change, kick off the discussion at [[email protected]](mailto:[email protected]) by explaining why you chose the solution you did and what alternatives you considered, etc... -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
