307156c02e1cde213cffe0daea78992b0db52f38,perfkitbenchmarker/benchmarks/cloudsuite_web_search.py,,Prepare,#Any#,60

Before Change


  core_node1 = core_node1.strip()
  core_node2 = core_node2.strip()
  time.sleep(15)
  vms[2].RobustRemoteCommand("cd {0} && "
                             "export PATH=$PATH:/usr/sbin && "
                             "mkdir -p example/cloud/node3/solr && "
                             "cp server/solr/solr.xml "
                             "example/cloud/node3/solr && "
                             "bin/solr start -cloud "
                             "-s example/cloud/node3/solr "
                             "-p 8983 -z {1}:9983 && "
                             "mkdir -p example/cloud/node4/solr && "
                             "cp server/solr/solr.xml "
                             "example/cloud/node4/solr && "
                             "bin/solr start -cloud "
                             "-s example/cloud/node4/solr "
                             "-p 7574 -z {1}:9983 && "
                             "curl {1}:8983/solr/admin/collections?action="
                             "ADDREPLICA --data "collection=gettingstarted"
                             "&shard=shard1&node={2}:8983_solr" && "
                             "curl {1}:8983/solr/admin/collections?action="
                             "ADDREPLICA --data "collection=gettingstarted&"
                             "shard=shard1&node={2}:7574_solr"".format(
                                 SOLR_HOME_DIR, vms[1].ip_address,
                                 vms[2].ip_address))
  time.sleep(15)
  vms[2].RobustRemoteCommand("cd {0} && "
                             "export PATH=$PATH:/usr/sbin && "

After Change


    fw.AllowPort(vm, 9983)
    fw.AllowPort(vm, 9980)
    vm.Install("openjdk7")
    vm.Install("lsof")
    vm.Install("curl")
    vm.Install("wget")
    vm.RobustRemoteCommand("mkdir -p {0} &&"
                           "cd {0} && "
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 307156c02e1cde213cffe0daea78992b0db52f38
Time: 2015-08-03
Author: vukasin.stefanovic92@gmail.com
File Name: perfkitbenchmarker/benchmarks/cloudsuite_web_search.py
Class Name:
Method Name: Prepare


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 66e9fe5a177e9ae408a980e1a65b693b4bacf518
Time: 2015-06-02
Author: klausw@google.com
File Name: perfkitbenchmarker/benchmarks/scimark2_benchmark.py
Class Name:
Method Name: Prepare


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: a8216376cc6b01ee9d1c654492b576a0ff8d3685
Time: 2015-10-21
Author: yuyantingzero@gmail.com
File Name: perfkitbenchmarker/packages/cassandra.py
Class Name:
Method Name: _Install


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 2ed831cc1094ced6f558f67a3551fcd493d92f6f
Time: 2020-03-17
Author: florin.papa@intel.com
File Name: perfkitbenchmarker/linux_packages/ycsb.py
Class Name:
Method Name: _Install