本人在擴容的時候碰到一個問題:
擴容5臺,每臺節點有 8主8從,擴容的時候 主節點都成功了,從節點失敗,最后還得回滾。
擴容的時候打開了debug ,日志如下:
20181024:03:21:14:042513 gpexpand:SND-GP-04:gpadmin-[INFO]:-Starting Greenplum Database in restricted mode
20181024:03:23:08:042513 gpexpand:SND-GP-04:gpadmin-[ERROR]:-gpexpand failed. exiting...
Traceback (most recent call last):
File "/opt/greenplum/greenplum-db/./bin/gpexpand", line 3157, in main
_gp_expand.cleanup_new_segments()
File "/opt/greenplum/greenplum-db/./bin/gpexpand", line 1827, in cleanup_new_segments
startCmd.run(validateAfter=True)
File "/opt/greenplum/greenplum-db/lib/python/gppylib/commands/base.py", line 717, in run
self.validate()
File "/opt/greenplum/greenplum-db/lib/python/gppylib/commands/base.py", line 764, in validate
raise ExecutionError("non-zero rc: %d" % self.results.rc, self)
ExecutionError: ExecutionError: 'non-zero rc: 1' occured. Details: 'GPSTART_INTERNAL_MASTER_ONLY=1 && $GPHOME/bin/gpstart -a -R -v' cmd had rc=1 completed=Tr
ue halted=False
各位大神是否有碰到類似的問題呢
uj5u.com熱心網友回復:
資料庫啟動時是否是-R模式?轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/78204.html
標籤:Greenplum
