Created 12-05-2016 01:28 PM
Hi. I use
- HDP_2.4_virtualbox_v3.ova. - Host OS is Windows 10x64 (Home edition). - NAT network. Trouble: I cannot connect from jconsole to the sandbox.
An application in the virtual box is running with -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=19150 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.local.only=false netstat -a | grep LISTEN (in the virtual box) shows that somebody (my application, I hope) listens the port 19150. I added port 19150 to the set of rules of the virtual box as (TCP 127.0.0.1/19150/19150) I can connect to 127.0.0.1:19150 with telnet from hostOS (Windows10).
I can connect the virtual box through Pitty (port2222).
I can connect Ambari from the hostOS as well.
BUT jconsole cannot connect to 127.0.0.1:19150. I tried secured and unsecured connections. What should I do to establish a connection from jconsole? Thank you in advance,
Created 12-05-2016 02:27 PM
Is JConsole providing you any specific errors? Or is it simply failing to connect?
Created 12-06-2016 08:42 AM
Just "Connection failed:Connection refused:connect"
Created 12-06-2016 08:54 AM
I use Hortonworks 2.4. As far as i understand it is without docker. Anyway I could try 2.5.
Created 12-06-2016 09:54 AM
I tried Hortonworks 2.5.
I went through
how-to-add-ports-to-the-hdp-25-virtualbox-sandbox
as you recommended.
The results in pictures are below.
The test application is pretty basic
public class Main { public static void main(String... args) throws IOException { System.out.print("Pres [ENTER] to exit..."); System.in.read(); System.out.print("Done."); } }