Browse Source

Merge pull request #560 from xianhu/branch-1.0.2

thanks for fix bug that the task instance of MR cannot stop in some cases. #516
pull/2/head
lgcareer 5 years ago committed by GitHub
parent
commit
d3e5977308
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      escheduler-server/src/main/java/cn/escheduler/server/utils/LoggerUtils.java

3
escheduler-server/src/main/java/cn/escheduler/server/utils/LoggerUtils.java

@ -16,6 +16,7 @@
*/
package cn.escheduler.server.utils;
import cn.escheduler.common.Constants;
import org.slf4j.Logger;
import java.util.ArrayList;
@ -31,7 +32,7 @@ public class LoggerUtils {
/**
* rules for extracting application ID
*/
private static final Pattern APPLICATION_REGEX = Pattern.compile("\\d+_\\d+");
private static final Pattern APPLICATION_REGEX = Pattern.compile(Constants.APPLICATION_REGEX);
/**
* build job id

Loading…
Cancel
Save