Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Accumulo >> mail # user >> java.lang.NoSuchMethodError: org.apache.commons.io.IOUtils.closeQuietly


+
Newman, Elise 2013-04-10, 17:10
Copy link to this message
-
Re: java.lang.NoSuchMethodError: org.apache.commons.io.IOUtils.closeQuietly
Elise,

Looks like you're missing a commons-io dependency. Can you check lib and
lib/ext and report if you have a commons-io-*.jar present?

On 4/10/13 1:10 PM, Newman, Elise wrote:
>
> I'm able to initialize and start Accumulo without any noticeable
> issues. Everything looks okay for a while, except the warnings about
> system swappiness being improperly set.
>
> After about ten minutes I see the following in my tserver_*.debug.logs:
>
> 2013-04-10 09:09:42,825 [tabletserver.TabletServer] WARN : exception
> while scanning tablet !0;!0<<
>
> java.lang.NoSuchMethodError:
> org.apache.commons.io.IOUtils.closeQuietly(Ljava/io/Closeable;)V
>
> at
> org.apache.hadoop.hdfs.DFSInputStream.getBlockReader(DFSInputStream.java:986)
>
> at
> org.apache.hadoop.hdfs.DFSInputStream.blockSeekTo(DFSInputStream.java:471)
>
> at
> org.apache.hadoop.hdfs.DFSInputStream.readWithStrategy(DFSInputStream.java:662)
>
> at org.apache.hadoop.hdfs.DFSInputStream.read(DFSInputStream.java:706)
>
> at java.io.DataInputStream.read(DataInputStream.java:132)
>
> at java.io.DataInputStream.readFully(DataInputStream.java:178)
>
> at java.io.DataInputStream.readLong(DataInputStream.java:399)
>
> at
> org.apache.accumulo.core.file.rfile.bcfile.BCFile$Reader.<init>(BCFile.java:608)
>
> at
> org.apache.accumulo.core.file.blockfile.impl.CachableBlockFile$Reader.init(CachableBlockFile.java:246)
>
> at
> org.apache.accumulo.core.file.blockfile.impl.CachableBlockFile$Reader.getBCFile(CachableBlockFile.java:257)
>
> at
> org.apache.accumulo.core.file.blockfile.impl.CachableBlockFile$Reader.access$000(CachableBlockFile.java:143)
>
> at
> org.apache.accumulo.core.file.blockfile.impl.CachableBlockFile$Reader$MetaBlockLoader.get(CachableBlockFile.java:212)
>
> at
> org.apache.accumulo.core.file.blockfile.impl.CachableBlockFile$Reader.getBlock(CachableBlockFile.java:313)
>
> at
> org.apache.accumulo.core.file.blockfile.impl.CachableBlockFile$Reader.getMetaBlock(CachableBlockFile.java:367)
>
> at
> org.apache.accumulo.core.file.blockfile.impl.CachableBlockFile$Reader.getMetaBlock(CachableBlockFile.java:143)
>
> at org.apache.accumulo.core.file.rfile.RFile$Reader.<init>(RFile.java:834)
>
> at
> org.apache.accumulo.core.file.rfile.RFileOperations.openReader(RFileOperations.java:79)
>
> at
> org.apache.accumulo.core.file.DispatchingFileFactory.openReader(FileOperations.java:120)
>
> at
> org.apache.accumulo.server.tabletserver.FileManager.reserveReaders(FileManager.java:308)
>
> at
> org.apache.accumulo.server.tabletserver.FileManager.access$500(FileManager.java:55)
>
> at
> org.apache.accumulo.server.tabletserver.FileManager$ScanFileManager.openFiles(FileManager.java:465)
>
> at
> org.apache.accumulo.server.tabletserver.FileManager$ScanFileManager.openFiles(FileManager.java:473)
>
> at
> org.apache.accumulo.server.tabletserver.Tablet$ScanDataSource.createIterator(Tablet.java:2056)
>
> at
> org.apache.accumulo.server.tabletserver.Tablet$ScanDataSource.iterator(Tablet.java:2018)
>
> at
> org.apache.accumulo.core.iterators.system.SourceSwitchingIterator.seek(SourceSwitchingIterator.java:163)
>
> at
> org.apache.accumulo.server.tabletserver.Tablet.nextBatch(Tablet.java:1735)
>
> at
> org.apache.accumulo.server.tabletserver.Tablet.access$3200(Tablet.java:152)
>
> at
> org.apache.accumulo.server.tabletserver.Tablet$Scanner.read(Tablet.java:1875)
>
> at
> org.apache.accumulo.server.tabletserver.TabletServer$ThriftClientHandler$NextBatchTask.run(TabletServer.java:943)
>
> at
> org.apache.accumulo.server.tabletserver.TabletServerResourceManager.executeReadAhead(TabletServerResourceManager.java:723)
>
> at
> org.apache.accumulo.server.tabletserver.TabletServer$ThriftClientHandler.continueScan(TabletServer.java:1181)
>
> at
> org.apache.accumulo.server.tabletserver.TabletServer$ThriftClientHandler.startScan(TabletServer.java:1150)
>
> at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
+
Newman, Elise 2013-04-10, 17:17
+
Josh Elser 2013-04-10, 17:22
+
Newman, Elise 2013-04-10, 17:27