|
@@ -220,6 +220,7 @@ class TestHiveMetastore(RMFTestCase):
|
|
|
)
|
|
|
self.assertResourceCalled('File', '/usr/lib/ambari-agent/DBConnectionVerification.jar',
|
|
|
content = DownloadSource('http://c6401.ambari.apache.org:8080/resources/DBConnectionVerification.jar'),
|
|
|
+ mode = 0644,
|
|
|
)
|
|
|
self.assertResourceCalled('File', '/tmp/start_metastore_script',
|
|
|
content = StaticFile('startMetastore.sh'),
|
|
@@ -323,6 +324,7 @@ class TestHiveMetastore(RMFTestCase):
|
|
|
)
|
|
|
self.assertResourceCalled('File', '/usr/lib/ambari-agent/DBConnectionVerification.jar',
|
|
|
content = DownloadSource('http://c6401.ambari.apache.org:8080/resources/DBConnectionVerification.jar'),
|
|
|
+ mode = 0644,
|
|
|
)
|
|
|
self.assertResourceCalled('File', '/tmp/start_metastore_script',
|
|
|
content = StaticFile('startMetastore.sh'),
|
|
@@ -449,7 +451,9 @@ class TestHiveMetastore(RMFTestCase):
|
|
|
mode = 0644)
|
|
|
|
|
|
self.assertResourceCalled('File', '/usr/lib/ambari-agent/DBConnectionVerification.jar',
|
|
|
- content = DownloadSource('http://c6401.ambari.apache.org:8080/resources/DBConnectionVerification.jar'))
|
|
|
+ content = DownloadSource('http://c6401.ambari.apache.org:8080/resources/DBConnectionVerification.jar'),
|
|
|
+ mode = 0644,
|
|
|
+ )
|
|
|
|
|
|
self.assertResourceCalled('File', '/tmp/start_metastore_script',
|
|
|
content = StaticFile('startMetastore.sh'),
|