[
https://issues.apache.org/jira/browse/AMBARI-21658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16113950#comment-16113950
]
Hudson commented on AMBARI-21658:
---------------------------------
FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #1778 (See
[https://builds.apache.org/job/Ambari-branch-2.5/1778/])
AMBARI-21658. Check for config group host mapping left behind after host
(swagle:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=30bea532c6e80d635ba8fb7b12422e8d936e058e])
* (delete)
ambari-server/src/main/java/org/apache/ambari/server/controller/utilities/DatabaseChecker.java
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/state/configgroup/ConfigGroupImpl.java
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/checks/DatabaseConsistencyCheckHelper.java
* (edit)
ambari-server/src/test/java/org/apache/ambari/server/checks/DatabaseConsistencyCheckHelperTest.java
* (delete)
ambari-server/src/test/java/org/apache/ambari/server/controller/utilities/DatabaseCheckerTest.java
> Check for config group host mapping left behind after host delete
> -----------------------------------------------------------------
>
> Key: AMBARI-21658
> URL: https://issues.apache.org/jira/browse/AMBARI-21658
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Reporter: Siddharth Wagle
> Assignee: Siddharth Wagle
> Priority: Critical
> Fix For: 2.5.2
>
> Attachments: AMBARI-21658.patch
>
>
> Delete hosts deletes the config group host mapping as well, however, certain
> older versions of Ambari have reported seeing orphaned mappings in the
> configgrouphostmapping table.
> This results in Add Service wizard being stuck with the following error
> message:
> {code}
> This is a JS issue. No exceptions/error in Ambari server logs:
> Uncaught TypeError: Cannot read property 'id' of undefined
> at http://192.167.42.111:8080/javascripts/app.js:37021:96
> at Array.map (native)
> at Class.<anonymous>
> {code}
> The patch addresses identifying such an error on server start and providing a
> way to fix it automatically.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)