Where to know the datanode name like "2XK4x5-tRHyLhpPB7XTdXg" in tasks

(andy_zhou) #1

where to know the datanode name or ip addr like "2XK4x5-tRHyLhpPB7XTdXg" in tasks

  "tasks" : {
    "Qb03E91zSCG1tBvhmfWqzg:96694" : {
      "node" : "Qb03E91zSCG1tBvhmfWqzg",
      "id" : 96694,
      "type" : "netty",
      "action" : "cluster:monitor/tasks/lists[n]",
      "description" : "",
      "start_time_in_millis" : 1505270157997,
      "running_time_in_nanos" : 129517,
      "cancellable" : false,
      "parent_task_id" : "2XK4x5-tRHyLhpPB7XTdXg:11639469"

(David Pilato) #2
GET _cat/nodes?v

(andy_zhou) #3

only know the nodes name but not know "2XK4x5-tRHyLhpPB7XTdXg" is who ?

(David Pilato) #4

You probably have something like:

ip        heap.percent ram.percent cpu load_1m load_5m load_15m node.role master name           19          97  17    2.17                  mdi       *      Iv2LGj-

The name is Iv2LGj in my case. I guess that in your case it's something like 2XK4x5?

(andy_zhou) #5

no! it the host name.. not like. this elasticsearch 5.4.3

(David Pilato) #6

I see. Try:

GET _cat/nodes?v&h=id,ip

(andy_zhou) #7

the id is only 4 number? is not ok.

id ip
bAP1 10.11.10.xx
hhpO 10.11.10.xx
C7fk 10.11.10.xx
s0jT 10.11.10.xx
l-DZ 10.11.10.xx
B59n 10.11.10.xx
kaxc 10.11.10.xx
cZ2t 10.11.10.xx
v5jW 10.11.10.xx
TuW- 10.11.10.xx
CqtQ 10.11.10.xx
1l-E 10.11.10.xx
viia 10.11.10.xx
HPbo 10.11.10.xx
EH4K 10.11.10.xx
6DqJ 10.11.10.xx
7MxU 10.11.10.xx
Vy5K 10.11.10.xx
Qb03 10.11.10.xx
5IAI 10.11.10.xx
gM1x 10.11.10.xx
fKcr 10.11.10.xx
NH-v 10.11.10.xx
o01i 10.11.10.xx
y2AT 10.11.10.xx

(David Pilato) #8

Actually 2XK4x5**** is not a node id. It looks like a parent task id here.

The node is Qb03E91zSCG1tBvhmfWqzg which in your case is:

Qb03 10.11.10.xx

(system) #9

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.