Return-Path: Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: (qmail 85171 invoked from network); 30 Sep 2009 03:31:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Sep 2009 03:31:02 -0000 Received: (qmail 16999 invoked by uid 500); 30 Sep 2009 03:30:59 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 16844 invoked by uid 500); 30 Sep 2009 03:30:59 -0000 Mailing-List: contact common-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-user@hadoop.apache.org Delivered-To: mailing list common-user@hadoop.apache.org Received: (qmail 16834 invoked by uid 99); 30 Sep 2009 03:30:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2009 03:30:59 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of edlinuxguru@gmail.com designates 209.85.220.222 as permitted sender) Received: from [209.85.220.222] (HELO mail-fx0-f222.google.com) (209.85.220.222) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2009 03:30:49 +0000 Received: by fxm22 with SMTP id 22so1505476fxm.36 for ; Tue, 29 Sep 2009 20:30:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=pkf/dWrXIA8rNOmqp621zgOjnE0YZUXfZmXafGk05MQ=; b=BA7B+miM+/r1MwlYTeW+8TMjmbnw5C+pqpxiCaddaJ3VZovLhqhMvWB/AyXqaQd5c1 keQKY/AdjGNJnHiBaTkx2HnnxX4RN4s5pivQEBBuyr7Qp0nF0Y2isu+SjkdCVLhbnRSE euGhGolLSEUITk9AUz1mVHXE96QkJGxjFAQdA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=uZGjqzfgKYi4DJzTEA6m31Qa44nWLEJWa55wZ9G1H/GwDblY05ZlotoN3YK1MaGKWk RAcTQm/XJpLDaYRAohZeZDXY98oYxr4MS9xo0CnJxrHk12pne55MG1A2gfIaKw17SPDk zMjItxUFCeV2mtyDVhkGbS/v8p3h0qeZm4UfQ= MIME-Version: 1.0 Received: by 10.239.145.11 with SMTP id q11mr558105hba.98.1254281429426; Tue, 29 Sep 2009 20:30:29 -0700 (PDT) In-Reply-To: <45f85f70909292020s61849ff3lf41a8f8f21d8d330@mail.gmail.com> References: <8211a1320909282237s3b309c88ge283412a7766dcec@mail.gmail.com> <45f85f70909291056j1d7e6df2mf8e4ead0860be076@mail.gmail.com> <8211a1320909292011i56e9cb98j4deb5d793e27823e@mail.gmail.com> <45f85f70909292020s61849ff3lf41a8f8f21d8d330@mail.gmail.com> Date: Tue, 29 Sep 2009 23:30:29 -0400 Message-ID: Subject: Re: Does hadoop 0.18.3 support thrift ? From: Edward Capriolo To: common-user@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Sep 29, 2009 at 11:20 PM, Todd Lipcon wrote: > Ah, right, it was introduced in 0.19. > > It shouldn't be too tough to compile against 0.18 - the API changes were > minimal and it's an external client so internal changes shouldn't have an= y > effect. > > I'd recommend pulling the source from 0.20, moving it into the contrib > directory, and hacking away. > > If you aren't comfortable in Java and with build.xml, though, you're > probably out of luck - it's unlikely to work without a bit of coercion. > > -Todd > > > On Tue, Sep 29, 2009 at 8:11 PM, Jeff Zhang wrote: > >> But I do not found the thrift in hadoop 0.18.3. >> Can I use other version of hadoop's thrift for my cluster which is built >> upon hadoop 0.18.3 >> >> >> On Wed, Sep 30, 2009 at 1:56 AM, Todd Lipcon wrote: >> >> > Hi Jeff, >> > >> > The contrib/thriftfs module is probably what you're looking for. >> > >> > I don't know of a lot of people using it, but it does provide a >> proxy-style >> > thrift access to HDFS. >> > >> > Be aware that performance will not be great since it introduces severa= l >> > more >> > copies in the pipeline, and Thrift was never designed for transferring >> > large >> > amounts of data. >> > >> > -Todd >> > >> > On Mon, Sep 28, 2009 at 10:37 PM, Jeff Zhang wrote: >> > >> > > Hi all, >> > > >> > > >> > > My hadoop cluster is using hadoop 0.18.3. And I'd =A0like to using p= ython >> > to >> > > access hdfs. But I did not found thrift in hadoop 0.18.3. >> > > >> > > Anybody know does hadoop 0.18.3 support thrift? If not, is there any >> > other >> > > method to access hdfs using python ? >> > > >> > > >> > > Thank you in advance. >> > > >> > > Jeff zhang >> > > >> > >> > I did this at one point. The code reference append and some other things not in 18.0 but It does work.