ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Tupitsyn (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-2025) visorcmd doesn't clear local cache on client node
Date Tue, 09 Aug 2016 12:33:29 GMT

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

Pavel Tupitsyn updated IGNITE-2025:
-----------------------------------
    Fix Version/s:     (was: 1.7)
                   1.8

> visorcmd doesn't clear local cache on client node
> -------------------------------------------------
>
>                 Key: IGNITE-2025
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2025
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: 1.5.0.final
>            Reporter: Pavel Konstantinov
>             Fix For: 1.8
>
>
> # start server and client nodes with local cache
> # populate local cache on client node
> # execute 'cache -c=<local-cahce> -a' 
> {code}
> Nodes for: oh_local(@c11)
> +============================================================================================+
> |     Node ID8(@), IP      | CPUs | Heap Used | CPU Load |   Up Time    | Size | Hi/Mi/Rd/Wr
|
> +============================================================================================+
> | AB439AC6(@n0), 127.0.0.1 | 8    | 59.63 %   | 4.77 %   | 00:26:04:528 | 0    | Hi:
0       |
> |                          |      |           |          |              |      | Mi:
0       |
> |                          |      |           |          |              |      | Rd:
0       |
> |                          |      |           |          |              |      | Wr:
0       |
> +--------------------------+------+-----------+----------+--------------+------+-------------+
> | 5F31343A(@n2), 127.0.0.1 | 8    | 84.63 %   | 3.00 %   | 00:17:37:568 | 0    | Hi:
0       |
> |                          |      |           |          |              |      | Mi:
0       |
> |                          |      |           |          |              |      | Rd:
0       |
> |                          |      |           |          |              |      | Wr:
0       |
> +--------------------------+------+-----------+----------+--------------+------+-------------+
> | 0251B9C4(@n1), 127.0.0.1 | 8    | 26.68 %   | 3.60 %   | 00:25:47:708 | 0    | Hi:
27144   |
> |                          |      |           |          |              |      | Mi:
18156   |
> |                          |      |           |          |              |      | Rd:
45300   |
> |                          |      |           |          |              |      | Wr:
186820  |
> +--------------------------------------------------------------------------------------------+
> {code}
> # execute 'cache -clear -c=<local-cache>
> {code}
> visor> cache -clear -c=oh_local
> Cleared cache with name: oh_local
> +======================================================+
> |  Node ID8(@)  | Cache Size Before | Cache Size After |
> +======================================================+
> | AB439AC6(@n0) | 0                 | 0                |
> +------------------------------------------------------+
> {code}
> # then execute 'cache -c=<local-cahce> -a' 
> {code}
> Nodes for: oh_local(@c11)
> +============================================================================================+
> |     Node ID8(@), IP      | CPUs | Heap Used | CPU Load |   Up Time    | Size | Hi/Mi/Rd/Wr
|
> +============================================================================================+
> | AB439AC6(@n0), 127.0.0.1 | 8    | 59.63 %   | 4.77 %   | 00:26:04:528 | 0    | Hi:
0       |
> |                          |      |           |          |              |      | Mi:
0       |
> |                          |      |           |          |              |      | Rd:
0       |
> |                          |      |           |          |              |      | Wr:
0       |
> +--------------------------+------+-----------+----------+--------------+------+-------------+
> | 5F31343A(@n2), 127.0.0.1 | 8    | 84.63 %   | 3.00 %   | 00:17:37:568 | 0    | Hi:
0       |
> |                          |      |           |          |              |      | Mi:
0       |
> |                          |      |           |          |              |      | Rd:
0       |
> |                          |      |           |          |              |      | Wr:
0       |
> +--------------------------+------+-----------+----------+--------------+------+-------------+
> | 0251B9C4(@n1), 127.0.0.1 | 8    | 26.68 %   | 3.60 %   | 00:25:47:708 | 0    | Hi:
27144   |
> |                          |      |           |          |              |      | Mi:
18156   |
> |                          |      |           |          |              |      | Rd:
45300   |
> |                          |      |           |          |              |      | Wr:
186820  |
> +--------------------------------------------------------------------------------------------+
> {code}
> visorcmd should send 'clear' to all nodes in case of local cache or ask user to point
node



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message