[minor](fe) optimize some log info and imports issue (#24138)
This commit is contained in:
@ -1184,7 +1184,8 @@ public class Env {
|
||||
}
|
||||
|
||||
if (Config.cluster_id != -1 && clusterId != Config.cluster_id) {
|
||||
throw new IOException("cluster id is not equal with config item cluster_id. will exit.");
|
||||
throw new IOException("cluster id is not equal with config item cluster_id. will exit. "
|
||||
+ "If you are in recovery mode, please also modify the cluster_id in 'doris-meta/image/VERSION'");
|
||||
}
|
||||
|
||||
if (role.equals(FrontendNodeType.FOLLOWER)) {
|
||||
|
||||
@ -280,7 +280,9 @@ public class ConnectProcessor {
|
||||
// Process COM_QUERY statement,
|
||||
// only throw an exception when there is a problem interacting with the requesting client
|
||||
private void handleQuery(MysqlCommand mysqlCommand) {
|
||||
MetricRepo.COUNTER_REQUEST_ALL.increase(1L);
|
||||
if (MetricRepo.isInit) {
|
||||
MetricRepo.COUNTER_REQUEST_ALL.increase(1L);
|
||||
}
|
||||
// convert statement to Java string
|
||||
byte[] bytes = packetBuf.array();
|
||||
int ending = packetBuf.limit() - 1;
|
||||
|
||||
@ -33,11 +33,11 @@ import org.apache.doris.datasource.property.constants.S3Properties.Env;
|
||||
import org.apache.doris.load.loadv2.LoadTask.MergeType;
|
||||
import org.apache.doris.tablefunction.S3TableValuedFunction;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
import com.google.common.collect.Maps;
|
||||
import com.google.common.collect.Sets;
|
||||
import mockit.Expectations;
|
||||
import mockit.Injectable;
|
||||
import org.apache.hadoop.util.Lists;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
Reference in New Issue
Block a user