This is an automated email from the ASF dual-hosted git repository. aonishuk pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ambari.git
commit b3be244b0d6b68cffd128c7db43830cae8077a51 Author: aonishuk <aonis...@hortonworks.com> AuthorDate: Thu Jan 10 08:22:03 2019 +0200 Delete deploy-gce-perf-cluster.py.rej --- contrib/utils/perf/deploy-gce-perf-cluster.py.rej | 27 ----------------------- 1 file changed, 27 deletions(-) diff --git a/contrib/utils/perf/deploy-gce-perf-cluster.py.rej b/contrib/utils/perf/deploy-gce-perf-cluster.py.rej deleted file mode 100644 index 06eca6e..0000000 --- a/contrib/utils/perf/deploy-gce-perf-cluster.py.rej +++ /dev/null @@ -1,27 +0,0 @@ ---- contrib/utils/perf/deploy-gce-perf-cluster.py -+++ contrib/utils/perf/deploy-gce-perf-cluster.py -@@ -28,7 +28,7 @@ import re - import socket - - cluster_prefix = "perf" --ambari_repo_file_url = "http://s3.amazonaws.com/dev.hortonworks.com/ambari/centos6/2.x/updates/2.5.0.0/ambaribn.repo" -+ambari_repo_file_url = "http://10.240.0.30/ambari.repo" - - public_hostname_script = "foo" - hostname_script = "foo" -@@ -397,13 +394,11 @@ def create_agent_script(server_host_name): - # TODO, instead of cloning Ambari repo on each VM, do it on the server once and distribute to all of the agents. - contents = "#!/bin/bash\n" + \ - "wget -O /etc/yum.repos.d/ambari.repo {0}\n".format(ambari_repo_file_url) + \ -- "yum clean all; yum install krb5-workstation git ambari-agent -y\n" + \ -- "mkdir /home ; cd /home; git clone https://github.com/apache/ambari.git ; cd ambari ; git checkout branch-2.5\n" + \ -- "cp -r /home/ambari/ambari-server/src/main/resources/stacks/PERF /var/lib/ambari-agent/cache/stacks/PERF\n" + \ -+ "yum clean all; yum install krb5-workstation ambari-agent -y\n" + \ - "sed -i -f /var/lib/ambari-agent/cache/stacks/PERF/PythonExecutor.sed /usr/lib/python2.6/site-packages/ambari_agent/PythonExecutor.py\n" + \ - "sed -i -e 's/hostname=localhost/hostname={0}/g' /etc/ambari-agent/conf/ambari-agent.ini\n".format(server_host_name) + \ - "sed -i -e 's/agent]/agent]\\nhostname_script={0}\\npublic_hostname_script={1}\\n/1' /etc/ambari-agent/conf/ambari-agent.ini\n".format(hostname_script, public_hostname_script) + \ -- "python /home/ambari/ambari-agent/conf/unix/agent-multiplier.py start\n" + \ -+ "wget http://10.240.0.30/agent-multiplier.py ; python agent-multiplier.py start\n" + \ - "exit 0" - - with open("agent.sh", "w") as f: