You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "刘珍 (Jira)" <ji...@apache.org> on 2021/11/19 09:28:00 UTC

[jira] [Created] (IOTDB-2035) The log level of config file error information should be "error" and the parameter name should be printed

刘珍 created IOTDB-2035:
-------------------------

             Summary: The log level of  config file error information should be "error" and the parameter name should be printed
                 Key: IOTDB-2035
                 URL: https://issues.apache.org/jira/browse/IOTDB-2035
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Core/Server
    Affects Versions: master branch, 0.12.3
            Reporter: 刘珍


master & rel/0.12

1. WARN -> ERROR (WARN级别改为ERROR)
2. the parameter name should be printed (参数名称应该打印出来)

2021-11-19 17:17:08,924 [main] {color:#DE350B}*WARN  *{color}o.a.i.d.c.IoTDBDescriptor:781 - Incorrect format in config file, use default configuration
{color:#DE350B}*java.lang.NumberFormatException: For input string: "a"*{color}
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Integer.parseInt(Integer.java:580)
        at java.lang.Integer.parseInt(Integer.java:615)
        at org.apache.iotdb.db.conf.IoTDBDescriptor.initMemoryAllocate(IoTDBDescriptor.java:1213)
        at org.apache.iotdb.db.conf.IoTDBDescriptor.loadProps(IoTDBDescriptor.java:203)
        at org.apache.iotdb.db.conf.IoTDBDescriptor.<init>(IoTDBDescriptor.java:52)
        at org.apache.iotdb.db.conf.IoTDBDescriptor$IoTDBDescriptorHolder.<clinit>(IoTDBDescriptor.java:1300)
        at org.apache.iotdb.db.conf.IoTDBDescriptor.getInstance(IoTDBDescriptor.java:56)
        at org.apache.iotdb.db.metadata.MManager.<clinit>(MManager.java:151)
        at org.apache.iotdb.db.service.IoTDB.<clinit>(IoTDB.java:55)




--
This message was sent by Atlassian Jira
(v8.20.1#820001)