Hi Pratik, the safest way to generate a blueprint is to actually deploy a 
cluster with the desired configuration (even a 3-node cluster will work).
Ambari can ensure that any dependent services are also installed in the 
topology. Further, the blueprint also captures the configs.

https://cwiki.apache.org/confluence/display/AMBARI/Blueprints

Thanks,
Alejandro

From: Pratik Gadiya 
<[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Friday, April 17, 2015 at 1:46 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Ambari Blueprint


Hi All,

I want to create a generalize blueprint in Ambari that can be used to deploy a 
hadoop cluster for 1 Master Node and N Compute Nodes.

Host Groups Content of Blueprint :

  "host_groups" : [
    {
      "name" : "compute",
      "configurations" : [ ],
      "components" : [
        {          "name" : "ZOOKEEPER_SERVER"        },
        {          "name" : "ZOOKEEPER_CLIENT"        },
        {          "name" : "PIG"        },
        {          "name" : "OOZIE_CLIENT"        },
        {          "name" : "HBASE_CLIENT"        },
        {          "name" : "HCAT"        },
        {          "name" : "FALCON_CLIENT"        },
        {          "name" : "TEZ_CLIENT"        },
        {          "name" : "SLIDER"        },
        {          "name" : "SQOOP"        },
        {          "name" : "HDFS_CLIENT"        },
        {          "name" : "HIVE_CLIENT"        },
        {          "name" : "NODEMANAGER"        },
        {          "name" : "YARN_CLIENT"        },
        {          "name" : "MAPREDUCE2_CLIENT"        },
        {          "name" : "DATANODE"        },
        {          "name" : "GANGLIA_MONITOR"        }
      ],
      "cardinality" : "1000"
    },
    {
      "name" : "master",
      "configurations" : [ ],
      "components" : [
        {          "name" : "PIG"        },
        {          "name" : "HISTORYSERVER"        },
        {          "name" : "KAFKA_BROKER"        },
        {          "name" : "HBASE_REGIONSERVER"        },
        {          "name" : "OOZIE_CLIENT"        },
        {          "name" : "HBASE_CLIENT"        },
        {          "name" : "NAMENODE"        },
        {          "name" : "SUPERVISOR"        },
        {          "name" : "FALCON_SERVER"        },
        {          "name" : "HCAT"        },
        {          "name" : "KNOX_GATEWAY"        },
        {          "name" : "SLIDER"        },
        {          "name" : "AMBARI_SERVER"        },
        {          "name" : "APP_TIMELINE_SERVER"        },
        {          "name" : "HDFS_CLIENT"        },
        {          "name" : "HIVE_CLIENT"        },
        {          "name" : "FLUME_HANDLER"        },
        {          "name" : "WEBHCAT_SERVER"        },
        {          "name" : "RESOURCEMANAGER"        },
        {          "name" : "ZOOKEEPER_SERVER"        },
        {          "name" : "ZOOKEEPER_CLIENT"        },
        {          "name" : "STORM_UI_SERVER"        },
        {          "name" : "HBASE_MASTER"        },
        {          "name" : "HIVE_SERVER"        },
        {          "name" : "OOZIE_SERVER"        },
        {          "name" : "FALCON_CLIENT"        },
        {          "name" : "SECONDARY_NAMENODE"        },
        {          "name" : "TEZ_CLIENT"        },
        {          "name" : "HIVE_METASTORE"        },
        {          "name" : "GANGLIA_SERVER"        },
        {          "name" : "SQOOP"        },
        {          "name" : "YARN_CLIENT"        },
        {          "name" : "MAPREDUCE2_CLIENT"        },
        {          "name" : "MYSQL_SERVER"        },
        {          "name" : "GANGLIA_MONITOR"        },
        {          "name" : "DRPC_SERVER"        },
        {          "name" : "NIMBUS"        }
      ],
      "cardinality" : "1"
    }
]

Are there any of the services which needs to be changed to other host_groups ?
Are there any of the services which needs to be present on both the nodes ?

Please review the above bluerint and let me know if there has to be made any 
changes in it.

Thanks & Regards,
Pratik

With Regards,
Pratik Gadiya| Senior Software Engineer
[email protected]<mailto:[email protected]>EXT: 
+91-20-67981107
Persistent Systems Ltd.| Partners in Innovation | 
www.persistentsys.co<http://www.persistentsys.com/>m


DISCLAIMER ========== This e-mail may contain privileged and confidential 
information which is the property of Persistent Systems Ltd. It is intended 
only for the use of the individual or entity to which it is addressed. If you 
are not the intended recipient, you are not authorized to read, retain, copy, 
print, distribute or use this message. If you have received this communication 
in error, please notify the sender and delete all copies of this message. 
Persistent Systems Ltd. does not accept any liability for virus infected mails.

Reply via email to