Hi,

When I try to run the package test.org.apache.hadoop.fs.s3native as Junit Test 
is shows the following error:

Class not found 
org.apache.hadoop.fs.s3native.TestInMemoryNativeS3FileSystemContract
java.lang.ClassNotFoundException: 
org.apache.hadoop.fs.s3native.TestInMemoryNativeS3FileSystemContract
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClass(RemoteTestRunner.java:693)
    at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClasses(RemoteTestRunner.java:429)
    at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:452)
    at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
    at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
    at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)



Can you please suggest what might have gone wrong.

Thanks,
Nikhil

From: Agarwal, Nikhil
Sent: Monday, March 18, 2013 5:16 PM
To: '[email protected]'
Subject: RE: using 
test.org.apache.hadoop.fs.s3native.InMemoryNativeFileSystemStore class in hadoop

Hi,


Thanks for the quick reply. In order to test the class 
TestInMemoryNativeS3FileSystemContract and its functions what should be the 
value of parameter sin my configuration files (core-site, mapred, etc.)?



Regards,

Nikhil

From: Agarwal, Nikhil
Sent: Monday, March 18, 2013 1:55 PM
To: '[email protected]'
Subject: using test.org.apache.hadoop.fs.s3native.InMemoryNativeFileSystemStore 
class in hadoop

Hi All,

I am pretty new to Hadoop. I noticed that there are many test classes in hadoop 
source code under the packages test. org.apache.hadoop. Can anyone explain me 
or provide some pointers to understand what is the purpose of this and how to 
use them. In particular I wanted to use InMemoryNativeFileSystemStore and see 
how it works.


The comments in this class say "A stub implementation of {@link 
NativeFileSystemStore} for testing NativeS3FileSystem without actually 
connecting to S3." But I do not understand exactly what does it mean and how to 
use it.


Thanks a lot in advance.

Regards,
Nikhil

<<inline: image001.gif>>

Reply via email to