Unverified Commit 5d6d3a34 authored by lgcareer's avatar lgcareer Committed by GitHub
Browse files

Merge pull request #561 from analysys/branch-1.0.2

fix bug that the task instance of MR cannot stop in some cases. #516
parents 55154c5a d3e59773
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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