ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Beerbower (JIRA)" <>
Subject [jira] [Commented] (AMBARI-6646) Ability to set rack awareness
Date Thu, 07 May 2015 13:54:00 GMT


Tom Beerbower commented on AMBARI-6646:

[~neetagarimella], The Ambari docs for 2.1.0 are still being developed, but here is some more
information on manually setting up rack awareness ...

With this patch, Ambari should take care of these steps for you.  If you set the Hosts/rack_info
property on a host, Ambari should mark the HDFS service for restart.  You will see a restart
flag on the service in the Ambari UI. Change the rack info for as many hosts as you need to
then restart the service through the UI.  As the service is restarted, the topology scripts
are updated to reflect the changes in rack information for the hosts.  You can verify that
hadoop sees the rack changes by running the report in step 4 of the instructions above...
sudo -u hdfs hadoop dfsadmin -report

With the latest Ambari UI code you should see an option to set the rack info for each host.
 You can also set the rack info property through the API ...

PUT api/v1/clusters/c1/hosts/[host_name]

  "Hosts" : {
    "rack_info" : "/rack-01"

Hope this helps.  Thanks!

> Ability to set rack awareness
> -----------------------------
>                 Key: AMBARI-6646
>                 URL:
>             Project: Ambari
>          Issue Type: Epic
>    Affects Versions: 1.7.0
>            Reporter: Shivani Gupta
>            Assignee: Tom Beerbower
>             Fix For: 2.1.0
>         Attachments: AMBARI-6646.patch
> Ambari should support rack awareness to drive Hadoop operations.
> -  Ability to set/edit Rack ID on hosts (On the hosts details page and prob need a dialog
"Manage Rack Assignment..." on the Hosts Action menu to allow you to add Rack IDs and bulk
move hosts in/out of a rack – similar to host config groups dialog)
> -  Adjust heatmap to layout hosts by Rack ID (or default rack if not set)
> -  Adjust hosts table to include Rack ID as a column, which is sortable and searchable
> Ambari will generate a topology script that echos this Rack ID, and sets that topology
script in the config.

This message was sent by Atlassian JIRA

View raw message