|
| 1 | +# |
| 2 | +# Licensed to the Apache Software Foundation (ASF) under one or more |
| 3 | +# contributor license agreements. See the NOTICE file distributed with |
| 4 | +# this work for additional information regarding copyright ownership. |
| 5 | +# The ASF licenses this file to You under the Apache License, Version 2.0 |
| 6 | +# (the "License"); you may not use this file except in compliance with |
| 7 | +# the License. You may obtain a copy of the License at |
| 8 | +# |
| 9 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +# |
| 11 | +# Unless required by applicable law or agreed to in writing, software |
| 12 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | +# See the License for the specific language governing permissions and |
| 15 | +# limitations under the License. |
| 16 | +# |
| 17 | + |
| 18 | +# |
| 19 | +# HBase CDH install |
| 20 | +# |
| 21 | + |
| 22 | +whirr.cluster-name=hadoop_framework |
| 23 | + |
| 24 | +whirr.instance-templates=1 zookeeper+hadoop-namenode+hadoop-jobtracker+hbase-master,1 hadoop-datanode+hadoop-tasktracker+hbase-regionserver |
| 25 | + |
| 26 | +# replication level should not be higher than number of data nodes |
| 27 | +hbase-site.dfs.replication=1 |
| 28 | + |
| 29 | +#custom CDH zookeeper install and configure functions |
| 30 | +whirr.zookeeper.install-function=install_cdh_zookeeper |
| 31 | +whirr.zookeeper.configure-function=configure_cdh_zookeeper |
| 32 | + |
| 33 | +#custom CDH hadoop install and configure functions |
| 34 | +whirr.hadoop.install-function=install_cdh_hadoop |
| 35 | +whirr.hadoop.configure-function=configure_cdh_hadoop |
| 36 | + |
| 37 | +#custom CDH hbase install and configure functions |
| 38 | +whirr.hbase.install-function=install_cdh_hbase |
| 39 | +whirr.hbase.configure-function=configure_cdh_hbase |
| 40 | + |
| 41 | +whirr.provider=aws-ec2 |
| 42 | + |
| 43 | +whirr.identity=<EC2_IDENTITY> |
| 44 | +whirr.credential=<EC2_CREDENTIAL> |
| 45 | + |
| 46 | +# The size of the instance to use. See http://aws.amazon.com/ec2/instance-types/ |
| 47 | +whirr.hardware-id=c1.xlarge |
| 48 | + |
| 49 | +# Ubuntu 10.04 LTS Lucid. See http://cloud.ubuntu.com/ami/ |
| 50 | +whirr.image-id=us-east-1/ami-04c9306d |
| 51 | + |
| 52 | +# If you choose a different location, make sure whirr.image-id is updated too |
| 53 | +whirr.location-id=us-east-1 |
| 54 | + |
| 55 | +# By default use the user system SSH keys. Override them here. |
| 56 | +whirr.private-key-file=${sys:user.home}/.ssh/id_rsa |
| 57 | +whirr.public-key-file=${sys:user.home}/.ssh/id_rsa.pub |
0 commit comments