def create_database(frontends, opts):
  scale_factor = opts.scale_factor
  print "Creating TPCH database in HDFS on primary node with scale factor " + scale_factor
  ssh(frontends[0].public_dns_name, opts,
      "/root/create_database.sh %s" % scale_factor)
dataset/ETHPy150Open radlab/sparrow/deploy/ec2/ec2_exp.py/create_database/original