def main(parser): args, unknown = parser.parse_known_args() enable_debug(args) if args.mesos == 'master': lab = Mesos(args.environment, args.deployment, args.region, args.availability_zone, args.hosted_zone, str(args.num_nodes), args.instance_type, args.mesos_version, args.zk_version, args.mesos, args.mesos_dns, args.gauntlet, args.aurora_url, args.marathon_version, args.marathon, args.aurora, args.slave_on_master, args.spark, args.spark_version, args.spark_url, args.chronos) elif args.mesos == 'slave': lab = Mesos(args.environment, args.deployment, args.region, args.availability_zone, args.hosted_zone, str(args.num_nodes), args.instance_type, args.mesos_version, args.zk_version, args.mesos, args.mesos_dns, args.gauntlet, mirrormaker=args.mirrormaker, spark=args.spark, spark_version=args.spark_version, spark_url=args.spark_url) lab.deploy()
def main(parser): args, unknown = parser.parse_known_args() enable_debug(args) lab = Zookeeper(args.environment, args.deployment, args.region, args.availability_zone, str(args.num_nodes), args.instance_type, args.zk_version) lab.deploy()
def main(parser): args, unknown = parser.parse_known_args() enable_debug(args) lab = GoKafkaProducer(args.environment, args.deployment, args.region, args.availability_zone, str(args.num_nodes), args.instance_type, args.producer_url) lab.deploy()
def main(parser): args, unknown = parser.parse_known_args() enable_debug(args) lab = ClouderaHadoop(args.environment, args.deployment, args.region, args.availability_zone, str(args.num_nodes), args.instance_type, args.hadoop) lab.deploy()
def main(parser): args, unknown = parser.parse_known_args() enable_debug(args) lab = Zookeeper(args.environment, args.deployment, args.region, args.availability_zone, str(args.num_nodes), args.instance_type, args.zk_version, args.repo_url) lab.deploy()
def main(parser): args, unknown = parser.parse_known_args() enable_debug(args) lab = Cassandra(args.environment, args.deployment, args.region, args.availability_zone, str(args.num_nodes), args.instance_type) lab.deploy()