You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ca...@apache.org on 2022/05/29 10:01:52 UTC
[iotdb] branch beyyes/feature/show_datanodes updated: add exception dealing logic for SHOW CLUSTER command in LocalConfigNode mode
This is an automated email from the ASF dual-hosted git repository.
caogaofei pushed a commit to branch beyyes/feature/show_datanodes
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/beyyes/feature/show_datanodes by this push:
new b4195317b4 add exception dealing logic for SHOW CLUSTER command in LocalConfigNode mode
b4195317b4 is described below
commit b4195317b4184fe8e2da2da5287b3fc8c9a5b3b2
Author: Beyyes <ca...@apache.org>
AuthorDate: Sun May 29 18:01:32 2022 +0800
add exception dealing logic for SHOW CLUSTER command in LocalConfigNode mode
---
.../apache/iotdb/db/mpp/plan/execution/config/ShowClusterTask.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/server/src/main/java/org/apache/iotdb/db/mpp/plan/execution/config/ShowClusterTask.java b/server/src/main/java/org/apache/iotdb/db/mpp/plan/execution/config/ShowClusterTask.java
index 8faa1298ef..5f69466d6b 100644
--- a/server/src/main/java/org/apache/iotdb/db/mpp/plan/execution/config/ShowClusterTask.java
+++ b/server/src/main/java/org/apache/iotdb/db/mpp/plan/execution/config/ShowClusterTask.java
@@ -73,9 +73,7 @@ public class ShowClusterTask implements IConfigTask {
future.setException(e);
}
} else {
- // TODO how to get property in localConfigNode
- LocalConfigNode localConfigNode = LocalConfigNode.getInstance();
- config.getDataNodeId();
+ future.setException(new TException("SHOW CLUSTER not support local mode"));
}
// build TSBlock