2017-08-25 66 views
0

在添加節點以測試縮放後,使用cloudbreak刪除該節點後,服務ambari-server將不會重新啓動。使用cloudbreak刪除節點後,Ambari服務器不會重新啓動

錯誤的發射是:

DB configs consistency check failed. Run "ambari-server start --skip-database-check" to skip. You may try --auto-fix-database flag to attempt to fix issues automatically. If you use this "--skip-database-check" option, do not make any changes to your cluster topology or perform a cluster upgrade until you correct the database consistency issues. See /var/log/ambari-server/ambari-server-check-database.log for more details on the consistency issues. 

展望日誌沒有多說。我嘗試重新啓動postgres,有時它工作,像10次1(如何可能?)

回答

0

我在我的理由更深入,而不是隻是重新啓動postgres。

我打開ambari表中它看起來:

須藤蘇 - Postgres的PSQL -U ambari -W ambari -p 5432 (密碼是bigdata)

,當我看着表topology_logical_requesttopology_requesttopology_hostgroup,只見羣集登記刪除請求,僅一個增加請求:

ambari=> select * from topology_logical_request; 
id | request_id |      description 
----+------------+----------------------------------------------------------- 
    1 |   1 | Logical Request: Provision Cluster 'sentelab-perf' 
62 |   51 | Logical Request: Scale Cluster 'sentelab-perf' (+1 hosts) 

檢查ID來刪除(跟蹤與添加節點操作的所有請求),並開始將其刪除(爲了事項):關閉與\ q

delete from topology_hostgroup where id = 51; 
delete from topology_logical_request where id = 62; 
DELETE FROM topology_request WHERE id = 51; 

,重新啓動ambari服務器,和它的作品!

相關問題