[ https://issues.apache.org/jira/browse/AMBARI-18846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15667190#comment-15667190 ]
Doroszlai, Attila commented on AMBARI-18846: -------------------------------------------- [~Tim Thorpe] Fresh install of Ambari Server 2.5 cannot be started: {noformat} $ ambari-server start Using python /usr/bin/python Starting ambari-server Ambari Server running with administrator privileges. Organizing resource files at /var/lib/ambari-server/resources... ERROR: Exiting with exit code -1. REASON: Can not organize resource files at /var/lib/ambari-server/resources: Can not create zip archive of directory /var/lib/ambari-server/resources/dashboards : [Errno 2] No such file or directory: '/var/lib/ambari-server/resources/dashboards' $ ambari-server --version 2.5.0.0-296 $ ambari-server --hash d95fe133a189ed8f8c5f9a0bcd2d558fdf08b704 {noformat} I worked around it by creating the directory manually. > Custom services should be able to easily specify their own dashboards > --------------------------------------------------------------------- > > Key: AMBARI-18846 > URL: https://issues.apache.org/jira/browse/AMBARI-18846 > Project: Ambari > Issue Type: Improvement > Components: ambari-admin, ambari-metrics, ambari-server > Affects Versions: trunk, 2.4.0, 2.5.0 > Reporter: Tim Thorpe > Assignee: Tim Thorpe > Fix For: trunk, 2.5.0 > > Attachments: AMBARI-18846.patch > > > Currently all dashboards are added directly in under the AMBARI_METRICS > package directory (package/files/grafana-dashboards). > In order for custom services to add dashboards, they need to add the files > directly under that folder. Each time the Ambari server is upgraded, those > files will be lost as the AMBARI_METRICS service definition will be replaced. > This JIRA proposes adding a new directory under the ambari-server/resources. > This will contain both the dashboards and metrics for custom services. > The dashboards here will not be organized by stack. Each service will add a > directory containing their dashboards and will add a metrics file. > resources/dashboards/grafana-dashboards/MY_SERVICE/<dashboards> > resources/dashboards/service-metrics/MY_SERVICE.txt > The resources/dashboards directory will need to get sync'd to the agents. -- This message was sent by Atlassian JIRA (v6.3.4#6332)