ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-18990) Auto-fix common issues found by the DB consistency checker
Date Fri, 09 Dec 2016 13:50:58 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-18990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15735368#comment-15735368
] 

Hudson commented on AMBARI-18990:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #498 (See [https://builds.apache.org/job/Ambari-branch-2.5/498/])
AMBARI-18990. Auto-fix common issues found by the DB consistency checker (dlysnichenko: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=6029846c94d3b9aa00bee7282071270206781688])
* (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ClusterConfigEntity.java
* (edit) ambari-server/src/main/python/ambari_server_main.py
* (edit) ambari-server/src/main/java/org/apache/ambari/server/checks/DatabaseConsistencyChecker.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/checks/DatabaseConsistencyCheckHelper.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariServerTest.java
* (edit) ambari-server/src/main/python/ambari-server.py


> Auto-fix common issues found by the DB consistency checker
> ----------------------------------------------------------
>
>                 Key: AMBARI-18990
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18990
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-18990.patch
>
>
> Proposed auto-fixes
> *Inconsistency for table hostcomponentdesiredstate and hostcomponentstate for stack upgrade.
> *Deleted services cause config table inconsistent
> *Primary key constrain issue from old Ambari version
> *Schema name in postgres is not ambari
> *Inconsistency view
> # If there are missing states (service, component, host), etc, then automatically add
one with a value of UNKNOWN or INSTALLED.
> # If there are no selected configs, then select the latest ones (could be a bit dangerous)
> # If there are multiple selected configs for the same type, then unselect all but the
most recent (could be a bit dangerous)
> For dangerous options, by default fail with warning, and provide console option to perform
fixes anyway (like the fsck does)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message