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

Support YARN for resource management #298

Open
linhr opened this issue Nov 20, 2024 · 5 comments
Open

Support YARN for resource management #298

linhr opened this issue Nov 20, 2024 · 5 comments

Comments

@linhr
Copy link
Contributor

linhr commented Nov 20, 2024

It should be possible to generate a Rust client for the Hadoop RPC protocol and communicate with YARN for resource management.

@zuston
Copy link

zuston commented Dec 18, 2024

There is no need to implement this by the hadoop protocol, you can simply use the java to start/stop the sail process from my point.

@linhr
Copy link
Contributor Author

linhr commented Dec 19, 2024

There is no need to implement this by the hadoop protocol, you can simply use the java to start/stop the sail process from my point.

Thanks for the suggestion! This is a viable approach. We'll evaluate the path forward when we start to work on this.

@zuston
Copy link

zuston commented Dec 19, 2024

There is no need to implement this by the hadoop protocol, you can simply use the java to start/stop the sail process from my point.

Thanks for the suggestion! This is a viable approach. We'll evaluate the path forward when we start to work on this.

Yes, I think I have some experience on this. If you want to do this, I'm glad to join this design discussion

@linhr
Copy link
Contributor Author

linhr commented Dec 19, 2024

@zuston Thanks for your interest in this! We'd love to have you in the design discussion.

What do you think about the option that uses the Hadoop RPC protocol in Rust? Admittedly, this is a non-trivial option that I haven't seen many people doing. The benefit is that the JVM won't be a dependency of Sail, so the user experience remains straightforward.

@zuston
Copy link

zuston commented Dec 19, 2024

What do you think about the option that uses the Hadoop RPC protocol in Rust? Admittedly, this is a non-trivial option that I haven't seen many people doing. The benefit is that the JVM won't be a dependency of Sail, so the user experience remains straightforward.

Yes, the design with Hadoop RPC protocol is cool but not easy to make all things aligned with the vanilla yarn client, which means the development may be harder than the JVM based impl.

BTW, the resource manager is not performance sensitive and Yarn is a legacy system. If you want to spend more time to develop Kubernetes operator for sail, I will it will be more valuable

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