You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Klaus Pittig (JIRA)" <ji...@apache.org> on 2015/10/19 15:44:05 UTC

[jira] [Issue Comment Deleted] (AMQ-5105) leveldb fails to startup because of NoSuchMethodError

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

Klaus Pittig updated AMQ-5105:
------------------------------
    Comment: was deleted

(was: https://gist.github.com/gburd/b88aee6da7fee81dc036

{quote}
LevelDB can become corrupted when bad things happen on the filesystem or in hardware. We push the I/O to the limits on heavily loaded Riak nodes so it is not uncommon to experience such failures. This one exhibits as a message Compaction error: Corruption: corrupted compressed block contents in the [data_root]/leveldb/[vnode]/LOG file.
{quote}
)

> leveldb fails to startup because of NoSuchMethodError
> -----------------------------------------------------
>
>                 Key: AMQ-5105
>                 URL: https://issues.apache.org/jira/browse/AMQ-5105
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: activemq-leveldb-store
>    Affects Versions: 5.10.0
>         Environment: Any
>            Reporter: Netlancer
>            Assignee: Dejan Bosanac
>            Priority: Minor
>             Fix For: 5.11.0
>
>
> leveldb persistence fails to start due to errors as given below 
>  Caused by: java.lang.NoSuchMethodError: com.google.common.base.Objects.firstNonNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
>         at com.google.common.cache.CacheBuilder.getKeyStrength(CacheBuilder.java:530)
>         at com.google.common.cache.LocalCache.<init>(LocalCache.java:238)
>         at com.google.common.cache.LocalCache$LocalLoadingCache.<init>(LocalCache.java:4861)
>         at com.google.common.cache.CacheBuilder.build(CacheBuilder.java:803)
>         at org.iq80.leveldb.impl.TableCache.<init>(TableCache.java:46)
>         at org.iq80.leveldb.impl.DbImpl.<init>(DbImpl.java:155)
>         at org.iq80.leveldb.impl.Iq80DBFactory.open(Iq80DBFactory.java:59)
>         at org.apache.activemq.leveldb.LevelDBClient$$anonfun$replay_init$2.apply$mcV$sp(LevelDBClient.scala:661)
>         at org.apache.activemq.leveldb.LevelDBClient$$anonfun$replay_init$2.apply(LevelDBClient.scala:657)
>         at org.apache.activemq.leveldb.LevelDBClient$$anonfun$replay_init$2.apply(LevelDBClient.scala:657)
>         at org.apache.activemq.leveldb.LevelDBClient.might_fail(LevelDBClient.scala:549)
> The problem seems to be because of multiple jars having the same classes
> guava-12.jar
> pax-url-aether-1.5.2.jar
> The class present in pax-url-aether-1.5.2.jar gets loaded causing level db to fail.



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