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 # user >> java.lang.NoSuchMethodError: org.apache.commons.io.IOUtils.closeQuietly


Copy link to this message
-
Re: java.lang.NoSuchMethodError: org.apache.commons.io.IOUtils.closeQuietly
See https://issues.apache.org/jira/browse/ACCUMULO-1244

Specifically Adam's description for the ticket for a workaround.

On 4/10/13 1:17 PM, Newman, Elise wrote:
>
> commons/lib contains commons-io-1.4.jar
>
> *From:*Josh Elser [mailto:[EMAIL PROTECTED]]
> *Sent:* Wednesday, April 10, 2013 10:15 AM
> *To:* [EMAIL PROTECTED]
> *Subject:* 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)
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