[
https://issues.apache.org/jira/browse/KUDU-3811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18146884#comment-18146884
]
ASF subversion and git services commented on KUDU-3811:
-------------------------------------------------------
Commit a786e784452aff5339cfb7c8e1343a261d1f6aff in kudu's branch
refs/heads/master from Ashwani Raina
[ https://gitbox.apache.org/repos/asf?p=kudu.git;h=a786e7844 ]
[tools] classify per-location quiesce/state actions for MCP
Commit 4233503cb (KUDU-3811) added the 'kudu cluster location quiesce'
and 'kudu cluster location state' modes, but it landed after commit
cc0533d6a (KUDU-3806), which requires every CLI action to set an MCP
disposition. The new actions didn't set one. As a result,
McpDispositionTest.ValidateCoveragePassesAgainstCurrentTree failed with:
Not found: CLI action is not classified for the MCP server (missing
ActionBuilder::McpDisposition): 'cluster location quiesce status'
and 'kudu mcp serve' would crash at startup in
ValidateDispositionCoverageOrDie().
This patch classifies the five per-location actions the same way as
their per-tablet-server counterparts under 'kudu tserver':
cluster location quiesce status SURFACE
cluster location quiesce start GATED
cluster location quiesce stop GATED
cluster location state enter_maintenance GATED
cluster location state exit_maintenance GATED
Change-Id: I4009906169bf0f8fa989d4cf1d304d0f90d9ef1e
Co-authored-by: Cursor <[email protected]>
Reviewed-on: https://gerrit.cloudera.org/25470
Reviewed-by: Gabriella Lotz <[email protected]>
Reviewed-by: Alexey Serbin <[email protected]>
Tested-by: Alexey Serbin <[email protected]>
> Enhance existing CLI tooling to operate at location level
> ---------------------------------------------------------
>
> Key: KUDU-3811
> URL: https://issues.apache.org/jira/browse/KUDU-3811
> Project: Kudu
> Issue Type: New Feature
> Reporter: Abhishek Chennaka
> Priority: Major
>
> The existing Kudu CLI tools operate at tablet server level and it would be
> nice to have tooling to be able to operate at location level (if there is
> location awareness configured).
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)