This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 3fafcd478e [IOTDB-4570] Move SerializationRunTimeException to
node-commons (#7512)
3fafcd478e is described below
commit 3fafcd478e0c3f3b21d99d6ec42bc2600efdbf1d
Author: Chen YZ <[email protected]>
AuthorDate: Tue Oct 4 21:34:43 2022 +0800
[IOTDB-4570] Move SerializationRunTimeException to node-commons (#7512)
---
.../apache/iotdb/confignode/consensus/request/ConfigPhysicalPlan.java | 2 +-
.../iotdb/commons}/exception/runtime/SerializationRunTimeException.java | 2 +-
.../org/apache/iotdb/db/mpp/plan/planner/plan/FragmentInstance.java | 2 +-
.../java/org/apache/iotdb/db/mpp/plan/planner/plan/node/PlanNode.java | 2 +-
server/src/main/java/org/apache/iotdb/db/qp/physical/PhysicalPlan.java | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git
a/confignode/src/main/java/org/apache/iotdb/confignode/consensus/request/ConfigPhysicalPlan.java
b/confignode/src/main/java/org/apache/iotdb/confignode/consensus/request/ConfigPhysicalPlan.java
index d4681a860d..745a70dde2 100644
---
a/confignode/src/main/java/org/apache/iotdb/confignode/consensus/request/ConfigPhysicalPlan.java
+++
b/confignode/src/main/java/org/apache/iotdb/confignode/consensus/request/ConfigPhysicalPlan.java
@@ -18,6 +18,7 @@
*/
package org.apache.iotdb.confignode.consensus.request;
+import
org.apache.iotdb.commons.exception.runtime.SerializationRunTimeException;
import org.apache.iotdb.confignode.consensus.request.auth.AuthorPlan;
import
org.apache.iotdb.confignode.consensus.request.read.CountStorageGroupPlan;
import
org.apache.iotdb.confignode.consensus.request.read.GetDataNodeConfigurationPlan;
@@ -65,7 +66,6 @@ import
org.apache.iotdb.confignode.consensus.request.write.trigger.AddTriggerInT
import
org.apache.iotdb.confignode.consensus.request.write.trigger.DeleteTriggerInTablePlan;
import
org.apache.iotdb.confignode.consensus.request.write.trigger.UpdateTriggerStateInTablePlan;
import org.apache.iotdb.consensus.common.request.IConsensusRequest;
-import org.apache.iotdb.db.exception.runtime.SerializationRunTimeException;
import org.apache.iotdb.tsfile.utils.PublicBAOS;
import org.slf4j.Logger;
diff --git
a/server/src/main/java/org/apache/iotdb/db/exception/runtime/SerializationRunTimeException.java
b/node-commons/src/main/java/org/apache/iotdb/commons/exception/runtime/SerializationRunTimeException.java
similarity index 95%
rename from
server/src/main/java/org/apache/iotdb/db/exception/runtime/SerializationRunTimeException.java
rename to
node-commons/src/main/java/org/apache/iotdb/commons/exception/runtime/SerializationRunTimeException.java
index 6288007252..e0398ef1b1 100644
---
a/server/src/main/java/org/apache/iotdb/db/exception/runtime/SerializationRunTimeException.java
+++
b/node-commons/src/main/java/org/apache/iotdb/commons/exception/runtime/SerializationRunTimeException.java
@@ -17,7 +17,7 @@
* under the License.
*/
-package org.apache.iotdb.db.exception.runtime;
+package org.apache.iotdb.commons.exception.runtime;
public class SerializationRunTimeException extends RuntimeException {
diff --git
a/server/src/main/java/org/apache/iotdb/db/mpp/plan/planner/plan/FragmentInstance.java
b/server/src/main/java/org/apache/iotdb/db/mpp/plan/planner/plan/FragmentInstance.java
index d6598ae297..15a25b8dcf 100644
---
a/server/src/main/java/org/apache/iotdb/db/mpp/plan/planner/plan/FragmentInstance.java
+++
b/server/src/main/java/org/apache/iotdb/db/mpp/plan/planner/plan/FragmentInstance.java
@@ -20,11 +20,11 @@ package org.apache.iotdb.db.mpp.plan.planner.plan;
import org.apache.iotdb.common.rpc.thrift.TDataNodeLocation;
import org.apache.iotdb.common.rpc.thrift.TRegionReplicaSet;
+import
org.apache.iotdb.commons.exception.runtime.SerializationRunTimeException;
import org.apache.iotdb.commons.utils.ThriftCommonsSerDeUtils;
import org.apache.iotdb.consensus.common.request.IConsensusRequest;
import org.apache.iotdb.db.conf.IoTDBConfig;
import org.apache.iotdb.db.conf.IoTDBDescriptor;
-import org.apache.iotdb.db.exception.runtime.SerializationRunTimeException;
import org.apache.iotdb.db.mpp.common.FragmentInstanceId;
import org.apache.iotdb.db.mpp.plan.analyze.QueryType;
import org.apache.iotdb.db.mpp.plan.planner.plan.node.PlanNode;
diff --git
a/server/src/main/java/org/apache/iotdb/db/mpp/plan/planner/plan/node/PlanNode.java
b/server/src/main/java/org/apache/iotdb/db/mpp/plan/planner/plan/node/PlanNode.java
index 9b0d600cdb..b9ee33807a 100644
---
a/server/src/main/java/org/apache/iotdb/db/mpp/plan/planner/plan/node/PlanNode.java
+++
b/server/src/main/java/org/apache/iotdb/db/mpp/plan/planner/plan/node/PlanNode.java
@@ -18,8 +18,8 @@
*/
package org.apache.iotdb.db.mpp.plan.planner.plan.node;
+import
org.apache.iotdb.commons.exception.runtime.SerializationRunTimeException;
import org.apache.iotdb.consensus.common.request.IConsensusRequest;
-import org.apache.iotdb.db.exception.runtime.SerializationRunTimeException;
import org.apache.iotdb.tsfile.utils.PublicBAOS;
import org.apache.iotdb.tsfile.utils.ReadWriteIOUtils;
diff --git
a/server/src/main/java/org/apache/iotdb/db/qp/physical/PhysicalPlan.java
b/server/src/main/java/org/apache/iotdb/db/qp/physical/PhysicalPlan.java
index 070b198c35..39ef94b632 100644
--- a/server/src/main/java/org/apache/iotdb/db/qp/physical/PhysicalPlan.java
+++ b/server/src/main/java/org/apache/iotdb/db/qp/physical/PhysicalPlan.java
@@ -19,10 +19,10 @@
package org.apache.iotdb.db.qp.physical;
import org.apache.iotdb.commons.exception.IllegalPathException;
+import
org.apache.iotdb.commons.exception.runtime.SerializationRunTimeException;
import org.apache.iotdb.commons.path.PartialPath;
import org.apache.iotdb.consensus.common.request.IConsensusRequest;
import org.apache.iotdb.db.exception.query.QueryProcessException;
-import org.apache.iotdb.db.exception.runtime.SerializationRunTimeException;
import org.apache.iotdb.db.qp.logical.Operator;
import org.apache.iotdb.db.qp.logical.Operator.OperatorType;
import org.apache.iotdb.db.qp.physical.crud.DeletePlan;