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] [Comment Edited] (IGNITE-9503) Visor CMD shows wrong REPLICATED cache max size
Date Tue, 11 Sep 2018 09:30:00 GMT

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

Pavel Konstantinov edited comment on IGNITE-9503 at 9/11/18 9:29 AM:
---------------------------------------------------------------------

# Add a space between numbers, f.e. (from your screenshot) '0 / 5571'
# print 'n/a' instead of zero numbers

after that the ticket can be merged


was (Author: pkonstantinov):
# Add a space between numbers, f.e. (from your screenshot) '0 / 5571'
# print 'n/a' instead of zero numbers

> Visor CMD shows wrong REPLICATED cache max size
> -----------------------------------------------
>
>                 Key: IGNITE-9503
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9503
>             Project: Ignite
>          Issue Type: Task
>          Components: visor
>    Affects Versions: 2.5
>            Reporter: Denis Magda
>            Assignee: Vasiliy Sisko
>            Priority: Critical
>             Fix For: 2.7
>
>         Attachments: image-2018-09-11-11-14-02-347.png
>
>
> Started 2 nodes with a single replicated cache. Preloaded _500000_ entries there. 
> Visor CMD *cache* command shows a wrong total
> {code}
> +========================================================================================================================================+
> |            Name(@)            |    Mode    | Nodes |     Entries (Heap / Off-heap)
    |   Hits    |  Misses   |   Reads   |  Writes   |
> +========================================================================================================================================+
> | CacheDataStreamerExample(@c0) | REPLICATED | 2     | min: 246106 (0 / 246106)     
    | min: 0    | min: 0    | min: 0    | min: 0    |
> |                               |            |       | avg: 250000.00 (0.00 / 250000.00)
| avg: 0.00 | avg: 0.00 | avg: 0.00 | avg: 0.00 |
> |                               |            |       | max: 253894 (0 / 253894)     
    | max: 0    | max: 0    | max: 0    | max: 0    |
> +----------------------------------------------------------------------------------------------------------------------------------------+
> {code}
> You find a correct total number only if *cache -a* is used and you calculate the sum
of entries on each node manually:
> {code}
> +===============================================================================================================+
> |       Node ID8(@), IP       | CPUs | Heap Used | CPU Load |   Up Time    |        
Size         | Hi/Mi/Rd/Wr |
> +===============================================================================================================+
> | 44A2CF9C(@n1), 192.168.1.64 | 4    | 19.63 %   | 0.43 %   | 00:01:46.229 | Total: 253894
       | Hi: 0       |
> |                             |      |           |          |              |   Heap:
0            | Mi: 0       |
> |                             |      |           |          |              |   Off-Heap:
253894   | Rd: 0       |
> |                             |      |           |          |              |   Off-Heap
Memory: 0 | Wr: 0       |
> +-----------------------------+------+-----------+----------+--------------+----------------------+-------------+
> | 72DEC7B5(@n0), 192.168.1.64 | 4    | 9.69 %    | 0.50 %   | 00:02:00.456 | Total: 246106
       | Hi: 0       |
> |                             |      |           |          |              |   Heap:
0            | Mi: 0       |
> |                             |      |           |          |              |   Off-Heap:
246106   | Rd: 0       |
> |                             |      |           |          |              |   Off-Heap
Memory: 0 | Wr: 0       |
> +---------------------------------------------------------------------------------------------------------------+
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message