You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmytro Sen <ds...@hortonworks.com> on 2015/08/17 22:21:54 UTC

Review Request 37550: Cannot add service after upgrade and enabling ranger

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

Review request for Ambari, Mahadev Konar and Myroslav Papirkovskyy.


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


Repository: ambari


Description
-------

After upgrading Ambari 1.7 to Ambari 2.1 with HDP 2.2 to HDP 2.3 and migrating ranger from a non-Ambari managed service to an Ambari Installed/Managed service we cannot add new services through Ambari.
It looks like the stack_advisor.py is looking for the wrong value in hive.security.authorization.manager. It's looking for com.xasecure.authorization.hive.authorizer.XaSecureHiveAuthorizerFactory when it should be looking for org.apache.ranger.authorization.hive.authorizer.RangerHiveAuthorizerFactory


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py 8af6d91 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/stack_advisor.py 16f7e74 
  ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py 2f84be1 
  ambari-server/src/main/resources/stacks/stack_advisor.py 0ef953d 
  ambari-server/src/test/python/stacks/2.3/common/test_stack_advisor.py 8a37391 

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


Testing
-------

----------------------------------------------------------------------
Ran 241 tests in 7.981s

OK
----------------------------------------------------------------------
Total run:790
Total errors:0
Total failures:0
OK


Thanks,

Dmytro Sen


Re: Review Request 37550: Cannot add service after upgrade and enabling ranger

Posted by Myroslav Papirkovskyy <mp...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37550/#review95628
-----------------------------------------------------------

Ship it!


Ship It!

- Myroslav Papirkovskyy


On Сер. 17, 2015, 11:21 після полудня, Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/37550/
> -----------------------------------------------------------
> 
> (Updated Сер. 17, 2015, 11:21 після полудня)
> 
> 
> Review request for Ambari, Mahadev Konar and Myroslav Papirkovskyy.
> 
> 
> Bugs: AMBARI-12796
>     https://issues.apache.org/jira/browse/AMBARI-12796
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> After upgrading Ambari 1.7 to Ambari 2.1 with HDP 2.2 to HDP 2.3 and migrating ranger from a non-Ambari managed service to an Ambari Installed/Managed service we cannot add new services through Ambari.
> It looks like the stack_advisor.py is looking for the wrong value in hive.security.authorization.manager. It's looking for com.xasecure.authorization.hive.authorizer.XaSecureHiveAuthorizerFactory when it should be looking for org.apache.ranger.authorization.hive.authorizer.RangerHiveAuthorizerFactory
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py 8af6d91 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/stack_advisor.py 16f7e74 
>   ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py 2f84be1 
>   ambari-server/src/main/resources/stacks/stack_advisor.py 0ef953d 
>   ambari-server/src/test/python/stacks/2.3/common/test_stack_advisor.py 8a37391 
> 
> Diff: https://reviews.apache.org/r/37550/diff/
> 
> 
> Testing
> -------
> 
> ----------------------------------------------------------------------
> Ran 241 tests in 7.981s
> 
> OK
> ----------------------------------------------------------------------
> Total run:790
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>