ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Konstantinov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-2025) visorcmd doesn't clear local cache on client node
Date Sun, 29 Nov 2015 06:03:10 GMT

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

Pavel Konstantinov updated IGNITE-2025:
---------------------------------------
    Description: 
# 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 cacse of local cache or ask user to point cache


  was:
# 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}
It's seems that the problem with the client node.



> 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
>            Reporter: Pavel Konstantinov
>             Fix For: 1.6
>
>
> # 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 cacse of local cache or ask user to point
cache



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

Mime
View raw message