[Enhancement] (nereids)implement showFrontendsCommand in nereids#43122
Merged
starocean999 merged 1 commit intoapache:masterfrom Nov 16, 2024
Merged
[Enhancement] (nereids)implement showFrontendsCommand in nereids#43122starocean999 merged 1 commit intoapache:masterfrom
starocean999 merged 1 commit intoapache:masterfrom
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
Contributor
Author
|
run buildall |
b452b63 to
85446f7
Compare
Contributor
|
please resolve conflict |
85446f7 to
125e162
Compare
Contributor
Author
|
run buildall |
125e162 to
93cceec
Compare
Contributor
Author
|
run buildall |
Contributor
Author
|
run p0 |
Contributor
|
PR approved by at least one committer and no changes requested. |
Contributor
|
PR approved by anyone and no changes requested. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
support showFrontendsCommand in nereids
Issue Number: close #42764
Related PR: #xxx
Problem Summary:
Check List (For Committer)
Test
test_frontend.groovy cover this test case.
mysql> show frontends;
+-----------------------------------------+-------------+-------------+----------+-----------+---------+--------------------+----------+----------+-----------+------+-------+-------------------+---------------------+---------------------+----------+--------+-------------------------+------------------+
| Name | Host | EditLogPort | HttpPort | QueryPort | RpcPort | ArrowFlightSqlPort | Role | IsMaster | ClusterId | Join | Alive | ReplayedJournalId | LastStartTime | LastHeartbeat | IsHelper | ErrMsg | Version | CurrentConnected |
+-----------------------------------------+-------------+-------------+----------+-----------+---------+--------------------+----------+----------+-----------+------+-------+-------------------+---------------------+---------------------+----------+--------+-------------------------+------------------+
| fe_73d1d34b_7ec5_444a_9266_0299c34183e7 | 172.20.80.1 | 9010 | 8030 | 9030 | 9020 | -1 | FOLLOWER | true | 453869832 | true | true | 3425 | 2024-11-01 19:16:13 | 2024-11-01 19:31:54 | true | | doris-0.0.0--f56e46721e | Yes |
+-----------------------------------------+-------------+-------------+----------+-----------+---------+--------------------+----------+----------+-----------+------+-------+-------------------+---------------------+---------------------+----------+--------+-------------------------+------------------+
1 row in set (5.21 sec)
mysql> show frontends disks;
+-----------------------------------------+-------------+-----------+-------------------------------------+----------------+----------+------+-----------+---------+-------------+
| Name | Host | DirType | Dir | Filesystem | Capacity | Used | Available | UseRate | MountOn |
+-----------------------------------------+-------------+-----------+-------------------------------------+----------------+----------+------+-----------+---------+-------------+
| fe_73d1d34b_7ec5_444a_9266_0299c34183e7 | 172.20.80.1 | meta | /root/doris/doris_run/fe/doris-meta | /dev/nvme0n1p6 | 295G | 246G | 34G | 88% | /root/doris |
| fe_73d1d34b_7ec5_444a_9266_0299c34183e7 | 172.20.80.1 | log | /root/doris/doris_run/fe/log | /dev/nvme0n1p6 | 295G | 246G | 34G | 88% | /root/doris |
| fe_73d1d34b_7ec5_444a_9266_0299c34183e7 | 172.20.80.1 | audit-log | /test | overlay | 295G | 246G | 34G | 88% | / |
| fe_73d1d34b_7ec5_444a_9266_0299c34183e7 | 172.20.80.1 | temp | /root/doris/doris_run/fe/temp_dir | /dev/nvme0n1p6 | 295G | 246G | 34G | 88% | /root/doris |
| fe_73d1d34b_7ec5_444a_9266_0299c34183e7 | 172.20.80.1 | deploy | /root/doris/doris_run/fe | /dev/nvme0n1p6 | 295G | 246G | 34G | 88% | /root/doris |
+-----------------------------------------+-------------+-----------+-------------------------------------+----------------+----------+------+-----------+---------+-------------+
5 rows in set (0.00 sec)
Behavior changed:
Does this need documentation?
Release note
None
Check List (For Reviewer who merge this PR)