Example #1
0
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()
Example #2
0
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()
Example #3
0
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()
Example #4
0
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()
Example #5
0
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()
Example #6
0
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()
Example #7
0
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()
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()