Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.0
-
None
Description
Steps to reproduce:
1. Launch NameNode HA Wizard
2. Proceed to Configure Components step
POST request to /api/v1/clusters/c1/services?ServiceInfo/service_name=HDFS
with data {"components":[{"ServiceComponentInfo":{"component_name":"JOURNALNODE"}}]}
failed with error:
{ "status" : 409, "message" : "org.apache.ambari.server.controller.spi.ResourceAlreadyExistsException: Attempted to create a component which already exists: [clusterName=c1, serviceName=HDFS, componentName=JOURNALNODE]" }
UI doesn't show any error.
JS error log:
POST http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/services?ServiceInfo/service_name=HDFS 409 (Conflict) vendor.js:108 f.support.ajax.f.ajaxTransport.sendvendor.js:108 f.extend.ajaxapp.js:132424 Em.Object.extend.sendapp.js:4734 App.HighAvailabilityWizardStep5Controller.App.HighAvailabilityProgressPageController.extend.installJournalNodesapp.js:62469 App.wizardProgressPageControllerMixin.Em.Mixin.create.runTaskapp.js:62439 App.wizardProgressPageControllerMixin.Em.Mixin.create.statusChangeCallbackapp.js:64699 (anonymous function)vendor.js:106 f.Callbacks.ovendor.js:106 f.Callbacks.p.fireWithvendor.js:108 vendor.js:108 f.support.ajax.f.ajaxTransport.send.d