Skip to content

Commit 4d45bef

Browse files
committed
modify getIncrStateCollectAddress get by hard code
1 parent 050a432 commit 4d45bef

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

tis-console/src/main/java/com/qlangtech/tis/runtime/module/action/SysInitializeAction.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -319,10 +319,10 @@ public boolean initializeZkPath(String zkHost) {
319319
createPaths.add(createPath);
320320
ZkUtils.guaranteeExist(coordinator, createPath);
321321
buildLog.append(",path2:").append(createPath);
322-
createPath = zkSubDir + "/configs/" + CoreAction.DEFAULT_SOLR_CONFIG;
323-
createPaths.add(createPath);
324-
ZkUtils.guaranteeExist(coordinator, createPath);
325-
buildLog.append(",path3:").append(createPath);
322+
// createPath = zkSubDir + "/configs/" + CoreAction.DEFAULT_SOLR_CONFIG;
323+
// createPaths.add(createPath);
324+
// ZkUtils.guaranteeExist(coordinator, createPath);
325+
// buildLog.append(",path3:").append(createPath);
326326
logger.info(buildLog.toString());
327327

328328

tis-datax-executor/src/main/java/com/qlangtech/tis/datax/DataXJobConsumer.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,8 @@ protected DataXJobSubmit.InstanceType getExecMode() {
206206
}
207207

208208
protected String getIncrStateCollectAddress() {
209-
return ZkUtils.getFirstChildValue(this.coordinator, ZkUtils.ZK_ASSEMBLE_LOG_COLLECT_PATH);
209+
// return ZkUtils.getFirstChildValue(this.coordinator, ZkUtils.ZK_ASSEMBLE_LOG_COLLECT_PATH);
210+
return Config.getAssembleHost() + ":" + ZkUtils.ZK_ASSEMBLE_LOG_COLLECT_PORT;
210211
}
211212

212213
protected String getMainClassName() {

0 commit comments

Comments
 (0)