• Like
  • Save
Apache Ambari BOF - Configs - Hadoop Summit 2013
Upcoming SlideShare
Loading in...5
×
 

Apache Ambari BOF - Configs - Hadoop Summit 2013

on

  • 1,223 views

Apache Ambari BOF Meet Up @ Hadoop Summit 2013

Apache Ambari BOF Meet Up @ Hadoop Summit 2013

Configs

http://www.meetup.com/Apache-Ambari-User-Group/events/119184782/

Statistics

Views

Total Views
1,223
Views on SlideShare
1,223
Embed Views
0

Actions

Likes
1
Downloads
31
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Apache Ambari BOF - Configs - Hadoop Summit 2013 Apache Ambari BOF - Configs - Hadoop Summit 2013 Presentation Transcript

    • © Hortonworks Inc. 2013 Ambari Configuration API June 25, 2013 Page 1
    • © Hortonworks Inc. 2013 Agenda • Purpose • Types • Cluster • Host Overrides • Host Component / Actual Page 2
    • © Hortonworks Inc. 2013 Purpose • Provide ability to set any config parameter • Values used to populate configuration files in /etc/hadoop/conf (core-site, hdfs-site, etc) • Mechanism to set and view configurations • Insight into host configuration state Page 3
    • © Hortonworks Inc. 2013 Types • Two main types: global and site • Global Configuration –Values required by shell or puppet scripts –Denoted using specially named global type • Site-specific Configurations –Used by Hadoop components for fine-tuning a cluster –Named using standard Hadoop types (core-site, hdfs-site, mapred-site, etc) Page 4
    • © Hortonworks Inc. 2013 Cluster - Definition • All configurations stored with cluster GET /api/v1/clusters/c1/configurations?type=global&tag=version1 { "type": "global", "tag": "version1", "properties": { "a": "b", "c": "d" } } • Uniqueness defined by type/tag combinations • Type is matched to Hadoop configuration names, but is not restricted • Tag can be any string Page 5
    • © Hortonworks Inc. 2013 Cluster – Desired • Only One Desired per type GET /api/v1/clusters/c1 { "Clusters": { "cluster_id": 1, "desired_configs": { "global": { "tag": "version1", "user": "admin" }, ... } } } • Auditing username and timestamp Page 6
    • © Hortonworks Inc. 2013 Host Overrides – Desired • Mechanism to set specific host-level overrides • Only One Desired per type, like Cluster GET /api/v1/clusters/c1/hosts/h1 { "Hosts": { "cluster_name": "c1", "host_name": "h1", "desired_configs": { "global": { "tag": "custom-mapred", "user": "admin" }, ... } } } Page 7
    • © Hortonworks Inc. 2013 Host Components – Actual • Discreet information, per Host Component • Structure similar to Cluster/Host desired GET /api/v1/clusters/c1/hosts/h1/host_components/DATANODE { "HostRoles" : { "cluster_name" : "c1", "component_name" : "DATANODE", "actual_configs" : { "core-site" : { "tag" : "version1" }, "global" : { "tag" : "version1” } } } } Page 8
    • © Hortonworks Inc. 2013 Thank You Page 9