feat(configuration): 增加yarn集群的相关配置
This commit is contained in:
@@ -18,6 +18,7 @@ public class RuntimeInfo {
|
||||
private String connectorZkUrl;
|
||||
private HudiInfo hudi;
|
||||
private SecurityInfo security;
|
||||
private YarnInfo yarn;
|
||||
|
||||
public String getUser() {
|
||||
return user;
|
||||
@@ -107,6 +108,14 @@ public class RuntimeInfo {
|
||||
this.security = security;
|
||||
}
|
||||
|
||||
public YarnInfo getYarn() {
|
||||
return yarn;
|
||||
}
|
||||
|
||||
public void setYarn(YarnInfo yarn) {
|
||||
this.yarn = yarn;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "RuntimeInfo{" +
|
||||
@@ -299,4 +308,43 @@ public class RuntimeInfo {
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
||||
public static final class YarnInfo {
|
||||
private String storeCluster;
|
||||
private String syncClusters;
|
||||
private String compactionClusters;
|
||||
|
||||
public String getStoreCluster() {
|
||||
return storeCluster;
|
||||
}
|
||||
|
||||
public void setStoreCluster(String storeCluster) {
|
||||
this.storeCluster = storeCluster;
|
||||
}
|
||||
|
||||
public String getSyncClusters() {
|
||||
return syncClusters;
|
||||
}
|
||||
|
||||
public void setSyncClusters(String syncClusters) {
|
||||
this.syncClusters = syncClusters;
|
||||
}
|
||||
|
||||
public String getCompactionClusters() {
|
||||
return compactionClusters;
|
||||
}
|
||||
|
||||
public void setCompactionClusters(String compactionClusters) {
|
||||
this.compactionClusters = compactionClusters;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "YarnInfo{" +
|
||||
"storeCluster='" + storeCluster + '\'' +
|
||||
", syncClusters='" + syncClusters + '\'' +
|
||||
", compactionClusters='" + compactionClusters + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user