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
> &nbsp; &nbsp;├── data
> &nbsp; &nbsp;├── ext
> &nbsp; &nbsp;├── logs
>
> ├── data
> &nbsp; &nbsp;├── data
> &nbsp; &nbsp;├── logs
>
>
>
> In Choice2, folder in apache-iotdb-0.14.0-SNAPSHOT-all-bin will like that:
> ├── confignode
> &nbsp; &nbsp;├── conf
> &nbsp; &nbsp;├── data
> &nbsp; &nbsp;├── ext
> &nbsp; &nbsp;├── logs
> &nbsp; &nbsp;└── sbin
> ├── datanode
> &nbsp; &nbsp;├── conf
> &nbsp; &nbsp;├── data
> &nbsp; &nbsp;├── logs
> &nbsp; &nbsp;└── sbin
>
>
>
>
>
>
>
> ------------------&nbsp;Original&nbsp;------------------
> From:                                                                         
>                                                "SpriCoder"                    
>                                                                 
> <[email protected]&gt;;
> Date:&nbsp;Tue, Jul 5, 2022 05:54 PM
> To:&nbsp;"dev"<[email protected]&gt;;
>
> Subject:&nbsp;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

Reply via email to