You can set configurations at the blueprint level (to apply to all host_groups) and you can also set configurations in the host_groups element to set configurations for that host_group.
Will that help? Or will it just mean you will have to have a host_group that you have to apply per host? https://cwiki.apache.org/confluence/display/AMBARI/Blueprints#Blueprints-Configurations On Thu, Jun 5, 2014 at 12:58 AM, Qing Chi 79624 <c...@vmware.com> wrote: > Hi guys, > I want to use specific data dir on each host. For example: > > Host 1, following is content of hdfs-site.xml on a host. > > <?xml version="1.0"?> > <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> > <!-- check for all settings at > http://hadoop.apache.org/common/docs/stable/hdfs-default.html --> > <configuration> > … > <property> > <name>dfs.data.dir</name> > > <value>/mnt/scsi-36000c297241e2328f0c26ccf28525ada-part1/hadoop/hdfs/data,/mnt/scsi-36000c296928f65c7749de0620b422dde-part1/hadoop/hdfs/data,/mnt/scsi-36000c2970047fad07f4662de91001b8e-part1/hadoop/hdfs/data</value> > <final>true</final> > </property> > …. > </configuration> > > Host 2, following is content of hdfs-site.xml on another host. > > <?xml version="1.0"?> > <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> > <!-- check for all settings at > http://hadoop.apache.org/common/docs/stable/hdfs-default.html --> > <configuration> > … > <property> > <name>dfs.data.dir</name> > > <value>/mnt/scsi-36000c2966300dabe41c0193161330a2c-part1/hadoop/hdfs/data,/mnt/scsi-36000c29ce17ee6c47e1a329791cbbe61-part1/hadoop/hdfs/data,/mnt/scsi-36000c29694c370eb163114067ffed1bb-part1/hadoop/hdfs/data</value> > <final>true</final> > </property> > …. > </configuration> > > Values of data dir on all hosts are different. So on this situation > how to add configurations to specific host to create cluster using > blueprint? Can somebody give me some help? > > Thanks, > > -qing > > -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You.