def CheckPrerequisites(benchmark_config): """Verifies that the required resources are present. Raises: perfkitbenchmarker.data.ResourceNotFound: On missing resource. """ cassandra.CheckPrerequisites() ycsb.CheckPrerequisites() data.ResourcePath(CREATE_TABLE_SCRIPT)
def CheckPrerequisites(): """Verifies that the required resources are present. Raises: perfkitbenchmarker.data.ResourceNotFound: On missing resource. """ cassandra.CheckPrerequisites() if FLAGS.cassandra_stress_command == USER_COMMAND: data.ResourcePath(FLAGS.cassandra_stress_profile)
def CheckPrerequisites(): """Verifies that the required resources are present. Raises: perfkitbenchmarker.data.ResourceNotFound: On missing resource. """ if FLAGS['num_vms'].present and FLAGS.num_vms < 3: raise ValueError('cassandra_ycsb requires at least 3 Cassandra VMs.') cassandra.CheckPrerequisites() ycsb.CheckPrerequisites() data.ResourcePath(CREATE_TABLE_SCRIPT)