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

David Medinets commented on ACCUMULO-1874:
------------------------------------------

I am using brand-new VirtualBox VMs for the compilation using my 
https://github.com/medined/Accumulo_Snapshot_By_Vagrant project so the 
experiment is repeatable. The HADOOP_1_0_4 branch displays the 
NoSuchMethodError behavior.

I did update the configuration scripts to use Hadoop 1.2.1 to see if that 
causes a behavior change. It did. The NoSuchMethodError does not persist. But 
compilation now says "could not find artifact 
org.apache.accumulo:accumulo-native:tar.gz:1.7.0-SNAPSHOT in apache.snapshots". 
I'll make another JIRA ticket for this.

The Vagrant boxes are provisioned by shell scripts so they are easy to 
understand. They install Accumulo to the 
/home/vagrant/accumulo_home/software/accumulo-1.7.0 directory. 

> 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)

Reply via email to