Hi Eric,
Sorry for the late reply.
3) I think we have already had `dolphinscheduler-daemon.sh` under `bin/`
dir.
Users could use `bin/dolphinscheduler-daemon.sh start / stop xxx` to
manage each component.
*-- I agree with you. And I suggest that we need to add a guide to doc.*
4) We need more details to understand this point. Could you please submit a
new issue with details and examples?
*-- Please check the following screenshot. I think there is the
following problem with the current log printing*
1) Log printing is cluttered, It is not easy for users to see effective
information clearly and quickly
2) Some log descriptions are inaccurate, and there are obvious syntax
errors
3) Is it necessary for us to create a log file to save the user records
of the operation log? And the time and user are recorded in front of each
log,such as "*[2022/08/27 21:45:40.345][INFO][root][8.8.8.8] Starting the
cluster service...*"
[image: image.png]
Also, regarding the first and second items, can I start to code?thx
B. R.
Yann
On Thu, Aug 25, 2022 at 2:50 PM Chufeng Gao <[email protected]> wrote:
> Hi Yann,
>
> Thanks for bringing this into discussion.
>
> IMHO, for the four points you mentioned above:
>
> 1) Changing the current cluster management scripts into `cluster.sh
> start|stop|status` sounds good to me.
> It keeps things neat and concise.
>
> 2) Moving `scp-hosts.sh`, remove-zk-node.sh`, etc. to `/tools` dir is a
> good idea.
> It makes those scripts more organizable and prevent users from getting
> confused.
>
> 3) I think we have already had `dolphinscheduler-daemon.sh` under `bin/`
> dir.
> Users could use `bin/dolphinscheduler-daemon.sh start / stop xxx` to
> manage each component.
>
> 4) We need more details to understand this point. Could you please submit a
> new issue with details and examples?
>
> Thanks again!
>
> *Best Regards,*
>
> *Chufeng (Eric) Gao*
>
>
>
> yann ann <[email protected]> 于2022年8月23日周二 21:30写道:
>
> > Subject: Some ideas for #11579
> > Dears,
> >
> > First of all, thanks for Wenjun Ruan's advice, allowing me to have the
> > opportunity to say some of my ideas about the issue:#11579
> > <https://github.com/apache/dolphinscheduler/issues/11579>
> >
> > Here are some of my thoughts, please review them:
> > 1) I think that the current service start, stop and service check
> scripts
> > are not named accurately enough to convey the meaning. Could we renamed
> to
> > start-cluster.sh、stop-cluster.sh and status-cluster.sh, or just
> cluster.sh
> > start|stop|status.
> > 2) I think it is better to store only the start、stop and status scripts
> of
> > the cluster service in the /bin directory. Move the tool script such
> > as scp-hosts.sh and remove-zk-node.sh to /tools dir. This can help users
> > focus on the operation scripts of the cluster service, while shielding
> > users from the tool scripts in the process.
> > 3) Could we consider adding entry scripts for starting and stopping a
> > single application in the /bin directory, not just
> > {application}/bin/start.sh
> > 4) The printing format of some log in the current script can also be
> more
> > elegant and tidy. And i think write to a log file at the same time should
> > be better for product env.
> >
> > Sure, personal suggestion, for reference only.
> > Thanks.
> >
> > B. R.
> > Yann
> >
>