[
https://issues.apache.org/jira/browse/IGNITE-3446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15374544#comment-15374544
]
Pavel Konstantinov commented on IGNITE-3446:
--------------------------------------------
# start 3 servers and 1 client, then 'kill -k' to kill all nodes
{code}
Hosts: 1
+============================================================================================================+
| Int./Ext. IPs | Node ID8(@) | Node Type | OS | CPUs |
MACs | CPU Load |
+============================================================================================================+
| 127.0.0.1 | 1: F5514C0F(@n0) | Server | Windows 8.1 amd64 6.3 | 8 |
0A:00:27:00:00:07 | 7.30 % |
| | 2: 575B849C(@n1) | Server | | |
1E:85:56:55:52:B5 | |
| | 3: 29DEC31A(@n2) | Client | | |
BC:85:56:55:52:B5 | |
| | 4: FC9A5A3D(@n3) | Server | | |
7C:05:07:A3:B3:C2 | |
| | | | | |
5E:85:56:55:52:B5 | |
| | | | | |
0A:00:27:00:00:0A | |
| | | | | |
BC:85:56:55:52:B6 | |
+------------------------------------------------------------------------------------------------------------+
Summary:
+-------------------------------------+
| Total hosts | 1 |
| Total nodes | 4 |
| Total CPUs | 8 |
| Avg. CPU load | 7.30 % |
| Avg. free heap | 63.00 % |
| Avg. Up time | 00:01:57 |
| Snapshot time | 07/13/16, 14:44:39 |
+-------------------------------------+
visor> kill -k
Are you sure you want to kill ALL nodes? (y/n) [n]: y
You are about to kill ALL nodes. Are you 100% sure? (y/n) [n]: y
visor>
[14:46:41,592][SEVERE][exchange-worker-#34%tester%][GridCachePartitionExchangeManager]
Failed to wait for completion of partition map exchange (preloading will not
start): GridDhtPartitionsExchangeFuture [dummy=false, forcePreload=false,
reassign=false, discoEvt=DiscoveryEvent [evtNode=TcpDiscoveryNode
[id=fc9a5a3d-3f3e-4bd9-9b8c-4d20aaf23f1e, addrs=[127.0.0.1],
sockAddrs=[/127.0.0.1:47502], discPort=47502, order=5, intOrder=5,
lastExchangeTime=1468395786911, loc=false, ver=1.6.0#19700101
-sha1:00000000, isClient=false], topVer=6, nodeId8=00de7186, msg=Node left:
TcpDiscoveryNode [id=fc9a5a3d-3f3e-4bd9-9b8c-4d20aaf23f1e, addrs=[127.0.0.1],
sockAddrs=[/127.0.0.1:47502], discPort=47502, order=5, intOrder=5,
lastExchangeTime=1468395786911, loc=false, ver=1.6.0#19700101-sha1:00000000,
isClient=false], type=NODE_LEFT, tstamp=1468396001491],
rcvdIds=GridConcurrentHashSet [elements=[575b849c-4510-439c-8ce9-5992487006a7,
f5514c0f-5763-4550-a1a0-3193fb22e5b9]], rmtIds=[575b849c-4510-439c-
8ce9-5992487006a7, f5514c0f-5763-4550-a1a0-3193fb22e5b9],
exchId=GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=6,
minorTopVer=0], nodeId=fc9a5a3d, evt=NODE_LEFT], init=true, ready=false,
replied=false, added=true, initFut=GridFutureAdapter [resFlag=2, res=true,
startTime=1468396001501, endTime=1468396001501, ignoreInterrupts=false,
lsnr=null, state=DONE], topSnapshot=null, lastVer=null, partReleaseFut=null,
skipPreload=true, clientOnlyExchange=true, initTs=1468396001501, old
est=f5514c0f-5763-4550-a1a0-3193fb22e5b9, oldestOrder=1, evtLatch=0,
remaining=[], super=GridFutureAdapter [resFlag=1, res=class
o.a.i.i.cluster.ClusterTopologyCheckedException: Failed to wait for exchange
future, all server nodes left., startTime=1468396001501, endTime=1468396001582,
ignoreInterrupts=false, lsnr=null, state=DONE]]
class org.apache.ignite.internal.cluster.ClusterTopologyCheckedException:
Failed to wait for exchange future, all server nodes left.
at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture$5.apply(GridDhtPartitionsExchangeFuture.java:1507)
at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture$5.apply(GridDhtPartitionsExchangeFuture.java:1433)
at
org.apache.ignite.internal.util.future.GridFutureAdapter.notifyListener(GridFutureAdapter.java:262)
at
org.apache.ignite.internal.util.future.GridFutureAdapter.listen(GridFutureAdapter.java:225)
at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onNodeLeft(GridDhtPartitionsExchangeFuture.java:1433)
at
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$1.onEvent(GridCachePartitionExchangeManager.java:199)
at
org.apache.ignite.internal.managers.eventstorage.GridEventStorageManager.notifyListeners(GridEventStorageManager.java:770)
at
org.apache.ignite.internal.managers.eventstorage.GridEventStorageManager.notifyListeners(GridEventStorageManager.java:755)
at
org.apache.ignite.internal.managers.eventstorage.GridEventStorageManager.record(GridEventStorageManager.java:295)
at
org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$DiscoveryWorker.recordEvent(GridDiscoveryManager.java:2025)
at
org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$DiscoveryWorker.body0(GridDiscoveryManager.java:2232)
at
org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$DiscoveryWorker.body(GridDiscoveryManager.java:2065)
at
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
{code}
> Visor CMD: improve usability for batch mode
> -------------------------------------------
>
> Key: IGNITE-3446
> URL: https://issues.apache.org/jira/browse/IGNITE-3446
> Project: Ignite
> Issue Type: Task
> Components: visor
> Reporter: Alexey Kuznetsov
> Assignee: Pavel Konstantinov
> Fix For: 1.7
>
>
> # Do not require confirmation in batch mode.
> # Add two new variables: @nr - will return oldest node on other hosts, @nl -
> will return oldest node on host where visor cmd is running
> # Add options -al (all local nodes) -ar (all remote nodes) to kill command.
> # Add -sc (skip client) for -al, -ar options.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)