[
https://issues.apache.org/jira/browse/IGNITE-1069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15125839#comment-15125839
]
Pavel Konstantinov edited comment on IGNITE-1069 at 2/1/16 6:38 AM:
--------------------------------------------------------------------
I think 'Node Type' would be useful not only in 'top' table.
I suggest to add 'Node Type' at least to the following tables too:
# "Select node from"
{code}
Select node from:
+=======================================================================+
| # | Node ID8(@), IP | Up Time | CPUs | CPU Load | Free Heap |
+=======================================================================+
| 0 | 8A433131(@n0), 127.0.0.1 | 00:12:01 | 8 | 15.80 % | 31.00 % |
| 1 | 406D64D5(@n1), 127.0.0.1 | 00:12:01 | 8 | 5.83 % | 22.00 % |
| 2 | 91B7E072(@n2), 127.0.0.1 | 00:06:24 | 8 | 8.47 % | 87.00 % |
+-----------------------------------------------------------------------+
{code}
# Node info
{code}
+-----------------------------------------------------------------+
| ID | 91b7e072-6dac-4d86-aba8-6c15ca48ed82 |
| ID8 | 91B7E072 |
| Order | 4 |
| Address (0) | 127.0.0.1 |
| OS info | Windows 8.1 amd64 6.3 |
| OS user | kope13 |
| Deployment mode | SHARED |
| Language runtime | Scala ver. 2.11.7 |
| Ignite version | 1.6.0-SNAPSHOT |
| JRE information | HotSpot 64-Bit Tiered Compilers |
| Grid name | tester |
| JVM start time | 02/01/16, 13:25:41 |
| Node start time | 02/01/16, 13:25:46 |
| Up time | 00:06:26:356 |
| Last metric update | 02/01/16, 13:32:09 |
| CPUs | 8 |
| Thread count | 100 |
| Cur/avg active jobs | 0/0.00 |
| Cur/avg waiting jobs | 0/0.00 |
| Cur/avg rejected jobs | 0/0.00 |
| Cur/avg cancelled jobs | 0/0.00 |
| Cur/avg job wait time | 0/0.00ms |
| Cur/avg job execute time | 0/0.00ms |
| Cur/avg CPU load % | 8.47/6.44% |
| Heap memory used/max | 259mb/2gb |
+-----------------------------------------------------------------+
{code}
These tables are printed out in 'node' command.
kcheng.mvp, could you please do this?
was (Author: pkonstantinov):
I think 'Node Type' would be useful not only in 'top' table.
I suggest to add 'Node Type' at least to the following tables too:
# "Select node from"
{code}
Select node from:
+=======================================================================+
| # | Node ID8(@), IP | Up Time | CPUs | CPU Load | Free Heap |
+=======================================================================+
| 0 | 8A433131(@n0), 127.0.0.1 | 00:12:01 | 8 | 15.80 % | 31.00 % |
| 1 | 406D64D5(@n1), 127.0.0.1 | 00:12:01 | 8 | 5.83 % | 22.00 % |
| 2 | 91B7E072(@n2), 127.0.0.1 | 00:06:24 | 8 | 8.47 % | 87.00 % |
+-----------------------------------------------------------------------+
{code}
# Node info
{code}
+-----------------------------------------------------------------+
| ID | 91b7e072-6dac-4d86-aba8-6c15ca48ed82 |
| ID8 | 91B7E072 |
| Order | 4 |
| Address (0) | 127.0.0.1 |
| OS info | Windows 8.1 amd64 6.3 |
| OS user | kope13 |
| Deployment mode | SHARED |
| Language runtime | Scala ver. 2.11.7 |
| Ignite version | 1.6.0-SNAPSHOT |
| JRE information | HotSpot 64-Bit Tiered Compilers |
| Grid name | tester |
| JVM start time | 02/01/16, 13:25:41 |
| Node start time | 02/01/16, 13:25:46 |
| Up time | 00:06:26:356 |
| Last metric update | 02/01/16, 13:32:09 |
| CPUs | 8 |
| Thread count | 100 |
| Cur/avg active jobs | 0/0.00 |
| Cur/avg waiting jobs | 0/0.00 |
| Cur/avg rejected jobs | 0/0.00 |
| Cur/avg cancelled jobs | 0/0.00 |
| Cur/avg job wait time | 0/0.00ms |
| Cur/avg job execute time | 0/0.00ms |
| Cur/avg CPU load % | 8.47/6.44% |
| Heap memory used/max | 259mb/2gb |
+-----------------------------------------------------------------+
{code}
These tables are printed out in 'node' command.
> Need to add information about node's type:server or client (visorcmd)
> ---------------------------------------------------------------------
>
> Key: IGNITE-1069
> URL: https://issues.apache.org/jira/browse/IGNITE-1069
> Project: Ignite
> Issue Type: Bug
> Components: build
> Affects Versions: sprint-7
> Environment: OS X 10.10.3
> jdk1.7.0_79
> Reporter: Ilya Suntsov
> Assignee: Pavel Konstantinov
> Fix For: 1.6
>
>
> Steps for reproduction:
> 1. Start one server node and two clients
> 1. Start ignitevisorcmd.sh
> 2. Connect to grid (open)
> 3. Print topology (top)
> Results:
> {noformat}
> top
> Hosts: 1
> +====================================================================================================================+
> | Int./Ext. IPs | Node ID8(@) | OS
> | CPUs | MACs | CPU Load |
> +====================================================================================================================+
> | 2001:db8:85a3:0:0:8a2e:370:7334 | 1: 9D4F0AC0(@n0) | Mac OS X x86_64
> 10.10.3 | 8 | 10:40:F3:A7:6A:B6 | 0.16 % |
> | 192.168.3.7 | 2: 6D746DAC(@n1) |
> | | | |
> | 0:0:0:0:0:0:0:1 | 3: A496C669(@n2) |
> | | | |
> | 127.0.0.1 | |
> | | | |
> +--------------------------------------------------------------------------------------------------------------------+
> Summary:
> +-------------------------------------+
> | Total hosts | 1 |
> | Total nodes | 3 |
> | Total CPUs | 8 |
> | Avg. CPU load | 0.16 % |
> | Avg. free heap | 80.00 % |
> | Avg. Up time | 00:02:44 |
> | Snapshot time | 07/01/15, 17:59:14 |
> +-------------------------------------+
> {noformat}
> I think here we should print node's types in order to know how many in a
> topology of servers and how many clients
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)