1.系统环境和形相应软件版本: centos6.5 green-plum的版本是4.3.5.2
2.安装中出现的问题:
gpinitsystem -c gpinitsystem_config -h seghost
但是它一直报错:
pstop failed. (Reason='int() argument must be a string or a number,
not 'NoneType'') exiting...
20170419:15:55:11:gpinitsystem:mdw:gpadmin-[FATAL]:-Failed to stop new
Greenplum instance, check log file Script Exiting!
不知道是什么原因造成的,大神指教.
其中gpinitsystemd-log:
20170419:15:55:09:007789 gpcreateseg.sh:mdw:gpadmin-[INFO]:-End Function STOP_QE
20170419:15:55:09:007789 gpcreateseg.sh:mdw:gpadmin-[INFO]:-[0]-End Function PROCESS_QE
20170419:15:55:09:007789 gpcreateseg.sh:mdw:gpadmin-INFO:-End Main
20170419:15:55:09:001818 gpinitsystem:mdw:gpadmin-[INFO]:-End Function PARALLEL_WAIT
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-End Function PARALLEL_COUNT
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-Start Function PARALLEL_SUMMARY_STATUS_REPORT
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:------------------------------------------------
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-Parallel process exit status
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:------------------------------------------------
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-Total processes marked as completed = 1
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-Total processes marked as killed = 0
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-Total processes marked as failed = 0
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:------------------------------------------------
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-End Function PARALLEL_SUMMARY_STATUS_REPORT
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-End Function CREATE_QES_PRIMARY
INSERT 0 1
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-Deleting distributed backout files
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-Removing back out file
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-No errors generated from parallel processes
CHECKPOINT
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-Start Function STOP_QD_PRODUCTION
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-Restarting the Greenplum instance in production mode
20170419:15:55:11:001818 gpinitsystem:mdw:gpadmin-[INFO]:-Start Function ERROR_EXIT
20170419:15:55:11:gpinitsystem:mdw:gpadmin-[FATAL]:-Failed to stop new Greenplum instance, check log file Script Exiting!
但是在gpAdminLogs目录下还有一个gpstop_20170419.log(相关内容为):
20170419:15:55:11:009635 gpstop:mdw:gpadmin-[INFO]:-Starting gpstop with args: -a -i -m -d /home/gpadmin/gpdata/master/gpseg-1
20170419:15:55:11:009635 gpstop:mdw:gpadmin-[INFO]:-Gathering information and validating the environment...
20170419:15:55:11:009635 gpstop:mdw:gpadmin-[INFO]:-Obtaining Greenplum Master catalog information
20170419:15:55:11:009635 gpstop:mdw:gpadmin-[INFO]:-Obtaining Segment details from master...
20170419:15:55:11:009635 gpstop:mdw:gpadmin-[CRITICAL]:-gpstop failed. (Reason='int() argument must be a string or a number, not 'NoneType'') exiting...
小弟被困惑已经好几天了,求大神指导!!!
私は数日間混乱していて、この穴を登るのは本当に不快です。
マスターに ed をインストールする必要があります: yum install ed -y
お使いのオペレーティング システムと greenplum のバージョンは両方とも古いです。新しいバージョンをインストールすることをお勧めします。