[
https://issues.apache.org/jira/browse/AMBARI-18086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vitaly Brodetskyi updated AMBARI-18086:
---------------------------------------
Status: Patch Available (was: Open)
> Falcon Ambari integration should be enabled even if Atlas server and Falcon
> server are no collocated
> ----------------------------------------------------------------------------------------------------
>
> Key: AMBARI-18086
> URL: https://issues.apache.org/jira/browse/AMBARI-18086
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.4.0
> Reporter: Vitaly Brodetskyi
> Assignee: Vitaly Brodetskyi
> Priority: Blocker
> Fix For: 2.4.0
>
> Attachments: AMBARI-18086.patch
>
>
> Several changes for Falcon Atlas integration.
> In Falcon's params_linux.py for HDP 2.5, set atlas_hook_cp even if Atlas is
> not present on this host since the RPM will install the dependency if Falcon
> is installed.
> {code}
> atlas_hook_cp = ""
> if has_atlas_in_cluster():
> atlas_hook_filename =
> default('/configurations/atlas-env/metadata_conf_file',
> 'atlas-application.properties')
> # Only append /etc/atlas/conf to classpath if on HDP 2.4.* and atlas server
> is running on this host.
> if has_atlas_server_on_host and
> check_stack_feature(StackFeature.ATLAS_CONF_DIR_IN_PATH,
> stack_version_formatted):
> atlas_conf_dir = os.environ['METADATA_CONF'] if 'METADATA_CONF' in
> os.environ else format('{stack_root}/current/atlas-server/conf')
> atlas_home_dir = os.environ['METADATA_HOME_DIR'] if 'METADATA_HOME_DIR'
> in os.environ else format('{stack_root}/current/atlas-server')
> atlas_hook_cp = atlas_conf_dir + os.pathsep +
> os.path.join(atlas_home_dir, "hook", "falcon", "*") + os.pathsep
> #endregion
> {code}
> Further, Stack Advisor in HDP 2.5, plus EU/RU to HDP 2.5 needs to change
> Falcon's falcon-startup.properties "*.application.services" to use
> "org.apache.atlas.falcon.service.AtlasService" instead of
> "org.apache.falcon.atlas.service.AtlasService" since the class was renamed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)