accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Elser <josh.el...@gmail.com>
Subject Re: Is anyone else seeing an NoSuchMethodError for DistributedFileSystem?
Date Sun, 10 Nov 2013 05:34:27 GMT
Ok: 1.7.0-SNAPSHOT

Yes. That also happens to me. FWIW, you're also not invoking the command 
you should be.

`mvn package -Dhadoop.profile=1.2 -Dhadoop.version=1.0.4 -Passemble`

There are some differences in dependencies between hadoop 1 and 2 that 
the hadoop.profile=1.2 will sort out for you.

Regardless -- sounds like a ticket is in order. Also need to check if 
this happens in 1.6.0.

On 11/10/13, 12:13 AM, David Medinets wrote:
> git clone https://github.com/apache/accumulo.git
>
>
> On Sun, Nov 10, 2013 at 12:11 AM, Josh Elser <josh.elser@gmail.com> wrote:
>
>> Version/Revision?
>>
>>
>> On 11/10/13, 12:04 AM, David Medinets wrote:
>>
>>> I'm trying to compile the snapshot with "mvn -Dhadoop.version=1.0.4
>>> package
>>> -P assemble"
>>>
>>> testFileMonitor(org.apache.accumulo.start.classloader.vfs.providers.
>>> VfsClassLoaderTest)
>>> Time elapsed: 0.005 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)
>>>       at
>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
>>> DelegatingConstructorAccessorImpl.java:45)
>>>       at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
>>>       at
>>> org.junit.runners.BlockJUnit4ClassRunner.createTest(
>>> BlockJUnit4ClassRunner.java:195)
>>>
>>>
>

Mime
View raw message