You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Dmytro Grinenko (JIRA)" <ji...@apache.org> on 2017/10/09 09:30:00 UTC
[jira] [Commented] (AMBARI-22165) Hbase Client install fails
[ https://issues.apache.org/jira/browse/AMBARI-22165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16196743#comment-16196743 ]
Dmytro Grinenko commented on AMBARI-22165:
------------------------------------------
from the log:
{code}
2017-10-08 15:11:02,895 - Looking for matching packages in the following repositories: HDP-2.6-repo-1, HDP-UTILS-1.1.0.21-repo-1, XXX-1.0-repo-1
2017-10-08 15:11:05,248 - No package found for hbase_${stack_version}(hbase_(\d|_)+$)
2017-10-08 15:11:05,249 - Package[None] {'retry_on_repo_unavailability': True, 'retry_count': 5}
{code}
Fallback mechanic did not activated coz XXX-1.0-repo-1 repository returned some installed packages and ambari think that using right repositories, so fallback is not required.
> Hbase Client install fails
> --------------------------
>
> Key: AMBARI-22165
> URL: https://issues.apache.org/jira/browse/AMBARI-22165
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.6.0
> Reporter: Dmytro Grinenko
> Assignee: Dmytro Grinenko
> Priority: Blocker
> Fix For: 2.6.0
>
>
> {code:title=Hbase Client install task log}
> Traceback (most recent call last):
> File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_client.py", line 67, in <module>
> HbaseClient().execute()
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 367, in execute
> method(env)
> File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_client.py", line 35, in install
> self.install_packages(env)
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 786, in install_packages
> retry_count=agent_stack_retry_count)
> File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 166, in __init__
> self.env.run()
> File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
> self.run_action(resource, action)
> File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
> provider_action()
> File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 53, in action_install
> self.install_package(package_name, self.resource.use_repos, self.resource.skip_repos)
> File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/yumrpm.py", line 245, in install_package
> if is_upgrade or use_repos or not self._check_existence(name):
> File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/yumrpm.py", line 298, in _check_existence
> return self.yum_check_package_available(name)
> File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/yumrpm.py", line 309, in yum_check_package_available
> name_regex = re.escape(name).replace("\\?", ".").replace("\\*", ".*") + '$'
> File "/usr/lib64/python2.7/re.py", line 206, in escape
> s = list(pattern)
> TypeError: 'NoneType' object is not iterable
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)