问题描述
GreenPlum连接错误:
Greenplum_Connector_1,0: The following sql statement Failed: INSERT INTO GPCC_ET_20200903233319813_84175_0 select * from table .
The statement reported the following reason: [sqlCODE=HY000][Native=56,966,976] [IBM(DataDirect OEM)][ODBC Greenplum Wire Protocol driver][Greenplum]ERROR: Could not translate host name "hostname_of_machine",port "8001" to address: Name or service not kNown (cdbutil.c:819)
(seg5 192.168.111.240:6005 pid=38339) (cdbdisp.c:254)(File cdbdisp.c; Line 254; Routine cdbdisp_finishCommand; )
(CC_GPCommon::checkThreadStatusThrow,file CC_GPCommon.cpp,line 808)
解决方法
如乔恩所说,“ hostname_of_machine”需要更新为真实的主机名