|
@@ -42,7 +42,7 @@ class TestServiceCheck(RMFTestCase):
|
|
|
stack_version = self.STACK_VERSION,
|
|
|
target = RMFTestCase.TARGET_COMMON_SERVICES
|
|
|
)
|
|
|
- self.assertResourceCalled('Execute', "! beeline -u 'jdbc:hive2://c6402.ambari.apache.org:10000/;transportMode=binary;auth=noSasl' -e '' 2>&1| awk '{print}'|grep -i -e 'Connection refused' -e 'Invalid URL'",
|
|
|
+ self.assertResourceCalled('Execute', "! beeline -u 'jdbc:hive2://c6402.ambari.apache.org:10000/;transportMode=binary;auth=noSasl' -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,
|
|
@@ -156,7 +156,7 @@ class TestServiceCheck(RMFTestCase):
|
|
|
self.assertResourceCalled('Execute', '/usr/bin/kinit -kt /etc/security/keytabs/smokeuser.headless.keytab ambari-qa@EXAMPLE.COM; ',
|
|
|
user = 'ambari-qa',
|
|
|
)
|
|
|
- self.assertResourceCalled('Execute', "! beeline -u 'jdbc:hive2://c6402.ambari.apache.org:10000/;transportMode=binary;principal=hive/_HOST@EXAMPLE.COM' -e '' 2>&1| awk '{print}'|grep -i -e 'Connection refused' -e 'Invalid URL'",
|
|
|
+ self.assertResourceCalled('Execute', "! beeline -u 'jdbc:hive2://c6402.ambari.apache.org:10000/;transportMode=binary;principal=hive/_HOST@EXAMPLE.COM' -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,
|
|
@@ -273,7 +273,7 @@ class TestServiceCheck(RMFTestCase):
|
|
|
stack_version = self.STACK_VERSION,
|
|
|
target = RMFTestCase.TARGET_COMMON_SERVICES)
|
|
|
|
|
|
- self.assertResourceCalled('Execute', "! beeline -u 'jdbc:hive2://c6402.ambari.apache.org:10010/;transportMode=binary' -e '' 2>&1| awk '{print}'|grep -i -e 'Connection refused' -e 'Invalid URL'",
|
|
|
+ self.assertResourceCalled('Execute', "! beeline -u 'jdbc:hive2://c6402.ambari.apache.org:10010/;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/'],
|
|
|
timeout = 30,
|
|
|
user = 'ambari-qa')
|
|
@@ -310,13 +310,13 @@ class TestServiceCheck(RMFTestCase):
|
|
|
target = RMFTestCase.TARGET_COMMON_SERVICES)
|
|
|
|
|
|
self.assertResourceCalled('Execute',
|
|
|
- "! beeline -u 'jdbc:hive2://c6402.ambari.apache.org:10010/;transportMode=binary' -e '' 2>&1| awk '{print}'|grep -i -e 'Connection refused' -e 'Invalid URL'",
|
|
|
+ "! beeline -u 'jdbc:hive2://c6402.ambari.apache.org:10010/;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/'],
|
|
|
timeout = 30,
|
|
|
user = 'ambari-qa')
|
|
|
|
|
|
self.assertResourceCalled('Execute',
|
|
|
- "! beeline -u 'jdbc:hive2://c6402.ambari.apache.org:10500/;transportMode=binary' -e '' 2>&1| awk '{print}'|grep -i -e 'Connection refused' -e 'Invalid URL'",
|
|
|
+ "! beeline -u 'jdbc:hive2://c6402.ambari.apache.org:10500/;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/'],
|
|
|
timeout = 30,
|
|
|
user = 'ambari-qa')
|