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 066B8200BD1 for ; Mon, 28 Nov 2016 16:08:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 05242160B22; Mon, 28 Nov 2016 15:08:00 +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 56C2F160B06 for ; Mon, 28 Nov 2016 16:07:59 +0100 (CET) Received: (qmail 28955 invoked by uid 500); 28 Nov 2016 15:07:58 -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 28937 invoked by uid 99); 28 Nov 2016 15:07:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Nov 2016 15:07:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6E4D52C03E0 for ; Mon, 28 Nov 2016 15:07:58 +0000 (UTC) Date: Mon, 28 Nov 2016 15:07:58 +0000 (UTC) From: "Andrew Onischuk (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMBARI-18995) HBASE service check fails if run with tty=true MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 28 Nov 2016 15:08:00 -0000 [ https://issues.apache.org/jira/browse/AMBARI-18995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Onischuk resolved AMBARI-18995. -------------------------------------- Resolution: Fixed Committed to trunk and branch-2.5 > HBASE service check fails if run with tty=true > ---------------------------------------------- > > Key: AMBARI-18995 > URL: https://issues.apache.org/jira/browse/AMBARI-18995 > Project: Ambari > Issue Type: Bug > Affects Versions: 2.5.0 > Reporter: Andrew Onischuk > Assignee: Andrew Onischuk > Fix For: 2.5.0 > > Attachments: AMBARI-18995.patch > > > Traceback (most recent call last): > File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 150, in _call_wrapper > result = _call(command, **kwargs_copy) > File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 303, in _call > raise ExecutionFailed(err_msg, code, out, err) > ExecutionFailed: Execution of ' /usr/hdp/current/hbase-client/bin/hbase --config /usr/hdp/current/hbase-client/conf shell /var/lib/ambari-agent/tmp/hbase-smoke.sh && /var/lib/ambari-agent/tmp/hbaseSmokeVerify.sh /usr/hdp/current/hbase-client/conf id1fac6fc8_date512616 /usr/hdp/current/hbase-client/bin/hbase && /usr/hdp/current/hbase-client/bin/hbase --config /usr/hdp/current/hbase-client/conf shell /var/lib/ambari-agent/tmp/hbase-smoke-cleanup.sh' returned 1. 0 row(s) in 2.4870 seconds > 0 row(s) in 1.2400 seconds > 0 row(s) in 1.2300 seconds > 0 row(s) in 0.0800 seconds > ROW COLUMN+CELL > row01 column=family:col01, timestamp=1477482811881, value=id1fac > 6fc8_date512616 > 1 row(s) in 0.0210 seconds > HBase Shell; enter 'help' for list of supported commands. > Type "exit" to leave the HBase Shell > Version 1.1.2.2.5.0.0-1245, r53538b8ab6749cbb6fdc0fe448b89aa82495fb3f, Mon Oct 24 02:41:06 EDT 2016 > hbase(main):001:0> scan 'ambarismoketest' > ROW COLUMN+CELL > row01 column=family:col01, timestamp=1477482811881, value=id1fac > 6fc8_date512616 > 1 row(s) in 0.2250 seconds > hbase(main):002:0> Looking for id1fac6fc8_date512616 > The above exception was the cause of the following exception: > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/service_check.py", line 97, in > HbaseServiceCheck().execute() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 281, in execute > method(env) > File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/service_check.py", line 93, in service_check > logoutput = True > File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, 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/system.py", line 262, in action_run > tries=self.resource.tries, try_sleep=self.resource.try_sleep) > File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 72, in inner > result = function(command, **kwargs) > File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 102, in checked_call > tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy) > File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 150, in _call_wrapper > result = _call(command, **kwargs_copy) > File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 303, in _call > raise ExecutionFailed(err_msg, code, out, err) > resource_management.core.exceptions.ExecutionFailed: Execution of ' /usr/hdp/current/hbase-client/bin/hbase --config /usr/hdp/current/hbase-client/conf shell /var/lib/ambari-agent/tmp/hbase-smoke.sh && /var/lib/ambari-agent/tmp/hbaseSmokeVerify.sh /usr/hdp/current/hbase-client/conf id1fac6fc8_date512616 /usr/hdp/current/hbase-client/bin/hbase && /usr/hdp/current/hbase-client/bin/hbase --config /usr/hdp/current/hbase-client/conf shell /var/lib/ambari-agent/tmp/hbase-smoke-cleanup.sh' returned 1. 0 row(s) in 2.4920 seconds > 0 row(s) in 1.2390 seconds > 0 row(s) in 1.2280 seconds > 0 row(s) in 0.0780 seconds > ROW COLUMN+CELL > row01 column=family:col01, timestamp=1477482834060, value=id1fac > 6fc8_date512616 > 1 row(s) in 0.0210 seconds > HBase Shell; enter 'help' for list of supported commands. > Type "exit" to leave the HBase Shell > Version 1.1.2.2.5.0.0-1245, r53538b8ab6749cbb6fdc0fe448b89aa82495fb3f, Mon Oct 24 02:41:06 EDT 2016 > hbase(main):001:0> scan 'ambarismoketest' > ROW COLUMN+CELL > row01 column=family:col01, timestamp=1477482834060, value=id1fac > 6fc8_date512616 > 1 row(s) in 0.2410 seconds > hbase(main):002:0> Looking for id1fac6fc8_date512616 -- This message was sent by Atlassian JIRA (v6.3.4#6332)