Support Questions

Find answers, ask questions, and share your expertise

I upgraded Ambari 2.6.2 to 2.7.0 but not able to start HDP services

avatar
Contributor

Hi All,

greeting for the day.

I have upgraded Ambari from 2.6.2 to 2.7.0.

When I start all the services from Ambari then below issue occur.

  Traceback (most recent call last):

File "/var/lib/ambari-agent/cache/stack-hooks/before-INSTALL/scripts/hook.py", line 37, in <module>
    BeforeInstallHook().execute()
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 362, in execute
    if self.should_expose_component_version(self.command_name):
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 262, in should_expose_component_version
    if stack_version_formatted and check_stack_feature(StackFeature.ROLLING_UPGRADE, stack_version_formatted):
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/functions/stack_features.py", line 79, in check_stack_feature
    raise Fail("Stack features not defined by stack")
resource_management.core.exceptions.Fail: Stack features not defined by stack


1 ACCEPTED SOLUTION

avatar
Master Mentor

@Amit Mishra

What is your HDP version?

Ambari 2.7 Supports HDP 3.0

So please make sure that your HDP components are upgraded fine. To know more about supportmatrix: https://supportmatrix.hortonworks.com/

.

https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.0.0/bk_ambari-upgrade/content/ambari_upgrade_gu...

Ambari 2.7only supports fully managing a HDP 3.0cluster. If you are running any other HDP version,you must first upgrade to HDP 2.6 using Ambari 2.6. You must first upgrade to HDP 2.6.5 if you use Hive.Then, upgrade to Ambari 2.7 and use it to upgrade your cluster to HDP 3.0.

View solution in original post

3 REPLIES 3

avatar
Master Mentor

@Amit Mishra

What is your HDP version?

Ambari 2.7 Supports HDP 3.0

So please make sure that your HDP components are upgraded fine. To know more about supportmatrix: https://supportmatrix.hortonworks.com/

.

https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.0.0/bk_ambari-upgrade/content/ambari_upgrade_gu...

Ambari 2.7only supports fully managing a HDP 3.0cluster. If you are running any other HDP version,you must first upgrade to HDP 2.6 using Ambari 2.6. You must first upgrade to HDP 2.6.5 if you use Hive.Then, upgrade to Ambari 2.7 and use it to upgrade your cluster to HDP 3.0.

avatar
Contributor

It helps to identify the issue.Thank you, Jay.

avatar
New Contributor

@Amit Mishra Hi, I am facing the same issue, how did you solve it?

,

@Amit Mishra Hi, I am facing the same issue, how did you fix it?