Return-Path: X-Original-To: apmail-spark-dev-archive@minotaur.apache.org Delivered-To: apmail-spark-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7332B187BB for ; Tue, 23 Jun 2015 20:57:04 +0000 (UTC) Received: (qmail 19544 invoked by uid 500); 23 Jun 2015 20:56:56 -0000 Delivered-To: apmail-spark-dev-archive@spark.apache.org Received: (qmail 19459 invoked by uid 500); 23 Jun 2015 20:56:56 -0000 Mailing-List: contact dev-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@spark.apache.org Received: (qmail 19447 invoked by uid 99); 23 Jun 2015 20:56:56 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jun 2015 20:56:56 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id A54FECFC0B for ; Tue, 23 Jun 2015 20:47:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.979 X-Spam-Level: ** X-Spam-Status: No, score=2.979 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ZEnUXk9MLoFi for ; Tue, 23 Jun 2015 20:47:03 +0000 (UTC) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com [209.85.215.45]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 8BF2723132 for ; Tue, 23 Jun 2015 20:47:02 +0000 (UTC) Received: by lacny3 with SMTP id ny3so14091095lac.3 for ; Tue, 23 Jun 2015 13:47:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=Kieq+lAXJyoTrkj47NceWCXSItD+16DqcxegUkT4PXw=; b=BgOWeSvKzlJW5LpzOpxzdIJdN9h5kyjGHPSVAMEoSF04mSGeXj7xMyoGRXd6MAyJvq JVdZGFI5pU0np0qqeg2VSHNNcPn5rUNr1lfE4C4ptEB6l/O1exDZWzh/setHemKIHl0G LjaME4ZU6uH8kZmg5m5uRWWx4F3ysv+jcEMP/rI9jsuU2B+dHFxceIuS2MKYbiaO/gVZ woc0mTasdG+a4GMhp6Z1Is+UzlGh6/M5C9vWSayhhlcgM+fC7Xe7Be3S6HrKUrIkMjDi 35qFhvyYtIFch1PA8Pq/wl1g8Ahvz+pMxMQK6w+gFpqrx1b8581Rqd0GQVfG/bvKx3F6 lf+g== X-Gm-Message-State: ALoCoQnBNfdnhsM4CN01K1HcOOA8JKgJC5TDj1tHP0QDJBxqap1sQJ1DAXr2OSVopEgHTvj6tPbK X-Received: by 10.112.139.130 with SMTP id qy2mr36913398lbb.21.1435092420589; Tue, 23 Jun 2015 13:47:00 -0700 (PDT) MIME-Version: 1.0 Reply-To: shivaram@eecs.berkeley.edu Received: by 10.25.158.213 with HTTP; Tue, 23 Jun 2015 13:46:41 -0700 (PDT) In-Reply-To: References: From: Shivaram Venkataraman Date: Tue, 23 Jun 2015 13:46:41 -0700 Message-ID: Subject: Re: how can I write a language "wrapper"? To: "Vasili I. Galchin" Cc: "dev@spark.apache.org" Content-Type: multipart/alternative; boundary=001a11c34b4ef30cb10519357d25 --001a11c34b4ef30cb10519357d25 Content-Type: text/plain; charset=UTF-8 Every language has its own quirks / features -- so I don't think there exists a document on how to go about doing this for a new language. The most related write up I know of is the wiki page on PySpark internals https://cwiki.apache.org/confluence/display/SPARK/PySpark+Internals written by Josh Rosen -- It covers some of the issues like closure capture, serialization, JVM communication that you'll need to handle for a new language. Thanks Shivaram On Tue, Jun 23, 2015 at 1:35 PM, Vasili I. Galchin wrote: > Hello, > > I want to add language support for another language(other than > Scala, Java et. al.). Where is documentation that explains to provide > support for a new language? > > Thank you, > > Vasili > --001a11c34b4ef30cb10519357d25 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Every language has its own quirks / features -- so I don&#= 39;t think there exists a document on how to go about doing this for a new = language. The most related write up I know of is the wiki page on PySpark i= nternals=C2=A0https://cwiki.apache.org/confluence/display/SPARK/PySpar= k+Internals written by Josh Rosen -- It covers some of the issues like = closure capture, serialization, JVM communication that you'll need to h= andle for a new language.=C2=A0

Thanks
Shivara= m

On T= ue, Jun 23, 2015 at 1:35 PM, Vasili I. Galchin <vigalchin@gmail.com&= gt; wrote:
Hello,

=C2=A0 =C2=A0 =C2=A0 I want to add language support for another language= (other than Scala, Java et. al.). Where is documentation that explains to p= rovide support for a new language?

Thank you,

Vasili

--001a11c34b4ef30cb10519357d25--