akiyamaneko opened a new pull request #3260:
URL: https://github.com/apache/ambari/pull/3260


   ## What changes were proposed in this pull request?
   
   The functions related to remote cluster have the following problems:
   1. When adding a remote cluster, the Ambari URL input prompt is 
misleading:'c1' has no meaning
   2. If we failed to add a new cluster, JS exception caused the page to fail 
to pop up an error message
   3. After successfully adding a new cluster, the service column in the table 
shows empty, but the ambari.remoteambariclusterservice table actual has servcie 
data.
   4. If you update the existing remote cluster (even if you just delete 1 
character and then add it again and then click the save button), we checked the 
database table and found that the services corresponding to the cluster in the 
ambari.remoteambariclusterservice table had added completely duplicate data,
   
   I try to fix these 4 problems that  have found.
   
   ## How was this patch tested?
   
    manual tests
   
![fix-1](https://user-images.githubusercontent.com/52202080/99098265-bbaf6400-2613-11eb-90bc-6ad380d47a41.png)
   
![fix-2](https://user-images.githubusercontent.com/52202080/99098266-bbaf6400-2613-11eb-8cfb-8212a0b537b2.png)
   ![fix 
3-4](https://user-images.githubusercontent.com/52202080/99098267-bc47fa80-2613-11eb-85aa-f473b1997346.png)
   
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to