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:mdwLmin] :-Failed to stop new
Greenplum instance, check log file Script Exiting!
不知道是什麼原因造成的,大神指教.
其中gpinitsystemd-log: 但是在gpAdminLogs目錄下還有一個gpstop_20170419.log(相關內容為):
20170419:15:55:09:007789 gpcreateseg.sh:mdw:gpadmin-[INFO]:-End Function STOP_QE
20170419:15:5:089 [INFO]:-[0]-End Function PROCESS_QE
20170419:15:55:09:007789 gpcreateseg.sh:mdw:gpadmin-INFO:-End Main
20170419:15:55:09:0008 -[INFO]:-End Function PARALLEL_WAIT
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-End Function PARALLEL_COUNT
20170419:15 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:gpad-[INFOces. = 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-g* 19: 15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-Removing back out file
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INerrious-Noors-Noors-Noors paralls par好嗎-Noors-Noors-Noors-Noors) CHECKPOINT
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-Start Function STOP_QD_PRODUCTION
20170419:15:55:10:0018818 g20170419:15:55:10:0018818202:000m- in production mode
20170419:15:55:11:001818 gpinitsystem:mdw:gpadmin-[INFO]:-Start Function ERROR_EXIT
20170419:15:55:11:gpinitsystem: to stop new Greenplum instance, check log file Script Exiting!
20170419:15:55:11:009635 gpstop:mdw:gpadmin-[INFO]:-Starting gpstopa -m:gpadmin-[INFO]:-Starting gpstopa -m: -d /home/gpadmin/gpdata/master/gpseg-1
20170419:15:55:11:009635 gpstop:mdw:gpadmin-[INFO]:-Gathering information and validating the environment...
:17045 :11:009635 gpstop:mdw:gpadmin-[INFO]:-Obtaining Greenplum Master catalog information
20170419:15:55:11:009635 gpstop:mdw:gpadmin-[INFO]:-Obtaining Smaster 筆... 20170419:15:55:11:009635 gpstop:mdw:gpadmin
-[CRITICAL]:-gpstop failed. (Reason='int() argument must be a string or a number, not 'NoneType''. .
困惑了還幾天,這坑爬的真心難受.
需要在master上面安裝ed即可:yum install ed -y
你的作業系統和 greenplum 版本都比較舊了。建議安裝新的版本。