[ 
https://issues.apache.org/jira/browse/IOTDB-5857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ZhangZhengming reassigned IOTDB-5857:
-------------------------------------

    Assignee: Xinyu Tan

> [config-file] Configuration file error, not reporting error location and 
> parameters
> -----------------------------------------------------------------------------------
>
>                 Key: IOTDB-5857
>                 URL: https://issues.apache.org/jira/browse/IOTDB-5857
>             Project: Apache IoTDB
>          Issue Type: Improvement
>            Reporter: ZhangZhengming
>            Assignee: Xinyu Tan
>            Priority: Major
>         Attachments: image-2023-05-10-09-39-12-332.png
>
>
> When I starting datanode, an error occurred in my configuration file.
>  # I don't know {color:#de350b}which file has an error on which line{color}
>  * 
>  ** As shown in the following figure, I thought there was an error in file 
> iotdb-datanode.properties, but it was actually file iotdb-common.properties
>  #  When the configuration file is incorrect, iotdb will automatically load 
> the default configuration
>  ** As shown in the following figure, I {color:#de350b}set a real ip for 
> dn_target_config_node_list {color}
> in file iotdb-datanode.properties. However, due to errors in other 
> configuration files, then iotdb chose to connect to the 
> {color:#de350b}default 127.0.0.1, Can that succeed?{color}
>  * 
>  ** Since the{color:#de350b} user has already modified the configuration 
> file{color}, even if there are errors, {color:#de350b}{color:#de350b}loading 
> the default configuration is not what the user wants{color:#505f79}, iotdb 
> reporting an error and exiting is a better solution{color}{color}{color}
> I suggest, When an error occurs in any file, an error should be reported 
> {color:#de350b}indicating the incorrect location or parameter{color}, and 
> {color:#de350b}iotdb should exited{color}
>  
> !image-2023-05-10-09-39-12-332.png|width=1523,height=772!
>  
> {color:#505f79}({color}Potential issues:
> Due to an error in the configuration file iotdb-datanode.properties and 
> iotdb-confignode.properties, the default configuration was loaded and iotdb 
> successfully started. 
> After the user has made the correct modifications, the data directory must be 
> cleaned to successfully start again. {color:#505f79}){color}
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to