incubator-livy icon indicating copy to clipboard operation
incubator-livy copied to clipboard

Add IPv6 preferred JVM support

Open Alexvsalexvsalex opened this issue 1 year ago • 1 comments

What changes were proposed in this pull request?

Now loopback address is 127.0.0.1 always. But it's not work for JVM that was run with -Djava.net.preferIPv6Addresses=true. It's better to pass host (that will be ::1 for IPv6) to py4j gateway creation.

How was this patch tested?

Livy with this fix is using on IPv6 machines now.

Alexvsalexvsalex avatar Nov 14 '23 13:11 Alexvsalexvsalex