AnsweredAssumed Answered

whirr deployment:  "No handler for role mapr-simple"

Question asked by javadba on Oct 24, 2011
Latest reply on Oct 24, 2011 by sathya
Trying to use whirr to deploy to ec2.  My aws keys were accepted, but then the mapr specific configuration (.properties) was not.

whirr was invoked by:

  whirr launch-cluster --config mapr-hadoop-ha-ec2.properties

The relevant line of the .properties is:

   whirr.instance-templates=3 mapr-simple

----------------------------

For reference here is the entire properties file

    #
    # Copyright (c) 2009 & onwards. MapR Tech, Inc., All rights reserved
    #
    
    # MapR hadoop cluster for EC2
    
    # Change the cluster name here
    whirr.cluster-name=MaprHadoopHA
    
    # Change the number of machines in the cluster here
    whirr.instance-templates=3 mapr-simple
    
    # default install & configure scripts: dont use package.mapr.com
    whirr.run-url-base=http://archive.mapr.com/scripts/whirr/
    whirr.mapr-install-runurl=mapr/install
    whirr.mapr-configure-runurl=mapr/configure
    
    # For EC2 set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables.
    whirr.provider=aws-ec2
    whirr.identity=${env:AWS_ACCESS_KEY_ID}
    whirr.credential=${env:AWS_SECRET_ACCESS_KEY}
    
    # The size of the instance to use. See http://aws.amazon.com/ec2/instance-types/
    whirr.image-id=us-east-1/ami-e1bfefa4
    # Ubuntu 10.04 LTS Lucid. See http://alestic.com/
    whirr.hardware-id=m1.small
    # If you choose a different location, make sure whirr.image-id is updated too
    whirr.location-id=us-east-1
    
    # By default use the user system SSH keys. Override them here.
    whirr.private-key-file=${sys:user.home}/.ssh/id_rsa
    whirr.public-key-file=${whirr.private-key-file}.pub
    
    # ex: v1.1.1 a release thats a valid URL http://${whirr.mapr-repository-server}
    whirr.mapr-repository-server=package.mapr.com/releases/__RELEASE__
    
    # optional username/credentials for the repository server
    #whirr.mapr-repository-username=${env:MAPR_REPO_USERNAME}
    #whirr.mapr-repository-password=${env:MAPR_REPO_PASSWD}

Outcomes