#NEWLINE# def CheckPrerequisites( ) : #NEWLINE# #INDENT# 'Verifies that the required resources are present.\n\n  Raises:\n    perfkitbenchmarker.data.ResourceNotFound: On missing resource.\n  ' #NEWLINE# for resource in HBASE_CONF_FILES : #NEWLINE# #INDENT# data . ResourcePath ( resource ) #NEWLINE# #UNINDENT# hbase . CheckPrerequisites ( ) #NEWLINE# ycsb . CheckPrerequisites ( ) #NEWLINE# for scope in REQUIRED_SCOPES : #NEWLINE# #INDENT# if ( scope not in FLAGS . gcloud_scopes ) : #NEWLINE# #INDENT# raise ValueError ( 'Scope {0} required.' . format ( scope ) ) #NEWLINE# #UNINDENT# #UNINDENT# if FLAGS . google_bigtable_cluster_name : #NEWLINE# #INDENT# cluster = _GetClusterDescription ( ( FLAGS . project or _GetDefaultProject ( ) ) , FLAGS . google_bigtable_zone_name , FLAGS . google_bigtable_cluster_name ) #NEWLINE# logging . info ( 'Found cluster: %s' , cluster ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# logging . info ( 'No cluster; will create in Prepare.' )