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 E6595D504 for ; Wed, 29 Aug 2012 15:42:35 +0000 (UTC) Received: (qmail 22063 invoked by uid 500); 29 Aug 2012 15:42:30 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 21763 invoked by uid 500); 29 Aug 2012 15:42:30 -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 Received: (qmail 21755 invoked by uid 99); 29 Aug 2012 15:42:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2012 15:42:30 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [98.138.91.141] (HELO nm11-vm3.bullet.mail.ne1.yahoo.com) (98.138.91.141) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 29 Aug 2012 15:42:23 +0000 Received: from [98.138.90.51] by nm11.bullet.mail.ne1.yahoo.com with NNFMP; 29 Aug 2012 15:42:01 -0000 Received: from [98.138.226.58] by tm4.bullet.mail.ne1.yahoo.com with NNFMP; 29 Aug 2012 15:42:01 -0000 Received: from [127.0.0.1] by smtp209.mail.ne1.yahoo.com with NNFMP; 29 Aug 2012 15:42:01 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1346254921; bh=j+iOHipa1bCIw6kHQT/x2uM0bbBLnrgaPFODwMmz3P4=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; b=mTjv5xKKjcahOtUJ1MN+idgilXcXx4FfGZ3KTXRXts121hq06nKdF1hW6e23ExsJvZ7ENL9sXNqzhhXAJp2RC+42rVuWy9+IR3y5iM+Tj4LZiSW1KJP+JeBpeXWPSh9SXo31FPz3ufMbXgL5hn/iOZpx9eUAsuxTQ2Wdz3NAyMQ= X-Yahoo-Newman-Id: 782033.24820.bm@smtp209.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: rOI1Ty8VM1lD9HO998Sht79gpsSO1LHJ7ftnjZ2Z0gQto0E jslcg5bvc41wQMkenZzpuWDxQw2Sy6isxBCG_FDd2crQxn5Tz2SKAqxDoh1M iR5zEgSxGnDExT9jW_8jcESHJyNn.Gcz9Uhz6b_2c2Fv2stnSc.osjOVbdQu bo6.0nDWjVHzh4cUeugfkSKjHiRM3uuDhMU8eoT6TIjRwx.Zgc5nIqqLTZ60 zbwKYdLrMhI16W7hdEsLFqOt5gKyykA3JdPi1c6OSdNIWKJU4I.O7jQomX6Q HSLNImAMHlANz8JPS2tp.asmD1jilVGHwfCgfYCKf_ih50twrBZ8T1.9iCfe ZLnyXtefs7V41LrWWvyx2Sbgf4T8uyVQc4LEfaEgP6xTsqYzFgriIxTvxQQd q6uyzJpajuoQ40rd5TqafMoC9MUkFNyz0ilYjauKJCpSxZsO_1s962YHgaUf sDkLRWpVVdDlyi81UQVeThBYkNMBgv1V8xIHvNEQBLTccewaVQcqk8t_p8ei _zAjeE_DhfVIHEc5dbWHEKp0OMDn3rzD.eYzOV6tW6mjfSBlhAvRKSIsNwNR TQDh5l0jPZC.5VwetRfc7nWCT X-Yahoo-SMTP: g264CHKswBAGbo2mi1d8yCRAYgx53U8pzfSzkQ-- Received: from [192.168.1.115] (chris_j_collins@76.126.249.112 with plain) by smtp209.mail.ne1.yahoo.com with SMTP; 29 Aug 2012 08:42:01 -0700 PDT Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) Subject: Re: example usage of s3 file system From: Chris Collins In-Reply-To: Date: Wed, 29 Aug 2012 08:44:08 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <66658CFB-950B-48C2-9648-A8C9FECAA90D@yahoo.com> References: <257DBE47-8581-4FCE-886B-F010DBB45BCB@yahoo.com> To: user@hadoop.apache.org X-Mailer: Apple Mail (2.1486) No problem. Didnt get anything from the issues email alias. Seems that = also the url that Haavard pointed to probably also needs to say what = jets3t jar file to include. People probably have a tendency to want to = use the latest version (which is 9) where you seem to have to use 7.x to = get hadoop not to give a method invocation exception. I am guessing it = cant be that important though cause for the life of me I cant understand = how it ever worked for native (well at least doing a mkdir). C On Aug 29, 2012, at 5:48 AM, Harsh J wrote: > Many thanks for taking this upstream with a fix Chris! >=20 > On Wed, Aug 29, 2012 at 12:51 PM, Chris Collins > wrote: >> Thanks Haavard, I am aware of that page but I am not sure why you are = pointing me to it. This really looks like a bug where = Jets3tNativeFileSystemStore is parsing a response from jets3t. its = looking for ResponseCode=3D404 but actually getting ResponseCode: 404. = I dont see how it ever worked looking back through the versions of = release code. >>=20 >> I took a copy of the s3native package and made a fix and seems to get = around the issue. >>=20 >> I have reported it to the issues email alias, I will see if there is = actually any interest in this problem. >>=20 >> Cheers >>=20 >> C >> On Aug 29, 2012, at 12:11 AM, H=E5vard Wahl Kongsg=E5rd = wrote: >>=20 >>> see also >>>=20 >>> http://wiki.apache.org/hadoop/AmazonS3 >>>=20 >>> On Tue, Aug 28, 2012 at 9:14 AM, Chris Collins >>> wrote: >>>> Hi I am trying to use the Hadoop filesystem abstraction with S3 but = in my tinkering I am not having a great deal of success. I am = particularly interested in the ability to mimic a directory structure = (since s3 native doesnt do it). >>>>=20 >>>> Can anyone point me to some good example usage of Hadoop FileSystem = with s3? >>>>=20 >>>> I created a few directories using transit and AWS S3 console for = test. Doing a liststatus of the bucket returns a FileStatus object of = the directory created but if I try to do a liststatus of that path I am = getting a 404: >>>>=20 >>>> org.apache.hadoop.fs.s3.S3Exception: = org.jets3t.service.S3ServiceException: Request Error. HEAD '/aaaa' on = Host .... >>>>=20 >>>> Probably not the best list to look for help, any clues appreciated. >>>>=20 >>>> C >>>=20 >>>=20 >>>=20 >>> -- >>> H=E5vard Wahl Kongsg=E5rd >>> Faculty of Medicine & >>> Department of Mathematical Sciences >>> NTNU >>>=20 >>> http://havard.security-review.net/ >>=20 >=20 >=20 >=20 > --=20 > Harsh J