apache / apache/iotdb

Refactor the Server Command-Lines for Config-Node, Data-Node and the upcoming AI-Node

オープン
#13,171 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
6.4k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
115

説明

Currently the server CLI implementation of the existing nodes lacks clarity and needs a major cleaning up.

- Use Apache Commons CLI to implement the general command-line functionality
- Refactor the ConfigNode, DataNode and AiNode CLI parts

The syntax of the commandline issues will change to the follwing format:

{NodeCli}

The commands will be:
- start
- remove

The options will be:
- for the remove command
- nodeId {some node id}

To be discussed:
- Should it be possible to remove multiple nodes, by passing in a list of ids?
- Should it be possible to remove the current node, by omitting the nodeId parameter?

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、既存の ConfigNode、DataNode、AiNode のサーバー CLI 実装を読み、それぞれの現在のコマンドライン動作を比較します。目標として、issue で提案されている start/remove コマンド構造と nodeId オプションを使用し、複数ノードの削除と nodeId の省略がサポートされるかどうかを明確にします。3 つの CLI が明確化された Apache Commons CLI ベースの構文を共有すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
cli
issue の種類
リファクタリング
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。