我使用Ambari 2.7.3.0构建了一个hadoop集群。 Ambari通知我们需要重新启动某些组件,但是重新启动它们时会收到以下错误消息。
我猜消息中提到了一些版本问题。
失败:此版本的堆栈选择工具不支持hive-metastore软件包。
是由于互联网连接受限吗?由于安全问题,我们使用本地存储库。
不幸的是,我是Ambari和hadoop的新手,所以我在此消息中找不到任何线索。
2019-03-14 13:20:46,629 - Reporting component version failed
Traceback (most recent call last):
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 363, in execute
self.save_component_version_to_structured_out(self.command_name)
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 223, in save_component_version_to_structured_out
stack_select_package_name = stack_select.get_package_name()
File "/usr/lib/ambari-agent/lib/resource_management/libraries/functions/stack_select.py", line 109, in get_package_name
package = get_packages(PACKAGE_SCOPE_STACK_SELECT, service_name, component_name)
File "/usr/lib/ambari-agent/lib/resource_management/libraries/functions/stack_select.py", line 234, in get_packages
raise Fail("The package {0} is not supported by this version of the stack-select tool.".format(package))
Fail: The package hive-metastore is not supported by this version of the stack-select tool.
2019-03-14 13:20:46,676 - Reporting component version failed
Traceback (most recent call last):
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 363, in execute
self.save_component_version_to_structured_out(self.command_name)
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 223, in save_component_version_to_structured_out
stack_select_package_name = stack_select.get_package_name()
File "/usr/lib/ambari-agent/lib/resource_management/libraries/functions/stack_select.py", line 109, in get_package_name
package = get_packages(PACKAGE_SCOPE_STACK_SELECT, service_name, component_name)
File "/usr/lib/ambari-agent/lib/resource_management/libraries/functions/stack_select.py", line 234, in get_packages
raise Fail("The package {0} is not supported by this version of the stack-select tool.".format(package))
Fail: The package hive-metastore is not supported by this version of the stack-select tool.