Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EBA0A200D1A for ; Mon, 9 Oct 2017 11:30:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EA1CF1609BB; Mon, 9 Oct 2017 09:30:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3B2B91609E0 for ; Mon, 9 Oct 2017 11:30:06 +0200 (CEST) Received: (qmail 93264 invoked by uid 500); 9 Oct 2017 09:30:05 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 93255 invoked by uid 99); 9 Oct 2017 09:30:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Oct 2017 09:30:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 847AEC5C8E for ; Mon, 9 Oct 2017 09:30:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id HpWuzgzqB4vf for ; Mon, 9 Oct 2017 09:30:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 56FB460E50 for ; Mon, 9 Oct 2017 09:30:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 869B0E02C7 for ; Mon, 9 Oct 2017 09:30:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 405452435A for ; Mon, 9 Oct 2017 09:30:00 +0000 (UTC) Date: Mon, 9 Oct 2017 09:30:00 +0000 (UTC) From: "Dmytro Grinenko (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-22165) Hbase Client install fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 09 Oct 2017 09:30:07 -0000 [ 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 > 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)