ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-14278) On a cluster with both AMS and Storm, stack advisor throws error in validateStormConfigurations after upgrade if the metrics.reporter.register property is not present.
Date Fri, 11 Dec 2015 01:27:11 GMT

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

Hudson commented on AMBARI-14278:
---------------------------------

ABORTED: Integrated in Ambari-trunk-Commit #4010 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4010/])
AMBARI-14278 : On a cluster with both AMS and Storm, stack advisor (swagle: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=13ba48bb6bf78e561285bbfe52bab0bedf36527e])
* ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog213Test.java
* ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py
* ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog213.java
* ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/service_check.py


> On a cluster with both AMS and Storm, stack advisor throws error in validateStormConfigurations
after upgrade if the metrics.reporter.register property is not present.
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-14278
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14278
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics
>    Affects Versions: 2.1.2
>            Reporter: Aravindan Vijayan
>            Assignee: Aravindan Vijayan
>             Fix For: 2.2.0
>
>         Attachments: AMBARI-14278.patch
>
>
> Error trace
> {code}
> Error occured in stack advisor.
> Error details: argument of type 'NoneType' is not iterable
> 08 Dec 2015 02:46:51,713  INFO [qtp-ambari-client-23] StackAdvisorRunner:71 -     advisor
script stderr: Traceback (most recent call last):
>   File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 158, in <module>
>     main(sys.argv)
>   File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 115, in main
>     result = stackAdvisor.validateConfigurations(services, hosts)
>   File "/var/lib/ambari-server/resources/scripts/../stacks/stack_advisor.py", line 463,
in validateConfigurations
>     validationItems = self.getConfigurationsValidationItems(services, hosts)
>   File "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.0.6/services/stack_advisor.py",
line 754, in getConfigurationsValidationItems
>     resultItems = method(siteProperties, siteRecommendations, configurations, services,
hosts)
>   File "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.0.6/services/stack_advisor.py",
line 912, in validateStormConfigurations
>     "org.apache.hadoop.metrics2.sink.storm.StormTimelineMetricsReporter" not in properties.get("metrics.reporter.register"):
> TypeError: argument of type 'NoneType' is not iterable
> 08 Dec 2015 02:46:51,713  WARN [qtp-ambari-client-23] AbstractResourceProvider:90 - Error
occurred during validation
> org.apache.ambari.server.api.services.stackadvisor.StackAdvisorException: Stack Advisor
reported an error: TypeError: argument of type 'NoneType' is not iterable
> StdOut file: /var/run/ambari-server/stack-recommendations/61/stackadvisor.out
> {code}
> Fix
> Added a check for the presence of the property.



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

Mime
View raw message