Community Articles
Find and share helpful community-sourced technical articles
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.


When the hostname is mixed like: GRAFANA-hdp253-s1.openstacklocal GRAFANA-hdp253-s1 GRAFANA-hdp253-s2.openstacklocal GRAFANA-hdp253-s2 GRAFANA-hdp253-s3.openstacklocal GRAFANA-hdp253-s3 

Ambari creates the datasource with a lower case hostname:


Once you enter the hostname with mixed case, Grafana works:



Grafana 2.6.0 backend uses Go 1.5. Go's DNS lookup had a bug where the look up is case sensitive:

We can manual workaround by using the original casing in the Grafana Data Source URL as mentioned in the description. Another workaround is to update the /etc/hosts file to have all lowercase patterns as well. This bug was fixed in Go 1.6, so we will no longer have this issue once we upgrade Grafana to a later version (say 4.1.x) in a future version of Ambari.

Don't have an account?
Coming from Hortonworks? Activate your account here
Version history
Revision #:
2 of 2
Last update:
‎08-17-2019 12:23 PM
Updated by:
Top Kudoed Authors