You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Aravindan Vijayan (JIRA)" <ji...@apache.org> on 2016/07/13 18:07:20 UTC

[jira] [Commented] (AMBARI-17693) Ambari Metrics service fails to start

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

Aravindan Vijayan commented on AMBARI-17693:
--------------------------------------------

Issue
Redundant google-collections and guava jar added through pom.xml

Fix
Remove google-collections dependency that was added through AMBARI-17615. Rebuilt ambari-metrics jar for sanity check without that dependency. 
Replaced jar on failing cluster, and deleted google-collections jar from lib directory. AMS started up and graphs are seen.

> Ambari Metrics service fails to start
> -------------------------------------
>
>                 Key: AMBARI-17693
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17693
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics
>    Affects Versions: 2.4.0
>         Environment: Ubuntu-14
>            Reporter: Aravindan Vijayan
>            Assignee: Aravindan Vijayan
>            Priority: Blocker
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17693.patch
>
>
> The following error is seen in the logs.
> {code}
> 2016-07-13 17:24:41,775 FATAL org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer: Error starting ApplicationHistoryServer
> java.lang.NoSuchMethodError: com.google.common.collect.MapMaker.keyEquivalence(Lcom/google/common/base/Equivalence;)Lcom/google/common/collect/MapMaker;
>         at com.google.common.collect.Interners$WeakInterner.<init>(Interners.java:68)
>         at com.google.common.collect.Interners$WeakInterner.<init>(Interners.java:66)
>         at com.google.common.collect.Interners.newWeakInterner(Interners.java:63)
>         at org.apache.hadoop.util.StringInterner.<clinit>(StringInterner.java:49)
>         at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2634)
>         at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2526)
>         at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2418)
>         at org.apache.hadoop.conf.Configuration.get(Configuration.java:981)
>         at org.apache.hadoop.conf.Configuration.getTrimmed(Configuration.java:1031)
>         at org.apache.hadoop.conf.Configuration.getBoolean(Configuration.java:1432)
>         at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.createTimelineStore(ApplicationHistoryServer.java:156)
>         at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.serviceInit(ApplicationHistoryServer.java:80)
>         at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
>         at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.launchAppHistoryServer(ApplicationHistoryServer.java:137)
>         at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.main(ApplicationHistoryServer.java:147)
> 2016-07-13 17:24:41,778 INFO org.apache.hadoop.util.ExitUtil: Exiting with status -1
> 2016-07-13 17:24:41,794 INFO org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer: SHUTDOWN_MSG:
> {code}



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