This is an automated email from the ASF dual-hosted git repository.
JackieTien97 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 dd8631f51f7 Fix DataNode startup in IDEA (#17564)
dd8631f51f7 is described below
commit dd8631f51f75a39deb21e75c2ccea47e28ea076c
Author: shuwenwei <[email protected]>
AuthorDate: Thu Apr 30 18:10:56 2026 +0800
Fix DataNode startup in IDEA (#17564)
---
iotdb-core/datanode/pom.xml | 2 +-
.../datanode/src/main/java/org/apache/iotdb/db/service/DataNode.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/iotdb-core/datanode/pom.xml b/iotdb-core/datanode/pom.xml
index bce270a5933..40fc3f7f614 100644
--- a/iotdb-core/datanode/pom.xml
+++ b/iotdb-core/datanode/pom.xml
@@ -266,7 +266,6 @@
<dependency>
<groupId>at.yawk.lz4</groupId>
<artifactId>lz4-java</artifactId>
- <scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
@@ -479,6 +478,7 @@
<ignoredDependencies>
<!-- For some reason this plugin missed it being used
for a constant import -->
<ignoredDependency>org.apache.iotdb:isession</ignoredDependency>
+
<ignoredDependency>at.yawk.lz4:lz4-java</ignoredDependency>
</ignoredDependencies>
</configuration>
</plugin>
diff --git
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/DataNode.java
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/DataNode.java
index 4d7e2260d68..078c1fcb954 100644
---
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/DataNode.java
+++
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/DataNode.java
@@ -187,7 +187,7 @@ public class DataNode extends ServerCommandLine implements
DataNodeMBean {
private volatile boolean schemaRegionConsensusStarted = false;
private volatile boolean dataRegionConsensusStarted = false;
private static Thread watcherThread;
- private DataNodeContext context;
+ protected DataNodeContext context;
public DataNode() {
super("DataNode");