flume本地调试

 

本机idea远程调试flume:https://blog.csdn.net/u012373815/article/details/60601118

遇到

[root@hadoop02 bin]# ./flume-ng agent -c ../conf/ -f ../conf/exec.conf -n a1 -Dflume.root.logger=INFO,console
Info: Sourcing environment configuration script /home/flume/flume-1.9.0/conf/flume-env.sh
Info: Including Hive libraries found via () for Hive access
+ exec /usr/local/jdk1.8.0_111/bin/java -Xmx20m -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y -Dflume.root.logger=INFO,console -cp '/home/flume/flume-1.9.0/conf:/home/flume/flume-1.9.0/lib/*:/home/flume/flume-1.9.0/plugins.d/data2sql/lib/*:/home/flume/flume-1.9.0/plugins.d/data2sql/libext/*:/lib/*' -Djava.library.path= org.apache.flume.node.Application -f ../conf/exec.conf -n a1
ERROR: transport error 202: bind failed: 地址已在使用
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
已放弃(吐核)

解决方式

 

posted @ 2019-03-20 10:20  烟雨蒙尘  阅读(1061)  评论(0编辑  收藏  举报