feat(cli): 增加配置发布
将hadoop配置分发到各个主机上
This commit is contained in:
@@ -11,6 +11,7 @@ public class RuntimeInfo {
|
||||
private String jarPath;
|
||||
private String jdkPath;
|
||||
private String logPath;
|
||||
private String confPath;
|
||||
private String dataPath;
|
||||
private String kerberosKeytabPath;
|
||||
private LokiInfo loki;
|
||||
@@ -52,6 +53,14 @@ public class RuntimeInfo {
|
||||
this.logPath = logPath;
|
||||
}
|
||||
|
||||
public String getConfPath() {
|
||||
return confPath;
|
||||
}
|
||||
|
||||
public void setConfPath(String confPath) {
|
||||
this.confPath = confPath;
|
||||
}
|
||||
|
||||
public String getDataPath() {
|
||||
return dataPath;
|
||||
}
|
||||
@@ -123,6 +132,7 @@ public class RuntimeInfo {
|
||||
", jarPath='" + jarPath + '\'' +
|
||||
", jdkPath='" + jdkPath + '\'' +
|
||||
", logPath='" + logPath + '\'' +
|
||||
", confPath='" + confPath + '\'' +
|
||||
", dataPath='" + dataPath + '\'' +
|
||||
", kerberosKeytabPath='" + kerberosKeytabPath + '\'' +
|
||||
", loki=" + loki +
|
||||
@@ -130,6 +140,7 @@ public class RuntimeInfo {
|
||||
", connectorZkUrl='" + connectorZkUrl + '\'' +
|
||||
", hudi=" + hudi +
|
||||
", security=" + security +
|
||||
", yarn=" + yarn +
|
||||
'}';
|
||||
}
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@ public class ServiceInfo {
|
||||
private List<String> groups = new ArrayList<>();
|
||||
private Integer replicas = 0;
|
||||
private String sourceJar;
|
||||
private List<String> classpath = new ArrayList<>();
|
||||
private Map<String, Object> environments = new HashMap<>();
|
||||
private Map<String, Object> arguments = new HashMap<>();
|
||||
|
||||
@@ -60,6 +61,14 @@ public class ServiceInfo {
|
||||
this.sourceJar = sourceJar;
|
||||
}
|
||||
|
||||
public List<String> getClasspath() {
|
||||
return classpath;
|
||||
}
|
||||
|
||||
public void setClasspath(List<String> classpath) {
|
||||
this.classpath = classpath;
|
||||
}
|
||||
|
||||
public Map<String, Object> getEnvironments() {
|
||||
return environments;
|
||||
}
|
||||
@@ -84,6 +93,7 @@ public class ServiceInfo {
|
||||
", groups=" + groups +
|
||||
", replicas=" + replicas +
|
||||
", sourceJar='" + sourceJar + '\'' +
|
||||
", classpath=" + classpath +
|
||||
", environments=" + environments +
|
||||
", arguments=" + arguments +
|
||||
'}';
|
||||
|
||||
Reference in New Issue
Block a user