【hadoop】Hadoop源代码调试

配置客户端调试

hadoop-env.sh

export HADOOP_CLIENT_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=6066"

配置IDEA remote debug

![image.png](https://img-blog.csdnimg.cn/img_convert/b2a07717a95a75cac4b1f9e766ecefa4.png#clientId=u498bffa8-2087-4&crop=0&crop=0&crop=1&crop=1&from=paste&height=656&id=u5444d3e2&margin=[object Object]&name=image.png&originHeight=1312&originWidth=1864&originalType=binary&ratio=1&rotation=0&showTitle=false&size=1290965&status=done&style=none&taskId=u162c64e2-dd1c-416f-8dc0-1d133481d38&title=&width=932)

你可能感兴趣的:(Hadoop,Hive,服务运维部署,hadoop,大数据,分布式)