Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMBARI-25956: [ Rolling upgrade] Hive Server Going down after upgrade #3745

Open
wants to merge 1 commit into
base: branch-2.8
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
from resource_management.libraries.functions import format
from resource_management.libraries.functions import stack_select
from resource_management.libraries.functions import StackFeature
from resource_management.libraries.functions import upgrade_summary
from resource_management.libraries.functions.stack_features import check_stack_feature
from resource_management.libraries.functions.version import format_stack_version

Expand Down Expand Up @@ -113,9 +114,11 @@ def _get_current_hiveserver_version():

try:
# When downgrading the source version should be the version we are downgrading from
source_version = params.version_for_stack_feature_checks
if params.downgrade_from_version is not None:
source_version = params.downgrade_from_version
else:
source_version = upgrade_summary.get_source_version("HIVE",
default_version = params.version_for_stack_feature_checks)

hive_execute_path = _get_hive_execute_path(source_version)
version_hive_bin = params.hive_bin_dir
Expand Down