i trying remote debug zeppelin. added below in /etc/zeppelin/conf/zeppelin-env.sh:
export zeppelin_mem="-xdebug -xnoagent -xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8111
also created remote debug in intellij, gave command line argument running remote jvm :
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8111
when try start zeppelin server :
sudo -u zeppelin /usr/lib/zeppelin/bin/zeppelin-daemon.sh restart
it shows :
zeppelin stop [ ok ] zeppelin start [ ok ]
but when try launch zeppelin via ssh tunnel (on mac) :
ssh -i ec2-key-pair.pem -n -l 8058:localhost:8089 hadoop@ec2-34-109-123-233.compute-1.amazonaws.com
it shows :
channel 2: open failed: connect failed: connection refused channel 2: open failed: connect failed: connection refused channel 2: open failed: connect failed: connection refused channel 3: open failed: connect failed: connection refused channel 2: open failed: connect failed: connection refused
in intellij:
10:04 pm error running remote: unable open debugger port (localhost:8111): java.io.ioexception "handshake failed - connection prematurally closed"
can 1 tell me doing wrong here ?
Comments
Post a Comment