feature(yarn-query): 增加 yarn cluster 页面的入口

This commit is contained in:
2023-05-30 10:36:04 +08:00
parent 2d95a3824a
commit 58c945fa55
8 changed files with 52 additions and 15 deletions

View File

@@ -41,6 +41,7 @@ public final class YarnQueue {
private ResourcesUsed usedAMResource;
private ResourcesUsed userAMResourceLimit;
private Queues queues;
private String webUrl;
public String getCluster() {
return cluster;
@@ -180,6 +181,15 @@ public final class YarnQueue {
return queues;
}
public String getWebUrl() {
return webUrl;
}
public YarnQueue setWebUrl(String webUrl) {
this.webUrl = webUrl;
return this;
}
@Override
public String toString() {
return "YarnQueue{" +
@@ -215,6 +225,7 @@ public final class YarnQueue {
", usedAMResource=" + usedAMResource +
", userAMResourceLimit=" + userAMResourceLimit +
", queues=" + queues +
", webUrl='" + webUrl + '\'' +
'}';
}

View File

@@ -13,6 +13,7 @@ public final class YarnRootQueue {
private Float capacity;
private Float usedCapacity;
private Float maxCapacity;
private String webUrl;
public String getCluster() {
return cluster;
@@ -43,6 +44,15 @@ public final class YarnRootQueue {
return maxCapacity;
}
public String getWebUrl() {
return webUrl;
}
public YarnRootQueue setWebUrl(String webUrl) {
this.webUrl = webUrl;
return this;
}
@Override
public String toString() {
return "YarnRootQueue{" +
@@ -52,6 +62,7 @@ public final class YarnRootQueue {
", capacity=" + capacity +
", usedCapacity=" + usedCapacity +
", maxCapacity=" + maxCapacity +
", webUrl='" + webUrl + '\'' +
'}';
}
}