accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1244) commons-io version conflict with CDH4
Date Tue, 26 Nov 2013 15:18:53 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13832655#comment-13832655
] 

ASF subversion and git services commented on ACCUMULO-1244:
-----------------------------------------------------------

Commit 5e3967fa08a36b386cdd0b40a04b5cd7c1e331de in branch refs/heads/1.4.5-SNAPSHOT from [~busbey]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=5e3967f ]

ACCUMULO-1792 Update commons-io dependency for Hadoop2.

Based on the discussion around ACCUMULO-1244, we can update to 2.1 while not marking commons-io
as provided to eliminated classpath issues on hadoop 2 and bring a copy in lib/ for hadoop
0.20.

Signed-off-by: Eric Newton <eric.newton@gmail.com>


> commons-io version conflict with CDH4
> -------------------------------------
>
>                 Key: ACCUMULO-1244
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1244
>             Project: Accumulo
>          Issue Type: Bug
>         Environment: Hadoop version 2.0.0-CDH4.2.0
>            Reporter: Adam Fuchs
>            Assignee: Christopher Tubbs
>             Fix For: 1.5.0
>
>
> CDH4 appears to rely on commons-io version 2.0 or greater. Accumulo currently packages
in version 1.4. We should bump this up to achieve compatibility.
> Workaround: put the hadoop dependency libraries before the accumulo dependency libraries
in the general.classpaths variable in accumulo-site.xml.
> {code}
> 2013-04-04 22:27:13,868 [tabletserver.Tablet] ERROR: Unknown error during minor compaction
for extent: !0;~;!0<
> java.lang.RuntimeException: java.lang.NoSuchMethodError: org.apache.commons.io.IOUtils.closeQuietly(Ljava/io/Closeable;)V
>   at org.apache.accumulo.server.tabletserver.Tablet.minorCompact(Tablet.java:2152)
>   at org.apache.accumulo.server.tabletserver.Tablet.access$4400(Tablet.java:152)
>   at org.apache.accumulo.server.tabletserver.Tablet$MinorCompactionTask.run(Tablet.java:2219)
>   at org.apache.accumulo.core.util.LoggingRunnable.run(LoggingRunnable.java:34)
>   at org.apache.accumulo.trace.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.trace.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)
> Caused by: java.lang.NoSuchMethodError: org.apache.commons.io.IOUtils.closeQuietly(Ljava/io/Closeable;)V
>   at org.apache.hadoop.hdfs.DFSInputStream.getBlockReader(DFSInputStream.java:941)
>   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:72)
>   at org.apache.accumulo.server.tabletserver.Compactor.call(Compactor.java:317)
>   at org.apache.accumulo.server.tabletserver.MinorCompactor.call(MinorCompactor.java:96)
>   at org.apache.accumulo.server.tabletserver.Tablet.minorCompact(Tablet.java:2138)
>   ... 9 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message