Skip to content

Instantly share code, notes, and snippets.

@zdepablo
Last active June 21, 2016 09:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zdepablo/daf71447c82391c1b4311ffcceec2ebe to your computer and use it in GitHub Desktop.
Save zdepablo/daf71447c82391c1b4311ffcceec2ebe to your computer and use it in GitHub Desktop.
Running remote debugger
# java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=12605 Main # Name of .class program
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pr/cloudera/parcels/CDH-5.5.2-1.cdh5.5.2.p0.4/lib/hadoop/lib/native
java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=12611 -cp ta rget/da_record_linkage-0.0.1-SNAPSHOT-jar-with-dependencies.jar da_record_linkage.TestSnappy
netstat -plten | grep LISTEN | grep :120* # See if there is any open port
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment