You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by Vadim Pakhnushev <vp...@unison.team> on 2022/07/26 12:01:42 UTC

URL parameters in CLI

Hi Igniters!
After implementing commands for CLI tool listed in the IEP-88
https://cwiki.apache.org/confluence/display/IGNITE/IEP-88%3A+CLI+Tool some
early users raised a concern about confusion between --node-url and
--cluster-url arguments.
Initially --node-url was intended to be used in commands dealing with the
particular node (i.e. node config show) and --cluster-url for commands
dealing with the cluster as a whole (i.e. cluster config show).
Although cluster URL is basically a URL of any node in the cluster.
So the question for discussion is - would it make sense to unify parameters
to both cluster- and node-related commands to be --node-url?
Or it would be better to keep the distinction?

Re: URL parameters in CLI

Posted by Andrey Gura <ag...@apache.org>.
The main question here is : what is the node URL? How will the user
know a port from a wide port range?

On Tue, Jul 26, 2022 at 3:01 PM Vadim Pakhnushev
<vp...@unison.team> wrote:
>
> Hi Igniters!
> After implementing commands for CLI tool listed in the IEP-88
> https://cwiki.apache.org/confluence/display/IGNITE/IEP-88%3A+CLI+Tool some
> early users raised a concern about confusion between --node-url and
> --cluster-url arguments.
> Initially --node-url was intended to be used in commands dealing with the
> particular node (i.e. node config show) and --cluster-url for commands
> dealing with the cluster as a whole (i.e. cluster config show).
> Although cluster URL is basically a URL of any node in the cluster.
> So the question for discussion is - would it make sense to unify parameters
> to both cluster- and node-related commands to be --node-url?
> Or it would be better to keep the distinction?