Browse Source

Update AbstractCommandExecutor.java

pull/3/MERGE
小清 4 years ago committed by GitHub
parent
commit
cd89aed360
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

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

Loading…
Cancel
Save