202101-03 解决sqoop从postgresql拉数据,报错TCP/IP连接的问题 问题:sqoop从postgresql拉数据,在执行到mapreduce时报错Connectionrefused.CheckthatthehostnameandportarecorrectandthatthepostmasterisacceptingTCP/IPconnections问题定位过程:1、postgresql5432端口已开放,执行任务的节点能telnet通,并且netcat测试通过2、sqooplist-tables命令可正常执行,sqoopimport报错Connectionrefused.Checkthatthehostnameandportarecorrectandthatthe3、从其它... 继续阅读 >