54286d5e125fdebf3fa6a82ee16e8172a2127402,perfkitbenchmarker/providers/aws/aws_dpb_emr.py,AwsDpbEmr,CreateBucket,#AwsDpbEmr#Any#,391

Before Change


    pass

  def CreateBucket(self, source_bucket):
    mb_cmd = self.cmd_prefix + ["s3", "mb", "{}{}".format(
        self.PERSISTENT_FS_PREFIX, source_bucket)]
    _, _, _ = vm_util.IssueCommand(mb_cmd)

  def generate_data(self, source_dir, udpate_default_fs, num_files,
                    size_file):
    Method to generate data using a distributed job on the cluster.

After Change


    Args:
      source_bucket: String, name of the bucket to create.
    
    self.s3_service.MakeBucket(source_bucket)

  def DeleteBucket(self, source_bucket):
    Delete a bucket on S3 used during the persistent data processing.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 54286d5e125fdebf3fa6a82ee16e8172a2127402
Time: 2020-02-21
Author: saksena@google.com
File Name: perfkitbenchmarker/providers/aws/aws_dpb_emr.py
Class Name: AwsDpbEmr
Method Name: CreateBucket


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 54286d5e125fdebf3fa6a82ee16e8172a2127402
Time: 2020-02-21
Author: saksena@google.com
File Name: perfkitbenchmarker/providers/aws/aws_dpb_emr.py
Class Name: AwsDpbEmr
Method Name: _CreateLogBucket


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: e8dc07c5a3bd21e5a581ff5a88f59787dc3dc8e1
Time: 2020-02-26
Author: saksena@google.com
File Name: perfkitbenchmarker/providers/gcp/gcp_dpb_dataproc.py
Class Name: GcpDpbDataproc
Method Name: CreateBucket