You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2015/12/14 17:04:19 UTC

Review Request 41353: Make messages about user or group not found more understandable

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

Review request for Ambari and Dmitro Lisnichenko.


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


Repository: ambari


Description
-------

If Ambari is setup not to manage users (via ignore_users_create or via
host_preped). We saw a bunch of cases with QE where not understandable errors
poped up. The reason for that was because qe didn't configuration their ldap
accounts correctly.

However we had to debug the code to see that. It would be a lot better if
Ambari gave an understandable error message when no user or group have been
found.


Diffs
-----

  ambari-common/src/main/python/resource_management/core/providers/system.py 4e6a122 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 41353: Make messages about user or group not found more understandable

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41353/#review110245
-----------------------------------------------------------

Ship it!


Ship It!

- Dmitro Lisnichenko


On Dec. 14, 2015, 6:04 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/41353/
> -----------------------------------------------------------
> 
> (Updated Dec. 14, 2015, 6:04 p.m.)
> 
> 
> Review request for Ambari and Dmitro Lisnichenko.
> 
> 
> Bugs: AMBARI-14369
>     https://issues.apache.org/jira/browse/AMBARI-14369
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> If Ambari is setup not to manage users (via ignore_users_create or via
> host_preped). We saw a bunch of cases with QE where not understandable errors
> poped up. The reason for that was because qe didn't configuration their ldap
> accounts correctly.
> 
> However we had to debug the code to see that. It would be a lot better if
> Ambari gave an understandable error message when no user or group have been
> found.
> 
> 
> Diffs
> -----
> 
>   ambari-common/src/main/python/resource_management/core/providers/system.py 4e6a122 
> 
> Diff: https://reviews.apache.org/r/41353/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>