Repository: ambari Updated Branches: refs/heads/branch-2.5 0a62d19a7 -> 899d1eaa5
AMBARI-19058. Perf: Deploy 3000 Agent cluster and find perf bugs. Part 4.(vbrodetskyi) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/899d1eaa Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/899d1eaa Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/899d1eaa Branch: refs/heads/branch-2.5 Commit: 899d1eaa5b776df49286f7d9d94206746ae75e43 Parents: 0a62d19 Author: Vitaly Brodetskyi <vbrodets...@hortonworks.com> Authored: Fri Dec 23 15:11:17 2016 +0200 Committer: Vitaly Brodetskyi <vbrodets...@hortonworks.com> Committed: Fri Dec 23 15:11:17 2016 +0200 ---------------------------------------------------------------------- contrib/utils/perf/deploy-gce-perf-cluster.py | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/899d1eaa/contrib/utils/perf/deploy-gce-perf-cluster.py ---------------------------------------------------------------------- diff --git a/contrib/utils/perf/deploy-gce-perf-cluster.py b/contrib/utils/perf/deploy-gce-perf-cluster.py index 73c353e..8ba7e42 100644 --- a/contrib/utils/perf/deploy-gce-perf-cluster.py +++ b/contrib/utils/perf/deploy-gce-perf-cluster.py @@ -338,6 +338,7 @@ def create_server_script(server_host_name): "\n" + \ "yum install mysql-connector-java* -y\n" + \ "yum install mysql-server -y\n" + \ + "sed -i -e 's/mysqld]/mysqld]\\nmax_allowed_packet=16M/1' /etc/my.cnf\n" + \ "service mysqld start\n" + \ "mysql -uroot -e \"CREATE DATABASE ambari;\"\n" + \ "mysql -uroot -e \"SOURCE /var/lib/ambari-server/resources/Ambari-DDL-MySQL-CREATE.sql;\" ambari\n" + \ @@ -366,6 +367,7 @@ def create_server_script(server_host_name): "echo 'server.jdbc.port=3306' >> /etc/ambari-server/conf/ambari.properties\n" + \ "echo 'server.jdbc.hostname=localhost' >> /etc/ambari-server/conf/ambari.properties\n" + \ "echo 'server.jdbc.driver.path=/usr/share/java/mysql-connector-java.jar' >> /etc/ambari-server/conf/ambari.properties\n" + \ + "echo 'security.temporary.keystore.retention.minutes=180' >> /etc/ambari-server/conf/ambari.properties\n" + \ "\n" + \ "ambari-server start --skip-database-check\n" + \ "exit 0"