Home | About | Sematext search-lucene.com search-hadoop.com
 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?
Keith Turner 2012-11-01, 16:48
On Thu, Nov 1, 2012 at 12:42 PM, John Vines <[EMAIL PROTECTED]> wrote:
> Negative. The notable things are these are transient errors. That logger
> issue, everything else was logging fine and suddently it hit a speedbump.
> I've had it occur with the monitor servlet as well, so it's not tied to any
> specific class. And the fact that's it's hitting on the $access methods
> makes it even odder.

Are you running Accumulo out of your dev dir?  When I run out of dev
dir and rebuild while Accumulo is running I will see odd issues like
this.

>
>
> On Thu, Nov 1, 2012 at 12:39 PM, William Slacum <
> [EMAIL PROTECTED]> wrote:
>
>> 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)