Debug hama-bspMaster


vi bin/hama


增加 BSP_OPTS="$BSP_OPTS $BSP_BSPMASTER_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,address=8792,server=y,suspend=y"



最后行改为:exec "$JAVA" $JAVA_HEAP_MAX $BSP_OPTS $HAMA_OPTS -classpath "$CLASSPATH" $CLASS "$@"

你可能感兴趣的:(master)