Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E63B9F063 for ; Wed, 20 Mar 2013 10:22:19 +0000 (UTC) Received: (qmail 96058 invoked by uid 500); 20 Mar 2013 10:22:14 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 95912 invoked by uid 500); 20 Mar 2013 10:22:13 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Delivered-To: moderator for user@hadoop.apache.org Received: (qmail 54947 invoked by uid 99); 20 Mar 2013 09:40:58 -0000 X-ASF-Spam-Status: No, hits=-2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Nikhil.Agarwal@netapp.com designates 216.240.18.77 as permitted sender) X-IronPort-AV: E=Sophos;i="4.84,876,1355126400"; d="gif'147?scan'147,208,217,147";a="32277772" From: "Agarwal, Nikhil" To: "user@hadoop.apache.org" Subject: RE: using test.org.apache.hadoop.fs.s3native.InMemoryNativeFileSystemStore class in hadoop Thread-Topic: using test.org.apache.hadoop.fs.s3native.InMemoryNativeFileSystemStore class in hadoop Thread-Index: Ac4jsWBOyLE412z+T82cWmyh+5+mGwAHIvwgAGAkUaA= Date: Wed, 20 Mar 2013 09:40:27 +0000 Message-ID: <7B0D51053A50034199FF706B2513104F09C32B00@SACEXCMBX01-PRD.hq.netapp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [10.106.53.53] Content-Type: multipart/related; boundary="_004_7B0D51053A50034199FF706B2513104F09C32B00SACEXCMBX01PRDh_"; type="multipart/alternative" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_004_7B0D51053A50034199FF706B2513104F09C32B00SACEXCMBX01PRDh_ Content-Type: multipart/alternative; boundary="_000_7B0D51053A50034199FF706B2513104F09C32B00SACEXCMBX01PRDh_" --_000_7B0D51053A50034199FF706B2513104F09C32B00SACEXCMBX01PRDh_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, When I try to run the package test.org.apache.hadoop.fs.s3native as Junit T= est is shows the following error: Class not found org.apache.hadoop.fs.s3native.TestInMemoryNativeS3FileSyste= mContract java.lang.ClassNotFoundException: org.apache.hadoop.fs.s3native.TestInMemor= yNativeS3FileSystemContract 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(Rem= oteTestRunner.java:693) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClasses(R= emoteTestRunner.java:429) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remo= teTestRunner.java:452) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remo= teTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTes= tRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTe= stRunner.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: 'user@hadoop.apache.org' Subject: RE: using test.org.apache.hadoop.fs.s3native.InMemoryNativeFileSys= temStore class in hadoop Hi, Thanks for the quick reply. In order to test the class TestInMemoryNativeS3= FileSystemContract 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: 'user@hadoop.apache.org' Subject: using test.org.apache.hadoop.fs.s3native.InMemoryNativeFileSystemS= tore class in hadoop Hi All, I am pretty new to Hadoop. I noticed that there are many test classes in ha= doop source code under the packages test. org.apache.hadoop. Can anyone exp= lain me or provide some pointers to understand what is the purpose of this = and how to use them. In particular I wanted to use InMemoryNativeFileSystem= Store and see how it works. The comments in this class say "A stub implementation of {@link NativeFileS= ystemStore} for testing NativeS3FileSystem without actually connecting to S= 3." But I do not understand exactly what does it mean and how to use it. Thanks a lot in advance. Regards, Nikhil --_000_7B0D51053A50034199FF706B2513104F09C32B00SACEXCMBX01PRDh_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,<= /p>

 

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

 

Class not = found org.apache.hadoop.fs.s3native.TestInMemoryNativeS3FileSystemContract<= /span>
java.lang.ClassNotFoundException: org.apac= he.hadoop.fs.s3native.TestInMemoryNativeS3FileSystemContract
    at java.net.URLClassLoa= der$1.run(URLClassLoader.java:217)
    at java.security.Access= Controller.doPrivileged(Native Method)
    at java.net.URLClassLoa= der.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoade= r.loadClass(ClassLoader.java:321)
    at sun.misc.Launcher$Ap= pClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoade= r.loadClass(ClassLoader.java:266)
    at org.eclipse.jdt.inte= rnal.junit.runner.RemoteTestRunner.loadClass(RemoteTestRunner.java:693)
    at org.eclipse.jdt.inte= rnal.junit.runner.RemoteTestRunner.loadClasses(RemoteTestRunner.java:429)
    at org.eclipse.jdt.inte= rnal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:452)
    at org.eclipse.jdt.inte= rnal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
    at org.eclipse.jdt.inte= rnal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)     at org.eclipse.jdt.inte= rnal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

3D"https://mail.google==

 

 

Can you please suggest= what might have gone wrong.

 

Thanks,

Nikhil

 

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.InMemoryNative= FileSystemStore class in hadoop

 

Hi,<= /p>

 

Thanks for the quick reply. In or=
der to test the class TestInMemoryNative=
S3FileSystemContract and its functions what should be the value of paramete=
r sin my configuration files (core-site, mapred, etc.)?
 
Regards,
Nikhil

 

From: Agarwal,= Nikhil
Sent: Monday, March 18, 2013 1:55 PM
To: 'user@hadoop.apache.org'
Subject: using test.org.apache.hadoop.fs.s3native.InMemoryNativeFile= SystemStore 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 c= lass 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 advanc= e.

 

Regards,

Nikhil

 

--_000_7B0D51053A50034199FF706B2513104F09C32B00SACEXCMBX01PRDh_-- --_004_7B0D51053A50034199FF706B2513104F09C32B00SACEXCMBX01PRDh_ Content-Type: image/gif; name="image001.gif" Content-Description: image001.gif Content-Disposition: inline; filename="image001.gif"; size=43; creation-date="Wed, 20 Mar 2013 09:40:25 GMT"; modification-date="Wed, 20 Mar 2013 09:40:25 GMT" Content-ID: Content-Transfer-Encoding: base64 R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw== --_004_7B0D51053A50034199FF706B2513104F09C32B00SACEXCMBX01PRDh_--