ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-12622) Malformed Alert Data Can Prevent Alerts From Reporting
Date Tue, 04 Aug 2015 14:45:04 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-12622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14653744#comment-14653744
] 

Hudson commented on AMBARI-12622:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #3217 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3217/])
AMBARI-12622 - Malformed Alert Data Can Prevent Alerts From Reporting (jonathanhurley) (jhurley:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=5dbb0e1b87a8720a1e20920190a552193ed90bf4)
* ambari-agent/src/main/python/ambari_agent/alerts/metric_alert.py
* ambari-agent/src/test/python/ambari_agent/TestAlerts.py
* ambari-agent/src/main/python/ambari_agent/AlertSchedulerHandler.py
* ambari-agent/src/main/python/ambari_agent/alerts/base_alert.py


> Malformed Alert Data Can Prevent Alerts From Reporting
> ------------------------------------------------------
>
>                 Key: AMBARI-12622
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12622
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions: 2.0.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Critical
>             Fix For: 2.1.1
>
>         Attachments: AMBARI-12622.patch
>
>
> If there is malformed template text in an alert definition, it will prevent alerts from
being reported correctly:
> {code}
> INFO 2015-07-23 14:10:15,209 scheduler.py:287 - Adding job tentatively -- it will be
properly scheduled when the scheduler starts
> INFO 2015-07-23 14:10:15,209 AlertSchedulerHandler.py:318 - [AlertScheduler] Scheduling
datanode_process with UUID 43536b17-596a-4f7d-87e6-c9034b2b99bc
> INFO 2015-07-23 14:10:15,209 AlertSchedulerHandler.py:134 - [AlertScheduler] Starting
<ambari_agent.apscheduler.scheduler.Scheduler object at 0x10ea910>; currently running:
False
> INFO 2015-07-23 14:10:17,219 hostname.py:87 - Read public hostname 'cn105-10.l42scl.hortonworks.com'
using socket.getfqdn()
> INFO 2015-07-23 14:11:15,271 logger.py:66 - Execute['export HIVE_CONF_DIR='/usr/hdp/current/hive-metastore/conf/conf.server'
; hive --hiveconf hive.metastore.uris=thrift://cn105-10.l42scl.hortonworks.com:9083      
          --hiveconf hive.metastore.client.connect.retry.delay=1                 --hiveconf
hive.metastore.failure.retries=1                 --hiveconf hive.metastore.connect.retries=1
                --hiveconf hive.metastore.client.socket.timeout=14                 --hiveconf
hive.execution.engine=mr -e 'show databases;''] {'path': ['/bin/', '/usr/bin/', '/usr/sbin/',
'/usr/hdp/current/hive-metastore/bin'], 'user': 'ambari-qa', 'timeout': 30}
> INFO 2015-07-23 14:11:15,274 logger.py:66 - Execute['! beeline -u 'jdbc:hive2://cn105-10.l42scl.hortonworks.com:10000/;transportMode=binary'
-e '' 2>&1| awk '{print}'|grep -i -e 'Connection refused' -e 'Invalid URL''] {'path':
['/bin/', '/usr/bin/', '/usr/lib/hive/bin/', '/usr/sbin/'], 'user': 'ambari-qa', 'timeout':
30}
> INFO 2015-07-23 14:12:15,277 logger.py:66 - Execute['! beeline -u 'jdbc:hive2://cn105-10.l42scl.hortonworks.com:10000/;transportMode=binary'
-e '' 2>&1| awk '{print}'|grep -i -e 'Connection refused' -e 'Invalid URL''] {'path':
['/bin/', '/usr/bin/', '/usr/lib/hive/bin/', '/usr/sbin/'], 'user': 'ambari-qa', 'timeout':
30}
> INFO 2015-07-23 14:12:15,284 logger.py:66 - Execute['export HIVE_CONF_DIR='/usr/hdp/current/hive-metastore/conf/conf.server'
; hive --hiveconf hive.metastore.uris=thrift://cn105-10.l42scl.hortonworks.com:9083      
          --hiveconf hive.metastore.client.connect.retry.delay=1                 --hiveconf
hive.metastore.failure.retries=1                 --hiveconf hive.metastore.connect.retries=1
                --hiveconf hive.metastore.client.socket.timeout=14                 --hiveconf
hive.execution.engine=mr -e 'show databases;''] {'path': ['/bin/', '/usr/bin/', '/usr/sbin/',
'/usr/hdp/current/hive-metastore/bin'], 'user': 'ambari-qa', 'timeout': 30}
> ERROR 2015-07-23 14:12:15,293 scheduler.py:520 - Job "28cad184-0e94-4b19-af31-56ab2c1d0a74
(trigger: interval[0:02:00], next run at: 2015-07-23 14:14:15.207467)" raised an exception
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/ambari_agent/apscheduler/scheduler.py", line
512, in _run_job
>     retval = job.func(*job.args, **job.kwargs)
>   File "/usr/lib/python2.6/site-packages/ambari_agent/AlertSchedulerHandler.py", line
114, in <lambda>
>     return lambda: alert_def.collect()
>   File "/usr/lib/python2.6/site-packages/ambari_agent/alerts/base_alert.py", line 153,
in collect
>     data['text'] = res_base_text.format(*res[1])
> ValueError: Unknown format code 'd' for object of type 'float'
> INFO 2015-07-23 14:13:15,264 logger.py:66 - Execute['export HIVE_CONF_DIR='/usr/hdp/current/hive-metastore/conf/conf.server'
; hive --hiveconf hive.metastore.uris=thrift://cn105-10.l42scl.hortonworks.com:9083      
          --hiveconf hive.metastore.client.connect.retry.delay=1                 --hiveconf
hive.metastore.failure.retries=1                 --hiveconf hive.metastore.connect.retries=1
                --hiveconf hive.metastore.client.socket.timeout=14                 --hiveconf
hive.execution.engine=mr -e 'show databases;''] {'path': ['/bin/', '/usr/bin/', '/usr/sbin/',
'/usr/hdp/current/hive-metastore/bin'], 'user': 'ambari-qa', 'timeout': 30}
> INFO 2015-07-23 14:13:15,272 logger.py:66 - Execute['! beeline -u 'jdbc:hive2://cn105-10.l42scl.hortonworks.com:10000/;transportMode=binary'
-e '' 2>&1| awk '{print}'|grep -i -e 'Connection refused' -e 'Invalid URL''] {'path':
['/bin/', '/usr/bin/', '/usr/lib/hive/bin/', '/usr/sbin/'], 'user': 'ambari-qa', 'timeout':
30}
> ERROR 2015-07-23 14:14:15,273 scheduler.py:520 - Job "28cad184-0e94-4b19-af31-56ab2c1d0a74
(trigger: interval[0:02:00], next run at: 2015-07-23 14:16:15.207467)" raised an exception
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/ambari_agent/apscheduler/scheduler.py", line
512, in _run_job
>     retval = job.func(*job.args, **job.kwargs)
>   File "/usr/lib/python2.6/site-packages/ambari_agent/AlertSchedulerHandler.py", line
114, in <lambda>
>     return lambda: alert_def.collect()
>   File "/usr/lib/python2.6/site-packages/ambari_agent/alerts/base_alert.py", line 153,
in collect
>     data['text'] = res_base_text.format(*res[1])
> ValueError: Unknown format code 'd' for object of type 'float'
> INFO 2015-07-23 14:14:15,272 logger.py:66 - Execute['! beeline -u 'jdbc:hive2://cn105-10.l42scl.hortonworks.com:10000/;transportMode=binary'
-e '' 2>&1| awk '{print}'|grep -i -e 'Connection refused' -e 'Invalid URL''] {'path':
['/bin/', '/usr/bin/', '/usr/lib/hive/bin/', '/usr/sbin/'], 'user': 'ambari-qa', 'timeout':
30}
> INFO 2015-07-23 14:14:15,277 logger.py:66 - Execute['export HIVE_CONF_DIR='/usr/hdp/current/hive-metastore/conf/conf.server'
; hive --hiveconf hive.metastore.uris=thrift://cn105-10.l42scl.hortonworks.com:9083      
          --hiveconf hive.metastore.client.connect.retry.delay=1                 --hiveconf
hive.metastore.failure.retries=1                 --hiveconf hive.metastore.connect.retries=1
                --hiveconf hive.metastore.client.socket.timeout=14                 --hiveconf
hive.execution.engine=mr -e 'show databases;''] {'path': ['/bin/', '/usr/bin/', '/usr/sbin/',
'/usr/hdp/current/hive-metastore/bin'], 'user': 'ambari-qa', 'timeout': 30}
> INFO 2015-07-23 14:15:15,267 logger.py:66 - Execute['export HIVE_CONF_DIR='/usr/hdp/current/hive-metastore/conf/conf.server'
; hive --hiveconf hive.metastore.uris=thrift://cn105-10.l42scl.hortonworks.com:9083      
          --hiveconf hive.metastore.client.connect.retry.delay=1                 --hiveconf
hive.metastore.failure.retries=1                 --hiveconf hive.metastore.connect.retries=1
                --hiveconf hive.metastore.client.socket.timeout=14                 --hiveconf
hive.execution.engine=mr -e 'show databases;''] {'path': ['/bin/', '/usr/bin/', '/usr/sbin/',
'/usr/hdp/current/hive-metastore/bin'], 'user': 'ambari-qa', 'timeout': 30}
> INFO 2015-07-23 14:15:15,275 logger.py:66 - Execute['! beeline -u 'jdbc:hive2://cn105-10.l42scl.hortonworks.com:10000/;transportMode=binary'
-e '' 2>&1| awk '{print}'|grep -i -e 'Connection refused' -e 'Invalid URL''] {'path':
['/bin/', '/usr/bin/', '/usr/lib/hive/bin/', '/usr/sbin/'], 'user': 'ambari-qa', 'timeout':
30}
> ERROR 2015-07-23 14:16:15,269 scheduler.py:520 - Job "28cad184-0e94-4b19-af31-56ab2c1d0a74
(trigger: interval[0:02:00], next run at: 2015-07-23 14:18:15.207467)" raised an exception
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/ambari_agent/apscheduler/scheduler.py", line
512, in _run_job
>     retval = job.func(*job.args, **job.kwargs)
>   File "/usr/lib/python2.6/site-packages/ambari_agent/AlertSchedulerHandler.py", line
114, in <lambda>
>     return lambda: alert_def.collect()
>   File "/usr/lib/python2.6/site-packages/ambari_agent/alerts/base_alert.py", line 153,
in collect
>     data['text'] = res_base_text.format(*res[1])
> ValueError: Unknown format code 'd' for object of type 'float'
> INFO 2015-07-23 14:16:15,273 logger.py:66 - Execute['! beeline -u 'jdbc:hive2://cn105-10.l42scl.hortonworks.com:10000/;transportMode=binary'
-e '' 2>&1| awk '{print}'|grep -i -e 'Connection refused' -e 'Invalid URL''] {'path':
['/bin/', '/usr/bin/', '/usr/lib/hive/bin/', '/usr/sbin/'], 'user': 'ambari-qa', 'timeout':
30}
> INFO 2015-07-23 14:16:15,281 logger.py:66 - Execute['export HIVE_CONF_DIR='/usr/hdp/current/hive-metastore/conf/conf.server'
; hive --hiveconf hive.metastore.uris=thrift://cn105-10.l42scl.hortonworks.com:9083      
          --hiveconf hive.metastore.client.connect.retry.delay=1                 --hiveconf
hive.metastore.failure.retries=1                 --hiveconf hive.metastore.connect.retries=1
                --hiveconf hive.metastore.client.socket.timeout=14                 --hiveconf
hive.execution.engine=mr -e 'show databases;''] {'path': ['/bin/', '/usr/bin/', '/usr/sbin/',
'/usr/hdp/current/hive-metastore/bin'], 'user': 'ambari-qa', 'timeout': 30}
> INFO 2015-07-23 14:17:15,262 logger.py:66 - Execute['export HIVE_CONF_DIR='/usr/hdp/current/hive-metastore/conf/conf.server'
; hive --hiveconf hive.metastore.uris=thrift://cn105-10.l42scl.hortonworks.com:9083      
          --hiveconf hive.metastore.client.connect.retry.delay=1                 --hiveconf
hive.metastore.failure.retries=1                 --hiveconf hive.metastore.connect.retries=1
                --hiveconf hive.metastore.client.socket.timeout=14                 --hiveconf
hive.execution.engine=mr -e 'show databases;''] {'path': ['/bin/', '/usr/bin/', '/usr/sbin/',
'/usr/hdp/current/hive-metastore/bin'], 'user': 'ambari-qa', 'timeout': 30}
> INFO 2015-07-23 14:17:15,268 logger.py:66 - Execute['! beeline -u 'jdbc:hive2://cn105-10.l42scl.hortonworks.com:10000/;transportMode=binary'
-e '' 2>&1| awk '{print}'|grep -i -e 'Connection refused' -e 'Invalid URL''] {'path':
['/bin/', '/usr/bin/', '/usr/lib/hive/bin/', '/usr/sbin/'], 'user': 'ambari-qa', 'timeout':
30}
> ERROR 2015-07-23 14:18:15,269 scheduler.py:520 - Job "28cad184-0e94-4b19-af31-56ab2c1d0a74
(trigger: interval[0:02:00], next run at: 2015-07-23 14:20:15.207467)" raised an exception
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/ambari_agent/apscheduler/scheduler.py", line
512, in _run_job
>     retval = job.func(*job.args, **job.kwargs)
>   File "/usr/lib/python2.6/site-packages/ambari_agent/AlertSchedulerHandler.py", line
114, in <lambda>
>     return lambda: alert_def.collect()
>   File "/usr/lib/python2.6/site-packages/ambari_agent/alerts/base_alert.py", line 153,
in collect
>     data['text'] = res_base_text.format(*res[1])
> ValueError: Unknown format code 'd' for object of type 'float'
> INFO 2015-07-23 14:18:15,272 logger.py:66 - Execute['export HIVE_CONF_DIR='/usr/hdp/current/hive-metastore/conf/conf.server'
; hive --hiveconf hive.metastore.uris=thrift://cn105-10.l42scl.hortonworks.com:9083      
          --hiveconf hive.metastore.client.connect.retry.delay=1                 --hiveconf
hive.metastore.failure.retries=1                 --hiveconf hive.metastore.connect.retries=1
                --hiveconf hive.metastore.client.socket.timeout=14                 --hiveconf
hive.execution.engine=mr -e 'show databases;''] {'path': ['/bin/', '/usr/bin/', '/usr/sbin/',
'/usr/hdp/current/hive-metastore/bin'], 'user': 'ambari-qa', 'timeout': 30}
> INFO 2015-07-23 14:18:15,273 logger.py:66 - Execute['! beeline -u 'jdbc:hive2://cn105-10.l42scl.hortonworks.com:10000/;transportMode=binary'
-e '' 2>&1| awk '{print}'|grep -i -e 'Connection refused' -e 'Invalid URL''] {'path':
['/bin/', '/usr/bin/', '/usr/lib/hive/bin/', '/usr/sbin/'], 'user': 'ambari-qa', 'timeout':
30}
> INFO 2015-07-23 14:19:15,265 logger.py:66 - Execute['export HIVE_CONF_DIR='/usr/hdp/current/hive-metastore/conf/conf.server'
; hive --hiveconf hive.metastore.uris=thrift://cn105-10.l42scl.hortonworks.com:9083      
          --hiveconf hive.metastore.client.connect.retry.delay=1                 --hiveconf
hive.metastore.failure.retries=1                 --hiveconf hive.metastore.connect.retries=1
                --hiveconf hive.metastore.client.socket.timeout=14                 --hiveconf
hive.execution.engine=mr -e 'show databases;''] {'path': ['/bin/', '/usr/bin/', '/usr/sbin/',
'/usr/hdp/current/hive-metastore/bin'], 'user': 'ambari-qa', 'timeout': 30}
> INFO 2015-07-23 14:19:15,267 logger.py:66 - Execute['! beeline -u 'jdbc:hive2://cn105-10.l42scl.hortonworks.com:10000/;transportMode=binary'
-e '' 2>&1| awk '{print}'|grep -i -e 'Connection refused' -e 'Invalid URL''] {'path':
['/bin/', '/usr/bin/', '/usr/lib/hive/bin/', '/usr/sbin/'], 'user': 'ambari-qa', 'timeout':
30}
> ERROR 2015-07-23 14:20:15,277 scheduler.py:520 - Job "28cad184-0e94-4b19-af31-56ab2c1d0a74
(trigger: interval[0:02:00], next run at: 2015-07-23 14:22:15.207467)" raised an exception
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/ambari_agent/apscheduler/scheduler.py", line
512, in _run_job
>     retval = job.func(*job.args, **job.kwargs)
>   File "/usr/lib/python2.6/site-packages/ambari_agent/AlertSchedulerHandler.py", line
114, in <lambda>
>     return lambda: alert_def.collect()
>   File "/usr/lib/python2.6/site-packages/ambari_agent/alerts/base_alert.py", line 153,
in collect
>     data['text'] = res_base_text.format(*res[1])
> ValueError: Unknown format code 'd' for object of type 'float'
> INFO 2015-07-23 14:20:15,280 logger.py:66 - Execute['export HIVE_CONF_DIR='/usr/hdp/current/hive-metastore/conf/conf.server'
; hive --hiveconf hive.metastore.uris=thrift://cn105-10.l42scl.hortonworks.com:9083      
          --hiveconf hive.metastore.client.connect.retry.delay=1                 --hiveconf
hive.metastore.failure.retries=1                 --hiveconf hive.metastore.connect.retries=1
                --hiveconf hive.metastore.client.socket.timeout=14                 --hiveconf
hive.execution.engine=mr -e 'show databases;''] {'path': ['/bin/', '/usr/bin/', '/usr/sbin/',
'/usr/hdp/current/hive-metastore/bin'], 'user': 'ambari-qa', 'timeout': 30}
> INFO 2015-07-23 14:20:15,289 logger.py:66 - Execute['! beeline -u 'jdbc:hive2://cn105-10.l42scl.hortonworks.com:10000/;transportMode=binary'
-e '' 2>&1| awk '{print}'|grep -i -e 'Connection refused' -e 'Invalid URL''] {'path':
['/bin/', '/usr/bin/', '/usr/lib/hive/bin/', '/usr/sbin/'], 'user': 'ambari-qa', 'timeout':
30}
> INFO 2015-07-23 14:21:15,266 logger.py:66 - Execute['! beeline -u 'jdbc:hive2://cn105-10.l42scl.hortonworks.com:10000/;transportMode=binary'
-e '' 2>&1| awk '{print}'|grep -i -e 'Connection refused' -e 'Invalid URL''] {'path':
['/bin/', '/usr/bin/', '/usr/lib/hive/bin/', '/usr/sbin/'], 'user': 'ambari-qa', 'timeout':
30}
> INFO 2015-07-23 14:21:15,272 logger.py:66 - Execute['export HIVE_CONF_DIR='/usr/hdp/current/hive-metastore/conf/conf.server'
; hive --hiveconf hive.metastore.uris=thrift://cn105-10.l42scl.hortonworks.com:9083      
          --hiveconf hive.metastore.client.connect.retry.delay=1                 --hiveconf
hive.metastore.failure.retries=1                 --hiveconf hive.metastore.connect.retries=1
                --hiveconf hive.metastore.client.socket.timeout=14                 --hiveconf
hive.execution.engine=mr -e 'show databases;''] {'path': ['/bin/', '/usr/bin/', '/usr/sbin/',
'/usr/hdp/current/hive-metastore/bin'], 'user': 'ambari-qa', 'timeout': 30}
> ERROR 2015-07-23 14:22:15,270 scheduler.py:520 - Job "28cad184-0e94-4b19-af31-56ab2c1d0a74
(trigger: interval[0:02:00], next run at: 2015-07-23 14:24:15.207467)" raised an exception
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/ambari_agent/apscheduler/scheduler.py", line
512, in _run_job
>     retval = job.func(*job.args, **job.kwargs)
>   File "/usr/lib/python2.6/site-packages/ambari_agent/AlertSchedulerHandler.py", line
114, in <lambda>
>     return lambda: alert_def.collect()
>   File "/usr/lib/python2.6/site-packages/ambari_agent/alerts/base_alert.py", line 153,
in collect
>     data['text'] = res_base_text.format(*res[1])
> ValueError: Unknown format code 'd' for object of type 'float'
> INFO 2015-07-23 14:22:15,275 logger.py:66 - Execute['export HIVE_CONF_DIR='/usr/hdp/current/hive-metastore/conf/conf.server'
; hive --hiveconf hive.metastore.uris=thrift://cn105-10.l42scl.hortonworks.com:9083      
          --hiveconf hive.metastore.client.connect.retry.delay=1                 --hiveconf
hive.metastore.failure.retries=1                 --hiveconf hive.metastore.connect.retries=1
                --hiveconf hive.metastore.client.socket.timeout=14                 --hiveconf
hive.execution.engine=mr -e 'show databases;''] {'path': ['/bin/', '/usr/bin/', '/usr/sbin/',
'/usr/hdp/current/hive-metastore/bin'], 'user': 'ambari-qa', 'timeout': 30}
> INFO 2015-07-23 14:22:15,276 logger.py:66 - Execute['! beeline -u 'jdbc:hive2://cn105-10.l42scl.hortonworks.com:10000/;transportMode=binary'
-e '' 2>&1| awk '{print}'|grep -i -e 'Connection refused' -e 'Invalid URL''] {'path':
['/bin/', '/usr/bin/', '/usr/lib/hive/bin/', '/usr/sbin/'], 'user': 'ambari-qa', 'timeout':
30}
> INFO 2015-07-23 14:23:15,267 logger.py:66 - Execute['! beeline -u 'jdbc:hive2://cn105-10.l42scl.hortonworks.com:10000/;transportMode=binary'
-e '' 2>&1| awk '{print}'|grep -i -e 'Connection refused' -e 'Invalid URL''] {'path':
['/bin/', '/usr/bin/', '/usr/lib/hive/bin/', '/usr/sbin/'], 'user': 'ambari-qa', 'timeout':
30}
> INFO 2015-07-23 14:23:15,276 logger.py:66 - Execute['export HIVE_CONF_DIR='/usr/hdp/current/hive-metastore/conf/conf.server'
; hive --hiveconf hive.metastore.uris=thrift://cn105-10.l42scl.hortonworks.com:9083      
          --hiveconf hive.metastore.client.connect.retry.delay=1                 --hiveconf
hive.metastore.failure.retries=1                 --hiveconf hive.metastore.connect.retries=1
                --hiveconf hive.metastore.client.socket.timeout=14                 --hiveconf
hive.execution.engine=mr -e 'show databases;''] {'path': ['/bin/', '/usr/bin/', '/usr/sbin/',
'/usr/hdp/current/hive-metastore/bin'], 'user': 'ambari-qa', 'timeout': 30}
> ERROR 2015-07-23 14:24:15,270 scheduler.py:520 - Job "28cad184-0e94-4b19-af31-56ab2c1d0a74
(trigger: interval[0:02:00], next run at: 2015-07-23 14:26:15.207467)" raised an exception
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/ambari_agent/apscheduler/scheduler.py", line
512, in _run_job
>     retval = job.func(*job.args, **job.kwargs)
>   File "/usr/lib/python2.6/site-packages/ambari_agent/AlertSchedulerHandler.py", line
114, in <lambda>
>     return lambda: alert_def.collect()
>   File "/usr/lib/python2.6/site-packages/ambari_agent/alerts/base_alert.py", line 153,
in collect
>     data['text'] = res_base_text.format(*res[1])
> ValueError: Unknown format code 'd' for object of type 'float'
> INFO 2015-07-23 14:24:15,274 logger.py:66 - Execute['export HIVE_CONF_DIR='/usr/hdp/current/hive-metastore/conf/conf.server'
; hive --hiveconf hive.metastore.uris=thrift://cn105-10.l42scl.hortonworks.com:9083      
          --hiveconf hive.metastore.client.connect.retry.delay=1                 --hiveconf
hive.metastore.failure.retries=1                 --hiveconf hive.metastore.connect.retries=1
                --hiveconf hive.metastore.client.socket.timeout=14                 --hiveconf
hive.execution.engine=mr -e 'show databases;''] {'path': ['/bin/', '/usr/bin/', '/usr/sbin/',
'/usr/hdp/current/hive-metastore/bin'], 'user': 'ambari-qa', 'timeout': 30}
> INFO 2015-07-23 14:24:15,282 logger.py:66 - Execute['! beeline -u 'jdbc:hive2://cn105-10.l42scl.hortonworks.com:10000/;transportMode=binary'
-e '' 2>&1| awk '{print}'|grep -i -e 'Connection refused' -e 'Invalid URL''] {'path':
['/bin/', '/usr/bin/', '/usr/lib/hive/bin/', '/usr/sbin/'], 'user': 'ambari-qa', 'timeout':
30}
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message