hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Agarwal, Nikhil" <Nikhil.Agar...@netapp.com>
Subject RE: using test.org.apache.hadoop.fs.s3native.InMemoryNativeFileSystemStore class in hadoop
Date Wed, 20 Mar 2013 09:40:27 GMT

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.


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


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



From: Agarwal, Nikhil
Sent: Monday, March 18, 2013 1:55 PM
To: 'user@hadoop.apache.org'
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.


View raw message