Skip to content

Commit

Permalink
[Improve](stats)Use Log4j class library instead of Quartz
Browse files Browse the repository at this point in the history
Quartz new version not support java 8
  • Loading branch information
CalvinKirs committed Sep 21, 2023
1 parent 5a463fe commit b2c2a4f
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 10 deletions.
5 changes: 0 additions & 5 deletions fe/fe-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -705,11 +705,6 @@ under the License.
<groupId>com.esotericsoftware</groupId>
<artifactId>kryo-shaded</artifactId>
</dependency>
<dependency>
<groupId>org.quartz-scheduler</groupId>
<artifactId>quartz</artifactId>
<version>2.3.2</version>
</dependency>

<!-- for arrow flight sql -->
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import com.google.common.collect.ImmutableSet;
import com.google.gson.annotations.SerializedName;
import org.apache.commons.lang3.StringUtils;
import org.quartz.CronExpression;
import org.apache.logging.log4j.core.util.CronExpression;

import java.util.HashMap;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import org.apache.doris.statistics.AnalysisInfo.AnalysisType;
import org.apache.doris.statistics.AnalysisInfo.ScheduleType;

import org.quartz.CronExpression;
import org.apache.logging.log4j.core.util.CronExpression;

import java.util.Map;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import org.apache.commons.lang3.StringUtils;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.quartz.CronExpression;
import org.apache.logging.log4j.core.util.CronExpression;

import java.io.DataInput;
import java.io.DataOutput;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import org.apache.doris.statistics.AnalysisInfo.JobType;
import org.apache.doris.statistics.AnalysisInfo.ScheduleType;

import org.quartz.CronExpression;
import org.apache.logging.log4j.core.util.CronExpression;

import java.util.List;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
import com.google.common.util.concurrent.ThreadFactoryBuilder;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.core.util.CronExpression;
import org.jetbrains.annotations.Nullable;
import org.quartz.CronExpression;

import java.io.DataInput;
import java.io.DataOutput;
Expand Down

0 comments on commit b2c2a4f

Please sign in to comment.