Explorar o código

AMBARI-493. Add rack_info as column in Hosts table (Contributed by Hitesh)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/branches/ambari-186@1347330 13f79535-47bb-0310-9956-ffa450edef68
Vikram Dixit K %!s(int64=13) %!d(string=hai) anos
pai
achega
1da991cc0c
Modificáronse 2 ficheiros con 3 adicións e 0 borrados
  1. 2 0
      CHANGES.txt
  2. 1 0
      hmc/db/schema.dump

+ 2 - 0
CHANGES.txt

@@ -6,6 +6,8 @@ characters wide.
 
 
 Release 0.1.x - unreleased
 Release 0.1.x - unreleased
 
 
+  AMBARI-493. Add rack_info as column in Hosts table (Hitesh via Vikram)
+
   AMBARI-492. make support for os check a bit more robust (Hitesh via Vikram)
   AMBARI-492. make support for os check a bit more robust (Hitesh via Vikram)
 
 
   AMBARI-492. make support for os check a bit more robust (Hitesh via Vikram)
   AMBARI-492. make support for os check a bit more robust (Hitesh via Vikram)

+ 1 - 0
hmc/db/schema.dump

@@ -376,6 +376,7 @@ CREATE TABLE  "Hosts" (
   disks_info BLOB, -- disk capacity json object, keys are mount-points
   disks_info BLOB, -- disk capacity json object, keys are mount-points
   discovery_status TEXT, -- discovery state - if we could connect properly
   discovery_status TEXT, -- discovery state - if we could connect properly
   bad_health_reason TEXT, -- failure reason if any
   bad_health_reason TEXT, -- failure reason if any
+  rack_info TEXT, -- rack information for host
   attributes BLOB, -- attributes blob to store additional attributes that may be required for the host
   attributes BLOB, -- attributes blob to store additional attributes that may be required for the host
                    -- attributes stored currently:
                    -- attributes stored currently:
                       -- "publicFQDN" => public hostname in case of AWS ( same as hostname in other environments )
                       -- "publicFQDN" => public hostname in case of AWS ( same as hostname in other environments )