Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo >> mail # dev >> Random NoSuchMethodException - any ideas?


Copy link to this message
-
Re: Random NoSuchMethodException - any ideas?
Sounds like there's no such method on the Logger implementation you got :P

Do you have two version of Logger sitting around-- ie, either two versions
of the log4j or a shaded jar that contains an old version of log4j?

On Thu, Nov 1, 2012 at 9:17 AM, John Vines <[EMAIL PROTECTED]> wrote:

> Not an Accumulo specific error, but it's something I'm bumping into a lot
> and I'm wondering if anyone has any knowledge on this. I'm seeing
> semi-random NoSuchMethodExceptions occuring where there should be no
> issues. Example-
>
> 2012-11-01 11:42:01,838 [fate.Fate] ERROR: Thread "Repo runner 3" died
>
> org.apache.accumulo.server.master.state.tables.TableManager.access$100()Lorg/apache/log4j/Logger;
> java.lang.NoSuchMethodError:
>
> org.apache.accumulo.server.master.state.tables.TableManager.access$100()Lorg/apache/log4j/Logger;
>         at
>
> org.apache.accumulo.server.master.state.tables.TableManager$1.mutate(TableManager.java:141)
>         at
>
> org.apache.accumulo.fate.zookeeper.ZooReaderWriter.mutate(ZooReaderWriter.java:136)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
>
> org.apache.accumulo.server.zookeeper.ZooReaderWriter$1.invoke(ZooReaderWriter.java:67)
>         at $Proxy2.mutate(Unknown Source)
>         at
>
> org.apache.accumulo.server.master.state.tables.TableManager.transitionTableState(TableManager.java:115)
>         at
>
> org.apache.accumulo.server.master.tableOps.FinishCreateTable.call(CreateTable.java:83)
>         at
>
> org.apache.accumulo.server.master.tableOps.FinishCreateTable.call(CreateTable.java:66)
>         at
>
> org.apache.accumulo.server.master.tableOps.TraceRepo.call(TraceRepo.java:65)
>         at
> org.apache.accumulo.fate.Fate$TransactionRunner.run(Fate.java:64)
>         at
> org.apache.accumulo.fate.util.LoggingRunnable.run(LoggingRunnable.java:34)
>         at java.lang.Thread.run(Thread.java:662)
>
>
> and
>
> Thread "tablet migration 1" died
>
> org.apache.accumulo.server.tabletserver.TabletServer.access$1400(Lorg/apache/accumulo/server/tabletserver/TabletServer;)Ljava/util/SortedSet;
>         java.lang.NoSuchMethodError:
>
> org.apache.accumulo.server.tabletserver.TabletServer.access$1400(Lorg/apache/accumulo/server/tabletserver/TabletServer;)Ljava/util/SortedSet;
>                 at
> org.apache.accumulo.server.tabletserver.TabletServer$UnloadTabletHandler.run(TabletServer.java:2278)
>                 at
> org.apache.accumulo.core.util.LoggingRunnable.run(LoggingRunnable.java:34)
>                 at
> org.apache.accumulo.cloudtrace.instrument.TraceRunnable.run(TraceRunnable.java:47)
>                 at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>                 at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>                 at
> org.apache.accumulo.cloudtrace.instrument.TraceRunnable.run(TraceRunnable.java:47)
>                 at
> org.apache.accumulo.core.util.LoggingRunnable.run(LoggingRunnable.java:34)
>                 at java.lang.Thread.run(Thread.java:662)
>
> This is with Oracle java 1.6.0_33. Anyone encountered this type of thing
> before?
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB