I think the choice 2 is better, since configNode and dataNode will be deployed separately and multi-replica means the dir will be copied.
SpriCoder <[email protected]> 于2022年7月6日周三 12:04写道: > > To more specific: > In Choice 1, folders in apache-iotdb-0.14.0-SNAPSHOT-all-bin will like that: > ├── sbin > ├── conf > ├── config > ├── data > ├── ext > ├── logs > > ├── data > ├── data > ├── logs > > > > In Choice2, folder in apache-iotdb-0.14.0-SNAPSHOT-all-bin will like that: > ├── confignode > ├── conf > ├── data > ├── ext > ├── logs > └── sbin > ├── datanode > ├── conf > ├── data > ├── logs > └── sbin > > > > > > > > ------------------ Original ------------------ > From: > "SpriCoder" > > <[email protected]>; > Date: Tue, Jul 5, 2022 05:54 PM > To: "dev"<[email protected]>; > > Subject: The structure of distribution > > > > Hi all, > > Currently, we have confignode and datanode folder in the distribution. Which > has conf, sbin, and will store the default folder of data and system. And > there is a need to refactor distribution structure. > > I think there are two choices: > > 1. remove the confignode and datanode folder, and combine their script and > configuration files into the conf and sbin under the root. In this way all > folder generated by confignode will be put into config folder, and all folder > generated by confignode will be put into data folder. > > 2. use confignode and datanode folder to manage their script and > configuration files, like: confignode/sbin, confignode/conf, datanode/sbin, > datanode/conf, etc. In this way all folder generated by confignode will be > put into confignode folder and all folder generated by datanode will be put > into datanode folder. > > > > > What's your opinion? Looking forward to your reply. > > > Best, > > --------------------------------------------------------------- > > Hongyin Zhang
