You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Jonathan Hurley (JIRA)" <ji...@apache.org> on 2016/06/01 20:36:59 UTC

[jira] [Reopened] (AMBARI-16821) Improve TimelineMetricsCache eviction/flush logic using a cache library

     [ https://issues.apache.org/jira/browse/AMBARI-16821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Hurley reopened AMBARI-16821:
--------------------------------------

Re-opening due to 

{code}
2016-06-01 18:23:52,664 INFO - ******************************* Check database started *******************************
2016-06-01 18:23:56,229 ERROR - Unexpected error, database check failed
java.lang.NoSuchMethodError: com.google.common.collect.Sets.newConcurrentHashSet()Ljava/util/Set;
at org.apache.ambari.server.state.services.MetricsRetrievalService.<init>(MetricsRetrievalService.java:138)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:374)
at org.apache.ambari.server.controller.ControllerModule.bindByAnnotation(ControllerModule.java:544)
at org.apache.ambari.server.controller.ControllerModule.configure(ControllerModule.java:374)
at org.apache.ambari.server.checks.DatabaseConsistencyChecker$CheckHelperControllerModule.configure(DatabaseConsistencyChecker.java:66)
at com.google.inject.AbstractModule.configure(AbstractModule.java:59)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
at com.google.inject.spi.Elements.getElements(Elements.java:101)
at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:133)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:103)
at com.google.inject.Guice.createInjector(Guice.java:95)
at com.google.inject.Guice.createInjector(Guice.java:72)
at com.google.inject.Guice.createInjector(Guice.java:62)
at org.apache.ambari.server.checks.DatabaseConsistencyChecker.main(DatabaseConsistencyChecker.java:102)
{code}

{code}
commit 8d30f1a4d1da10225f66ecc02f757b4db904c5c0 (HEAD -> trunk, origin/trunk, origin/HEAD)
Author: Jonathan Hurley <jh...@hortonworks.com>
Date:   Wed Jun 1 16:31:26 2016 -0400

    Revert "AMBARI-16821 Improve TimelineMetricsCache eviction/flush logic using a cache library  (dsen)"

    This reverts commit bef695d3fc44528d94a0fa60a3f1b6c5db51f02d.
{code}

{code}
commit 12b1a0c803335ec60ca5fce51cd31ea8478be795 (HEAD -> branch-2.4, origin/branch-2.4)
Author: Jonathan Hurley <jh...@hortonworks.com>
Date:   Wed Jun 1 16:34:05 2016 -0400

    Revert "AMBARI-16821 Improve TimelineMetricsCache eviction/flush logic using a cache library (dsen)"

    This reverts commit ecaef41426ff67811ac4b2f5c618fb651286d160.
{code}

> Improve TimelineMetricsCache eviction/flush logic using a cache library
> -----------------------------------------------------------------------
>
>                 Key: AMBARI-16821
>                 URL: https://issues.apache.org/jira/browse/AMBARI-16821
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics
>    Affects Versions: 2.2.2
>            Reporter: Dmytro Sen
>            Assignee: Dmytro Sen
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-16821_1.patch, AMBARI-16821_2.patch, AMBARI-16821_3-trunk.patch, AMBARI-16821_4-trunk.patch, BUG-55307.patch
>
>
> The TimelineMetricsCache implementation in the metrics sink side is currently a ConcurrentSkipListMap. It is better to use pre built cache libraries like Guava that offer more support.



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