hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tyson <tcon...@gmail.com>
Subject Proper hostname format in ResourceRequest
Date Mon, 03 Dec 2012 23:27:14 GMT
I'm having trouble allocating a container on a specific host. Note:
everything is hunky-dory when I do resourceRequest.setHostName("*"), but as
soon as I do resourceRequest.setHostName("foo") I get back nothing, ever,
which is also kinda weird.

Questions:
1. is there a format that I should be following? e.g., host, host:port,
rack:host, ...
2. What are the steps to resolve hosts? Is DNS involved?
3. What are some debugging steps (e.g., logs to turn on) for this issue?

Details:
I'm basically asking for a single container on host 'vnectar-31'
Below is a printout of my node reports (I have 5). Notice that 'vnectar-31'
does exist...

Number of node managers: 5
*** NODE REPORTS ***

nodeId {, host: "vnectar-33", port: 42756, }, httpAddress:
"vnectar-33:8042", rackName: "/default-rack", used {, memory: 0, },
capability {, memory: 49000, }, node_health_status {, is_node_healthy:
true, health_report: "", last_health_report_time: 1354575596564, },
node_state: NS_RUNNING,
nodeId {, host: "vnectar-30", port: 53950, }, httpAddress:
"vnectar-30:8042", rackName: "/default-rack", capability {, memory: 49000,
}, node_health_status {, is_node_healthy: true, health_report: "",
last_health_report_time: 1354575597676, }, node_state: NS_RUNNING,
nodeId {, host: "vnectar-31", port: 39314, }, httpAddress:
"vnectar-31:8042", rackName: "/default-rack", capability {, memory: 49000,
}, node_health_status {, is_node_healthy: true, health_report: "",
last_health_report_time: 1354575605392, }, node_state: NS_RUNNING,
nodeId {, host: "vnectar-34", port: 37920, }, httpAddress:
"vnectar-34:8042", rackName: "/default-rack", capability {, memory: 49000,
}, node_health_status {, is_node_healthy: true, health_report: "",
last_health_report_time: 1354575589784, }, node_state: NS_RUNNING,
nodeId {, host: "vnectar-32", port: 58626, }, httpAddress:
"vnectar-32:8042", rackName: "/default-rack", capability {, memory: 49000,
}, node_health_status {, is_node_healthy: true, health_report: "",
last_health_report_time: 1354575606678, }, node_state: NS_RUNNING,
====================================

Thank you and best regards,
Tyson

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message