You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Dmytro Sen <ds...@hortonworks.com> on 2017/01/05 15:32:02 UTC

Review Request 55213: PERF: disabling security fails

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/55213/
-----------------------------------------------------------

Review request for Ambari, Myroslav Papirkovskyy, Sid Wagle, and Vitalyi Brodetskyi.


Bugs: AMBARI-19388
    https://issues.apache.org/jira/browse/AMBARI-19388


Repository: ambari


Description
-------

When you are trying to disable security om perf cluster it fails.
1) For cluster with 1200 agents it works fine but for cluster with 1850 agents it fails.
2) According to what i found, root cause is PUT request to http://<ambari_server_host>:8080/api/v1/clusters/<cluster_name> with data like "security_type" : "NONE". So, this request trying to change security type from KERBEROS to NONE and fails by timeout of three minutes.
3) Interesting thing, request to change security type fails and UI showing Error on disable security window. But in the same time in BG operations process which destroying keytabs proceed work.
4) One more thing. After failed disabling kerberos, if you will click restart the same request(update security type) will finish work in a few seconds.
So, what we need to do is to connect profiler and find out what exactly take so much time for request to change security type.


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelper.java 0cf46df 

Diff: https://reviews.apache.org/r/55213/diff/


Testing
-------

Unit tests passed


Thanks,

Dmytro Sen


Re: Review Request 55213: PERF: disabling security fails

Posted by Sid Wagle <sw...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/55213/#review160608
-----------------------------------------------------------


Ship it!




Ship It!

- Sid Wagle


On Jan. 5, 2017, 3:32 p.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/55213/
> -----------------------------------------------------------
> 
> (Updated Jan. 5, 2017, 3:32 p.m.)
> 
> 
> Review request for Ambari, Myroslav Papirkovskyy, Sid Wagle, and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-19388
>     https://issues.apache.org/jira/browse/AMBARI-19388
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> When you are trying to disable security om perf cluster it fails.
> 1) For cluster with 1200 agents it works fine but for cluster with 1850 agents it fails.
> 2) According to what i found, root cause is PUT request to http://<ambari_server_host>:8080/api/v1/clusters/<cluster_name> with data like "security_type" : "NONE". So, this request trying to change security type from KERBEROS to NONE and fails by timeout of three minutes.
> 3) Interesting thing, request to change security type fails and UI showing Error on disable security window. But in the same time in BG operations process which destroying keytabs proceed work.
> 4) One more thing. After failed disabling kerberos, if you will click restart the same request(update security type) will finish work in a few seconds.
> So, what we need to do is to connect profiler and find out what exactly take so much time for request to change security type.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelper.java 0cf46df 
> 
> Diff: https://reviews.apache.org/r/55213/diff/
> 
> 
> Testing
> -------
> 
> Unit tests passed
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>