You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Dmytro Sen (JIRA)" <ji...@apache.org> on 2016/04/05 13:49:25 UTC
[jira] [Reopened] (AMBARI-14383) Add support for Ranger TagSync
process as a component under RANGER
[ https://issues.apache.org/jira/browse/AMBARI-14383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmytro Sen reopened AMBARI-14383:
---------------------------------
This has been reverted, it breaks unit tests
{code}
Ran 253 tests in 6.096s
OK
----------------------------------------------------------------------
Failed tests:
FAIL: test_hook_default_conf_select (test_after_install.TestHookAfterInstall)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/inc-ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
return func(*args, **keywargs)
File "/tmp/inc-ambari/ambari-server/src/test/python/stacks/2.0.6/hooks/after-INSTALL/test_after_install.py", line 85, in test_hook_default_conf_sele
ct
sudo = True)
File "/tmp/inc-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 253, in assertResourceCalled
self.assertEquals(name, resource.name)
AssertionError: Tuples differ: ('cp', '-R', '-p', '/etc/knox/... != ('cp', '-R', '-p', '/etc/range...
First differing element 3:
/etc/knox/conf
/etc/ranger/kms/conf
- ('cp', '-R', '-p', '/etc/knox/conf', '/etc/knox/conf.backup')
? ^^^ ^^^
+ ('cp', '-R', '-p', '/etc/ranger/kms/conf', '/etc/ranger/kms/conf.backup')
? +++++++ ^^ +++++++ ^^
FAIL: test_hook_default_conf_select_with_error (test_after_install.TestHookAfterInstall)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/inc-ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
return func(*args, **keywargs)
File "/tmp/inc-ambari/ambari-server/src/test/python/stacks/2.0.6/hooks/after-INSTALL/test_after_install.py", line 332, in test_hook_default_conf_sel
ect_with_error
sudo = True)
File "/tmp/inc-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 253, in assertResourceCalled
self.assertEquals(name, resource.name)
AssertionError: Tuples differ: ('cp', '-R', '-p', '/etc/knox/... != ('cp', '-R', '-p', '/etc/range...
First differing element 3:
/etc/knox/conf
/etc/ranger/kms/conf
- ('cp', '-R', '-p', '/etc/knox/conf', '/etc/knox/conf.backup')
? ^^^ ^^^
+ ('cp', '-R', '-p', '/etc/ranger/kms/conf', '/etc/ranger/kms/conf.backup')
? +++++++ ^^ +++++++ ^^
{code}
Please follow the contribution process https://cwiki.apache.org/confluence/display/AMBARI/How+to+Contribute
Get +1 from another committer and ensure, that all unit tests passed before commit
> Add support for Ranger TagSync process as a component under RANGER
> ------------------------------------------------------------------
>
> Key: AMBARI-14383
> URL: https://issues.apache.org/jira/browse/AMBARI-14383
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Reporter: Gautam Borad
> Assignee: Gautam Borad
> Fix For: 2.4.0
>
> Attachments: AMBARI-14383.1.patch, AMBARI-14383.2.patch, AMBARI-14383.patch
>
>
> Ranger TagSync is a separate service that will be responsible for synchronizing the tags from Apache Atlas into Apache Ranger (db).
> This jira will track changes required to install/configure TagSync from Ambari.
> * Add Ranger TagSync component under existing RANGER service.
> * The component will be a master component
> * Ability to start/stop the component independently of Ranger Admin.
> * Ability to install the component on any host of the cluster
> * Support should be available only from HDP 2.3
> * Any other changes required in Ambari stack to support such component
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)