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

Yusaku Sako commented on AMBARI-6606:
-------------------------------------

[~einstein_ict]
Yes, when a cluster is deleted, CLUSTER_CURRENT_STATUS needs to be cleared (as 
you have done) or deleted (that's why ambari-server reset works), as the Web UI 
uses that to determine how to route the user.
This is the current behavior as of 1.6.1, but the Web UI behavior will be 
updated to 1) not rely on the "persist" state (but rather use the feature 
introduced in AMBARI-5749 to figure out routing) and also support standalone 
mode as part of the new Ambari Admin feature in 1.7.0 (meaning, when there are 
no clusters, Ambari admin users can log in and manage Users/Groups/Views and 
optionally create a cluster via Ambari.

> Cannot login the webUI after delete blueprint/cluster/hosts
> -----------------------------------------------------------
>
>                 Key: AMBARI-6606
>                 URL: https://issues.apache.org/jira/browse/AMBARI-6606
>             Project: Ambari
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.6.0
>            Reporter: Qinghe Jin
>
> I created a cluster through rest api by deploying VMs, posting bootstrap, 
> blueprint and cluster. I can see it from the webUI and manage it from the 
> webui. When I try to delete cluster through rest api, after deleting cluster 
> and blueprint, I cannot login from the webUI anymore. I can still input my 
> username and password, but when I click the Sign in Button, there is no 
> response.
> Did I do something wrong when I delete the cluster? Or did I miss something? 
> Is there any standard way to correctly delete a cluster through rest api? I 
> mean I need to delete the full cluster with all of its components and at the 
> same time, the UI should works fine. I had saw an suggestion from the 
> internet which said we need to do ambari-server reset, which is a not proper 
> for me. Because I need to keep all the other clusters and I need to use rest 
> api.
> Anyone can help? Any comments or ideas are greatly appreciated. Thanks in 
> advance.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to