apache / apache/kyuubi

[FEATURE] Support to get sessions/operations, close session/cancel operation in AdminResource

Open
#4,375 3 comments 0 reactions 0 assignees View on GitHub
kind:feature priority:major
Dominant language
Scala
Stars
2.4k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

### Search before asking

- [X] I have searched in the [issues](https://github.com/apache/kyuubi/issues?q=is%3Aissue) and found no similar issues.

### Describe the feature

It is useful for admin, we can only allow the server admin to take these actions.

### Motivation

To get the kyuubi server active sessions/operations.

And make it easy to close session/cancel operation for admin.

### Describe the solution

_No response_

### Additional context

_No response_

### Are you willing to submit PR?

- [ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to improve.
- [ ] No. I cannot submit a PR at this time.

Contributor guide

Open the contributing guide

Research direction

Start by reading the existing AdminResource entry points and the surrounding server-admin authorization behavior. Determine how active sessions and operations are exposed, then define the completion checks for listing sessions and operations, closing sessions, and cancelling operations only for server admins.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
api, authorization, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.