accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billie Rinaldi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1874) NoSuchMethodError when compiling 1.7.0 Snapshot
Date Sun, 10 Nov 2013 15:05:17 GMT

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

Billie Rinaldi commented on ACCUMULO-1874:
------------------------------------------

[~medined], I believe this error happened because "clean" was not included in your command,
i.e. "mvn clean package ...".  However, another error occurs when trying to compile against
a hadoop version earlier than 1.2, because examples.simple.mapreduce.TokenWordFileCount  was
recently switched from "new Job" (which is deprecated in 1.2) to "Job.getInstance".  Presumably
we should keep the deprecated usage to allow building against more versions of hadoop?

> NoSuchMethodError when compiling 1.7.0 Snapshot
> -----------------------------------------------
>
>                 Key: ACCUMULO-1874
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1874
>             Project: Accumulo
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.7.0
>         Environment: Ubuntu 12.04 inside a virtualbox.
>            Reporter: David Medinets
>            Assignee: Billie Rinaldi
>
> Using 'git clone https://github.com/apache/accumulo.git' I ran this command:
> mvn package -Dhadoop.profile=1.2 -Dhadoop.version=1.0.4 -Passemble
> I see this error:
> testFileMonitor(org.apache.accumulo.start.classloader.vfs.providers.VfsClassLoaderTest)
 Time elapsed: 0.004 sec  <<< ERROR!
> java.lang.NoSuchMethodError: org.apache.hadoop.hdfs.MiniDFSCluster.getFileSystem()Lorg/apache/hadoop/hdfs/DistributedFileSystem;
> 	at org.apache.accumulo.test.AccumuloDFSBase.<clinit>(AccumuloDFSBase.java:71)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)



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

Mime
View raw message