Re:The structure of distribution

2022-07-11 Thread SpriCoder
Finally, From my perspective, one possible structure like below:


.
?? LICENSE
?? NOTICE
?? README.md
?? README_ZH.md
?? RELEASE_NOTES.md
?? sbin
??   ?? start-cli.bat
??   ?? start-cli.sh

?? confignode
??   ?? conf
??   ??   ?? confignode-env.bat
??   ??   ?? confignode-env.sh
??   ??   ?? iotdb-confignode.properties
??   ??   ?? iotdb-metric.yml
??   ??   ?? jmx.access
??   ??   ?? jmx.password
??   ??   ?? logback-tool.xml
??   ??   ?? logback.xml
??   ?? sbin
??       ?? remove-confignode.sh
??       ?? start-confignode.bat
??       ?? start-confignode.sh
??       ?? stop-confignode.bat
??       ?? stop-confignode.sh
?? datanode
??   ?? conf
??   ??   ?? datanode-env.bat
??   ??   ?? datanode-env.sh
??   ??   ?? iotdb-datanode.properties
??   ??   ?? iotdb-metric.yml
??   ??   ?? iotdb-rest.properties
??   ??   ?? jmx.access
??   ??   ?? jmx.password
??   ??   ?? logback-tool.xml
??   ??   ?? logback.xml
??   ?? sbin
??       ?? remove-datanode.bat
??       ?? remove-datanode.sh
??       ?? start-datanode.bat
??       ?? start-datanode.sh
??       ?? stop-datanode.bat
??       ?? stop-datanode.sh
?? standalone
??   ?? conf
??   ??   ?? datanode-env.bat
??   ??   ?? datanode-env.sh
??   ??   ?? iotdb-datanode.properties
??   ??   ?? iotdb-metric.yml
??   ??   ?? iotdb-rest.properties
??   ??   ?? jmx.access
??   ??   ?? jmx.password
??   ??   ?? logback-tool.xml
??   ??   ?? logback.xml
??   ?? sbin
??       ?? start-new-server.bat
??       ?? start-new-server.sh
??       ?? start-server.bat
??       ?? start-server.sh
??       ?? stop-server.bat
??       ?? stop-server.sh

?? docs
?? grafana-metrics-example
?? lib
?? licenses
?? tools







-- Original --
From:   
 "SpriCoder"



Re:The structure of distribution

2022-07-07 Thread SpriCoder
I think maybe the binary name can still 
called "apache-iotdb-{version}-bin-all.zip" if we add standalone folder to 
store our singleton version?
?? confignode 
       ?? conf 
       ?? data
       ?? ext 
       ?? logs 
       ?? sbin ?? datanode  
       ?? conf 
       ?? data
       ?? logs
       ?? sbin
?? standalone
       ?? conf 
       ?? data
       ?? logs
       ?? sbin

?? lib
As for the second question, I think maybe we can add sbin folder in root folder 
to hold cluster-related scripts like:
?? sbin
?? confignode 
       ?? conf 
       ?? data
       ?? ext 
       ?? logs 
       ?? sbin ?? datanode  
       ?? conf 
       ?? data
       ?? logs
       ?? sbin
?? standalone
       ?? conf 
       ?? data
       ?? logs
       ?? sbin

?? lib


What's your opinion? Looking forward to your suggestion!



Best,

---

Hongyin Zhang



-- Original --
From:   
 "SpriCoder"



Re:The structure of distribution

2022-07-06 Thread SpriCoder
Get it!




-- Original --
From:   
 "SpriCoder"



Re:The structure of distribution

2022-07-06 Thread SpriCoder
lib folder is a single one under root folder like:
?? datanode
?? confignode


?? lib




-- Original --
From:   
 "SpriCoder"



Re:The structure of distribution

2022-07-05 Thread Yongzao Dan
I think choices 2 might be better, because this helps distinguish ConfigNode 
from DataNode Best,

---
Yongzao Dan






-- Original --
From: "SpriCoder"

Re:The structure of distribution

2022-07-05 Thread SpriCoder
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"