Browse Source

Update AbstractCommandExecutor.java

pull/3/MERGE
小清 4 years ago committed by GitHub
parent
commit
0b602bcaf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java

2
dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java

@ -348,7 +348,7 @@ public abstract class AbstractCommandExecutor {
long lastFlushTime = System.currentTimeMillis(); long lastFlushTime = System.currentTimeMillis();
while ((line = inReader.readLine()) != null || logBuffer.size()>0) { while ((line = inReader.readLine()) != null || logBuffer.size() > 0) {
if (line.startsWith("${setValue(")) { if (line.startsWith("${setValue(")) {
varPool.append(line.substring("${setValue(".length(), line.length() - 2)); varPool.append(line.substring("${setValue(".length(), line.length() - 2));
varPool.append("$VarPool$"); varPool.append("$VarPool$");

Loading…
Cancel
Save