YARN-8182. [UI2] Proxy- Clicking on nodes under Nodes HeatMap gives 401 error. Contributed by Sunil G.

(cherry picked from commit 87e09859f1)
This commit is contained in:
Rohith Sharma K S 2018-04-20 19:35:17 +05:30
parent 3f5b4276e5
commit 71661cec77
1 changed files with 2 additions and 2 deletions

View File

@ -228,8 +228,8 @@ export default BaseChartComponent.extend({
rect.attr("fill", "DimGray"); rect.attr("fill", "DimGray");
} }
var node_id = data.get("id"), var node_id = data.get("id"),
node_addr = data.get("nodeHTTPAddress"), node_addr = encodeURIComponent(data.get("nodeHTTPAddress")),
href = `#/yarn-node/${node_id}/${node_addr}`; href = `#/yarn-node/${node_id}/${node_addr}/info`;
var a = g.append("a") var a = g.append("a")
.attr("href", href); .attr("href", href);
a.append("text") a.append("text")