Hi,

I tested that it works. I attached my code for the server node and
configuration for the visor.

Could you please check it?

startActivate.java
<http://apache-ignite-users.70518.x6.nabble.com/file/t1704/startActivate.java>  
default-config.xml
<http://apache-ignite-users.70518.x6.nabble.com/file/t1704/default-config.xml>  

Run main class from startActivate.java and  visor cmd with provided config.
As a result I see:

visor> cache -c=cacheNam -a
Time of the snapshot: 2018-10-24 18:03:38
+============================================================================================================================+
|    Name(@)    |    Mode     | Nodes |   Entries (Heap / Off-heap)   |   
Hits     |  Misses   |    Reads    |    Writes    |
+============================================================================================================================+
| cacheNam(@c0) | PARTITIONED | 1     | min: 1000 (0 / 1000)          | min:
672    | min: 0    | min: 672    | min: 1000    |
|               |             |       | avg: 1000.00 (0.00 / 1000.00) | avg:
672.00 | avg: 0.00 | avg: 672.00 | avg: 1000.00 |
|               |             |       | max: 1000 (0 / 1000)          | max:
672    | max: 0    | max: 672    | max: 1000    |
+----------------------------------------------------------------------------------------------------------------------------+

Cache 'cacheNam(@c0)':
+-----------------------------------------------------+
| Name(@)                     | cacheNam(@c0)         |
| Nodes                       | 1                     |
| Total size Min/Avg/Max      | 1000 / 1000.00 / 1000 |
|   Heap size Min/Avg/Max     | 0 / 0.00 / 0          |
|   Off-heap size Min/Avg/Max | 1000 / 1000.00 / 1000 |
+-----------------------------------------------------+

Nodes for: cacheNam(@c0)
+============================================================================================================+
|     Node ID8(@), IP      | CPUs | Heap Used | CPU Load |   Up Time    |       
 
Size         | Hi/Mi/Rd/Wr |
+============================================================================================================+
| 543734D6(@n0), 10.0.75.1 | 4    | 1.89 %    | 0.00 %   | 00:11:32.856 |
Total: 1000          | Hi: 672     |
|                          |      |           |          |              |  
Heap: 0            | Mi: 0       |
|                          |      |           |          |              |  
Off-Heap: 1000     | Rd: 672     |
|                          |      |           |          |              |  
Off-Heap Memory: 0 | Wr: 1000    |
+------------------------------------------------------------------------------------------------------------+
'Hi' - Number of cache hits.
'Mi' - Number of cache misses.
'Rd' - number of cache reads.
'Wr' - Number of cache writes.

Aggregated queries metrics:
  Minimum execution time: 00:00:00.000
  Maximum execution time: 00:00:00.000
  Average execution time: 00:00:00.000
  Total number of executions: 0
  Total number of failures:   0

Please check it and if it will work then try to check your config (or attach
it as a XML file because you provide only part of it).

BR,
Andrei



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to