[ 
https://issues.apache.org/jira/browse/IGNITE-6913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16258915#comment-16258915
 ] 

Pavel Konstantinov edited comment on IGNITE-6913 at 11/20/17 8:00 AM:
----------------------------------------------------------------------

# 'baseline set version ' doesn't work - new nodes were not added to baseline
# print some error message if user set incorrect consistentID for adding to 
baseline
# improve error handling - parse exception text to shoe error on top level
{code}
.\control.bat --baseline remove 85021a74-9612-4818-994b-d3b39ba95d80
Control utility [ver. 2.4.1#20171115-sha1:c6d1fa4d]
2017 Copyright(C) Apache Software Foundation
User: kope1
--------------------------------------------------------------------------------
Failed to remove nodes from baseline.
Error: Failed to handle request: [req=EXE, 
taskName=org.apache.ignite.internal.visor.baseline.VisorBaselineTask, 
params=[VisorTaskArgument [debug=false]], err=Removing online nodes from 
BaselineTopology is not supported.]
{code}
# show error message if current topology version doesn't match version in 
command 'baseline version VERSION', otherwise the result can be deceiving


was (Author: pkonstantinov):
{code}
# 'baseline set version ' doesn't work - new nodes were not added to baseline
# print some error message if user set incorrect consistentID for adding to 
baseline
# improve error handling - parse exception text to shoe error on top level
{code}
.\control.bat --baseline remove 85021a74-9612-4818-994b-d3b39ba95d80
Control utility [ver. 2.4.1#20171115-sha1:c6d1fa4d]
2017 Copyright(C) Apache Software Foundation
User: kope1
--------------------------------------------------------------------------------
Failed to remove nodes from baseline.
Error: Failed to handle request: [req=EXE, 
taskName=org.apache.ignite.internal.visor.baseline.VisorBaselineTask, 
params=[VisorTaskArgument [debug=false]], err=Removing online nodes from 
BaselineTopology is not supported.]
{code}
# show error message if current topology version doesn't match version in 
command 'baseline version VERSION', otherwise the result can be deceiving
{code}

> Add support for baseline manipulations to controls.sh
> -----------------------------------------------------
>
>                 Key: IGNITE-6913
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6913
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Alexey Kuznetsov
>            Assignee: Alexey Kuznetsov
>             Fix For: 2.4
>
>
> This is a ticket to make required changes baseline topology introduced in 
> Ignite:
> [https://issues.apache.org/jira/browse/IGNITE-6310] 
> We can reuse control.sh script, and add few new commands.
> # Print current baseline: `./control.sh --baseline`
> # Add nodes to baseline: `./control.sh --baseline add 
> constId1[,constid2,....,constidN]`
> # Remove nodes from baseline: ./control.sh --baseline remove 
> constid1[,constid2,....,constidN]
> # Set baseline: `./control.sh --baseline set constid1[,constid2,....,constidN]
> # Set baseline for version: `./control.sh --baseline version topVersion`



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to