ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jun aoki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-14892) Add Grafana as a component to AMS
Date Tue, 09 Feb 2016 00:42:18 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-14892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15138126#comment-15138126
] 

jun aoki commented on AMBARI-14892:
-----------------------------------

Hi [~avijayan], After your patch added exclude_packages to install_packages() here https://github.com/apache/ambari/commit/1eb846c153b156f87a7e55b65decb1f2118f90dc#diff-fe82ec590b6de80b4ced0eed8473f33eL34
our CI starts failing.
{code}
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_collector.py",
line 133, in <module>
    AmsCollector().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 238, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_collector.py",
line 34, in install
    self.install_packages(env, exclude_packages = ['ambari-metrics-grafana'])
TypeError: install_packages() got an unexpected keyword argument 'exclude_packages'
{code}

The definition of install_packages() does not seem to have "exclude_packages" either.
https://github.com/apache/ambari/blob/trunk/ambari-common/src/main/python/resource_management/libraries/script/script.py#L424

Do you know if we are missing something here?

> Add Grafana as a component to AMS
> ---------------------------------
>
>                 Key: AMBARI-14892
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14892
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-metrics
>    Affects Versions: 2.2.1
>            Reporter: Aravindan Vijayan
>            Assignee: Aravindan Vijayan
>            Priority: Critical
>             Fix For: 2.2.2
>
>         Attachments: AMBARI-14892-trunk.patch, AMBARI-14892.patch
>
>
> Add a MASTER component called Grafana to AMS service.
> Include install and start/stop script for the grafana server



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

Mime
View raw message