You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/11/28 15:39:58 UTC
[jira] [Commented] (AMBARI-18995) HBASE service check fails if run
with tty=true
[ https://issues.apache.org/jira/browse/AMBARI-18995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15702255#comment-15702255 ]
Hudson commented on AMBARI-18995:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #6090 (See [https://builds.apache.org/job/Ambari-trunk-Commit/6090/])
AMBARI-18995. HBASE service check fails if run with tty=true (aonishuk) (aonishuk: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=b1eaffc7065d60c03a022a2ae3e4afca9f7ebb62])
* (edit) ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/files/hbaseSmokeVerify.sh
> 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<RETURN>' for list of supported commands.
> Type "exit<RETURN>" 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 <module>
> 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<RETURN>' for list of supported commands.
> Type "exit<RETURN>" 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)