Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK][EASY] Engine supports to bind only a specific range of ports #6295

Open
2 of 3 tasks
pan3793 opened this issue Apr 11, 2024 · 2 comments
Open
2 of 3 tasks

[TASK][EASY] Engine supports to bind only a specific range of ports #6295

pan3793 opened this issue Apr 11, 2024 · 2 comments
Assignees

Comments

@pan3793
Copy link
Member

pan3793 commented Apr 11, 2024

What's the level of this task?

EASY (this assumption supposes you are familiar with Kyuubi architecture)

Code of Conduct

Search before creating

  • I have searched in the task list and found no similar tasks.

Mentor

  • I have sufficient expertise on this task, and I volunteer to be a mentor of this task to guide contributors through the task.

Skill requirements

  • Knowledge of Kyuubi architecture
  • Basic knowledge of Scala language and network programming

Background and Goals

By default, Kyuubi's engine binds a random port (actually call socket.bind(0)) and registers itself to discovery service (zookeeper or etcd). In some cases, the Kyuubi server and engines may run in different network zones, e.g. deploying the Kyuubi Server on K8s but launching the Spark engine in a YARN cluster, for security purposes, traffic may be only allowed in a range of ports.

Implementation steps

providing a new configuration to allow the engine to bind only a specific range of ports

Additional context

Introduction of 2024H1 Kyuubi Code Contribution Program

@geek-dragon
Copy link

please assign it to me, thanks @pan3793 .Although I',m new to this, it might be finished in 10 days.

@pan3793
Copy link
Member Author

pan3793 commented Apr 15, 2024

@geek-dragon thanks, assigned, and feel free to ask questions by leaving comments here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants