Florian Barca created AMBARI-9038:
-------------------------------------

             Summary: [WinGA] Dashboard doesn't load after installation on 
Windows
                 Key: AMBARI-9038
                 URL: https://issues.apache.org/jira/browse/AMBARI-9038
             Project: Ambari
          Issue Type: Task
          Components: ambari-server
    Affects Versions: 2.0.0
         Environment: Windows Server 64-bit
            Reporter: Florian Barca
            Assignee: Florian Barca
             Fix For: 2.1.0


In ambari-server.py (i.e. the Linux version) there is a function called 
configure_os_settings()
which is called at ambari server setup. This adds os.server_family and 
os.server_type properties to ambari.properties
However ambari server setup on Windows doesn’t add these properties and hence 
due to recent Ambari Web UI change, the dashboard doesn’t load after 
installation is complete.
http://winamb-dev.windows.apache.ambari.org:8080/api/v1/services/AMBARI/components/AMBARI_SERVER?fields=RootServiceComponents/component_version,RootServiceComponents/properties/server.os_family&minimal_response=true&_=1420579671388
{
"RootServiceComponents" :
{ "component_name" : "AMBARI_SERVER", "component_version" : "1.3.0", 
"service_name" : "AMBARI" }
}
http://c6401.ambari.apache.org:8080/api/v1/services/AMBARI/components/AMBARI_SERVER?fields=RootServiceComponents/component_version,RootServiceComponents/properties/server.os_family&minimal_response=true&_=1420579671388
{
"RootServiceComponents" : {
"component_name" : "AMBARI_SERVER",
"component_version" : "1.3.0",
"service_name" : "AMBARI",
"properties" :
{ "server.os_family" : "redhat6" }
}
}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to