示例#1
0
 def InstallSpark(vm):
     vm.Install('spark')
     if self.cloud == 'GCP':
         hadoop.InstallGcsConnector(vm)
     if self.cloud == 'AWS':
         hadoop.InstallS3Connector(vm)
示例#2
0
 def InstallHadoop(vm):
     vm.Install('hadoop')
     if self.cloud == 'GCP':
         hadoop.InstallGcsConnector(vm)
     if self.cloud == 'AWS':
         hadoop.InstallS3Connector(vm)