Antonenko Alexander created AMBARI-11323:
--------------------------------------------
Summary: Enable NameNode HA Wizard: Call to install JOURNALNODE
failed
Key: AMBARI-11323
URL: https://issues.apache.org/jira/browse/AMBARI-11323
Project: Ambari
Issue Type: Bug
Components: ambari-web
Affects Versions: 2.0.0
Reporter: Antonenko Alexander
Assignee: Antonenko Alexander
Fix For: 2.1.0
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:
{code}
{
"status" : 409,
"message" :
"org.apache.ambari.server.controller.spi.ResourceAlreadyExistsException:
Attempted to create a component which already exists: [clusterName=c1,
serviceName=HDFS, componentName=JOURNALNODE]"
}
{code}
UI doesn't show any error.
JS error log:
{code}
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
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)