Making ODPi Ambari stack compatible with ODPi packaging (getting rid of /usr/hdp)
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/06adbb52 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/06adbb52 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/06adbb52 Branch: refs/heads/BIGTOP-2666 Commit: 06adbb5214639b7e813ac777d0d11553d911603d Parents: 166d2e0 Author: Roman Shaposhnik <[email protected]> Authored: Fri Oct 28 10:56:11 2016 -0700 Committer: Roman Shaposhnik <[email protected]> Committed: Fri Feb 24 11:46:02 2017 -0800 ---------------------------------------------------------------------- .../ODPi/1.0/services/HIVE/package/scripts/params_linux.py | 7 +++++-- .../ODPi/1.0/services/HIVE/package/scripts/status_params.py | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/06adbb52/bigtop-packages/src/common/ambari/ODPi/1.0/services/HIVE/package/scripts/params_linux.py ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/common/ambari/ODPi/1.0/services/HIVE/package/scripts/params_linux.py b/bigtop-packages/src/common/ambari/ODPi/1.0/services/HIVE/package/scripts/params_linux.py index b33d715..9d79e12 100755 --- a/bigtop-packages/src/common/ambari/ODPi/1.0/services/HIVE/package/scripts/params_linux.py +++ b/bigtop-packages/src/common/ambari/ODPi/1.0/services/HIVE/package/scripts/params_linux.py @@ -195,8 +195,11 @@ purge_tables = 'true' # this is NOT a typo. Configs for hcatalog/webhcat point to a # specific directory which is NOT called 'conf' -hcat_conf_dir = format('{stack_root}/current/hive-webhcat/etc/hcatalog') -config_dir = format('{stack_root}/current/hive-webhcat/etc/webhcat') +# FIXME: ODPi +# hcat_conf_dir = format('{stack_root}/current/hive-webhcat/etc/hcatalog') +# config_dir = format('{stack_root}/current/hive-webhcat/etc/webhcat') +hcat_conf_dir = format('/etc/hive-hcatalog/conf') +config_dir = format('/etc/hive-webhcat/conf') hive_metastore_site_supported = True http://git-wip-us.apache.org/repos/asf/bigtop/blob/06adbb52/bigtop-packages/src/common/ambari/ODPi/1.0/services/HIVE/package/scripts/status_params.py ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/common/ambari/ODPi/1.0/services/HIVE/package/scripts/status_params.py b/bigtop-packages/src/common/ambari/ODPi/1.0/services/HIVE/package/scripts/status_params.py index 024f3df..a7b2e3f 100755 --- a/bigtop-packages/src/common/ambari/ODPi/1.0/services/HIVE/package/scripts/status_params.py +++ b/bigtop-packages/src/common/ambari/ODPi/1.0/services/HIVE/package/scripts/status_params.py @@ -108,7 +108,8 @@ else: if check_stack_feature(StackFeature.HIVE_WEBHCAT_SPECIFIC_CONFIGS, stack_version_formatted_major): # this is NOT a typo. Configs for hcatalog/webhcat point to a # specific directory which is NOT called 'conf' - webhcat_conf_dir = format("{stack_root}/current/hive-webhcat/etc/webhcat") + # FIXME ODPi: webhcat_conf_dir = format("{stack_root}/current/hive-webhcat/etc/webhcat") + webhcat_conf_dir = format("/etc/hive-webhcat/conf") # if stack version supports hive serve interactive if check_stack_feature(StackFeature.HIVE_SERVER_INTERACTIVE, stack_version_formatted_major):
