You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey Kuznetsov (Jira)" <ji...@apache.org> on 2020/03/24 12:17:00 UTC

[jira] [Updated] (IGNITE-12832) Add user attributes support to control.sh

     [ https://issues.apache.org/jira/browse/IGNITE-12832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey Kuznetsov updated IGNITE-12832:
--------------------------------------
    Description: 
Change [1] introduced user attributes for various thin clients. {{control.sh|bat}} script uses {{GridClient}} to connect to cluster, but it's impossible to set user attributes in corresponding {{GridClientConfiguration}} currenly. I suggest to add {{.properties}} file support, so that user attributes could be set in a file specified by {{--user-attrs-file /path/to/filename.properties}} as {{attrName=attrValue}} lines.

[1] https://issues.apache.org/jira/browse/IGNITE-12049

  was:
Change [1] introduced user attributes for various thin clients. {{control.sh|bat}} script uses {{GridClient}} to connect to cluster, but it's impossible to set user attributes in corresponding {{GridClientConfiguration}} currenly. I suggest to add such an ability by adding {{--attr-some-attr-name=attrValue}} command line option.

To prevent command line pollution I also suggest to implement {{.properties}} file support, so that command line arguments (including {{--attr*}} arguments) could be hidden in a file specified by {{--config filename.properties}}. In case of duplication explicit command line arguments should take precedence over arguments set in {{.properties}} file.

[1] https://issues.apache.org/jira/browse/IGNITE-12049


> Add user attributes support to control.sh
> -----------------------------------------
>
>                 Key: IGNITE-12832
>                 URL: https://issues.apache.org/jira/browse/IGNITE-12832
>             Project: Ignite
>          Issue Type: Improvement
>    Affects Versions: 2.8
>            Reporter: Andrey Kuznetsov
>            Assignee: Oleg Ostanin
>            Priority: Major
>
> Change [1] introduced user attributes for various thin clients. {{control.sh|bat}} script uses {{GridClient}} to connect to cluster, but it's impossible to set user attributes in corresponding {{GridClientConfiguration}} currenly. I suggest to add {{.properties}} file support, so that user attributes could be set in a file specified by {{--user-attrs-file /path/to/filename.properties}} as {{attrName=attrValue}} lines.
> [1] https://issues.apache.org/jira/browse/IGNITE-12049



--
This message was sent by Atlassian Jira
(v8.3.4#803005)