hadoopHadoop远程调试
Posted 九师兄
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了hadoopHadoop远程调试相关的知识,希望对你有一定的参考价值。
1.概述
在hadoop-env.sh中添加
#hadoop远程debug配置
#远程调试NameNode
export HADOOP_NAMENODE_OPTS="-agentlib:jdwp=transport=dt_socket,address=4488,server=y,suspend=y"
#远程调试DataNode
export HADOOP_DATANODE_OPTS="-agentlib:jdwp=transport=dt_socket,address=9888,server=y,suspend=y"
#远程调试ResourceManager
export YARN_RESOURCEMANAGER_OPTS="-agentlib:jdwp=transport=dt_socket,address=10888,server=y,suspend=y"
#远程调试NodeManager
export YARN_NODEMANAGER_OPTS="-agentlib:jdwp=transport=dt_socket,address=11888,server=y,suspend=y"
以上是关于hadoopHadoop远程调试的主要内容,如果未能解决你的问题,请参考以下文章