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

[SPARK-30087][CORE] Enhanced implementation of JmxSink on RMI remote calls #26727

Closed
wants to merge 1 commit into from
Closed

[SPARK-30087][CORE] Enhanced implementation of JmxSink on RMI remote calls #26727

wants to merge 1 commit into from

Conversation

XuQianJin-Stars
Copy link

What changes were proposed in this pull request?

Enhanced implementation of JmxSink on RMI remote calls.
E.g:
service: jmx:rmi://127.0.0.1:1986/jndi/rmi://127.0.0.1:1986/jmxrmi to connect

Why are the changes needed?

JMX supports RMI remote which can be more suitable for production use.

Does this PR introduce any user-facing change?

Added JMX RMI remote port connection method.

How was this patch tested?

JmxSinkSuite.scala

@XuQianJin-Stars
Copy link
Author

hi @jerryshao Have time to review this PR?

@XuQianJin-Stars
Copy link
Author

hi, @dongjoon-hyun Thank you very much. Hive any time to review this PR?

@jerryshao
Copy link
Contributor

One concern is that this will expose a security hole of Java RMI, I'm not sure if it is OK, but somehow it will lead to CVE issue.

@XuQianJin-Stars
Copy link
Author

One concern is that this will expose a security hole of Java RMI, I'm not sure if it is OK, but somehow it will lead to CVE issue.

hi @jerryshao Can I add a parameter for the user to decide whether to enable JAVA RMI?...

@jerryshao
Copy link
Contributor

Can you please investigate how other systems like Kafka, Hadoop handle this problem? Adding parameter could be a way, but my thinking is that if we want to enable RMI, it would be better to provide a security way also.

@XuQianJin-Stars
Copy link
Author

XuQianJin-Stars commented Dec 16, 2019

Can you please investigate how other systems like Kafka, Hadoop handle this problem? Adding parameter could be a way, but my thinking is that if we want to enable RMI, it would be better to provide a security way also.

Well, okay, let me look at the implementation of hadoop first. Flink is similarly implemented using open rmi ports. hadoop is implemented through JMXProxyServlet.

@XuQianJin-Stars
Copy link
Author

hi @jerryshao What do you think about this PR? Add a parameter to control or implement the serverlet or the current RMI?

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@github-actions
Copy link

github-actions bot commented Jun 8, 2020

We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.
If you'd like to revive this PR, please reopen it and ask a committer to remove the Stale tag!

@github-actions github-actions bot added the Stale label Jun 8, 2020
@github-actions github-actions bot closed this Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants