Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EA251200BA1 for ; Mon, 17 Oct 2016 16:00:01 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E8EA1160AEC; Mon, 17 Oct 2016 14:00:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3B98D160AE5 for ; Mon, 17 Oct 2016 16:00:01 +0200 (CEST) Received: (qmail 578 invoked by uid 500); 17 Oct 2016 13:59:59 -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 563 invoked by uid 99); 17 Oct 2016 13:59:59 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2016 13:59:59 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id E880F1806C8 for ; Mon, 17 Oct 2016 13:59:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.821 X-Spam-Level: X-Spam-Status: No, score=-0.821 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 9aFqdi65j6Kq for ; Mon, 17 Oct 2016 13:59:57 +0000 (UTC) Received: from mail-it0-f46.google.com (mail-it0-f46.google.com [209.85.214.46]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id A23625F365 for ; Mon, 17 Oct 2016 13:59:56 +0000 (UTC) Received: by mail-it0-f46.google.com with SMTP id 4so51203244itv.0 for ; Mon, 17 Oct 2016 06:59:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=wq8F2WLorxhPfmCt1Rh+inI0JY/iXwctL9lwbcCBZSs=; b=wh1aChGGAXW52QySHQ5SbBBcEMerxhNygUoawjxmREUOAIaRSA7PkDvvWNr6CfVTxP PLpNPgMm+vk5EIZK91YsHJMHQPaNanRLdoiqhG4Vs02AV0SHTLD0DRMC54wliH4I/MXj sFHuOw6qjnrMEpbWbHmvgSCPMoKISIuJGF3prlRCxRaWSLh/kn9vUxSRoYji/mD0VOMy jV19k2R2lLQbXzgw9UG1VeQET1q9Y+mpE5j3tCt8LCibbamtMBHbF3jObRY1r0BSqwqM p1BfxI7WDnE4M2Q1OuXT6c8jPujfMwNrXGPDc0F22UdbB8NdRscGjF0AZ3BGXGuCB4vP f75A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=wq8F2WLorxhPfmCt1Rh+inI0JY/iXwctL9lwbcCBZSs=; b=MKJ3tjgkhPe0Y6NutakNIcQNkJeWBvgRc6g4RFqINR4pud8l+gSdi+e0Z3/tEWp4gq jZNsL3Mk/jrTxSawPoH5KioNfgpWTdz8l9MJRdVOno2UwM8csZMFvdrsnJq3HWA1afBJ Jh4R1PMx+oHKobDWWeN4yl9Kk5UGViIm+N7K1NjjD3HCwcRcgvtwUCBrG5Qkcn9a/QEM OzWvjdwubm2h2iqWP0Oyl/6h3/PFaY34xcwokT5zRTieQNbQ2fVyZoGU1D7qplJ1d2sk qtlFX3OkrJU3UfMHx0XG+p8faIcNeUzIDkIZhdptQof8Lm+dbyiBIuLO7cZJj1vkaYvX NlDA== X-Gm-Message-State: AA6/9Rmp8f2iR7lRslfKRaBHhvy0IiPqF8bdx8fZXvZR8bBfNPHsYbf1GXPA4t3CgQD/5fWJTJ0FY+nwtF3SkA== X-Received: by 10.36.33.139 with SMTP id e133mr8517395ita.3.1476712787248; Mon, 17 Oct 2016 06:59:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.9.7 with HTTP; Mon, 17 Oct 2016 06:59:26 -0700 (PDT) In-Reply-To: <3181C752-A22E-4F52-AA89-6A55F1092F58@hortonworks.com> References: <3181C752-A22E-4F52-AA89-6A55F1092F58@hortonworks.com> From: Prasun Ratn Date: Mon, 17 Oct 2016 19:29:26 +0530 Message-ID: Subject: Re: trying to use Spark applications with modified Kryo To: Steve Loughran Cc: Apache Spark Dev Content-Type: text/plain; charset=UTF-8 archived-at: Mon, 17 Oct 2016 14:00:02 -0000 Thanks a lot Steve! On Mon, Oct 17, 2016 at 4:59 PM, Steve Loughran wrote: > > On 17 Oct 2016, at 10:02, Prasun Ratn wrote: > > Hi > > I want to run some Spark applications with some changes in Kryo serializer. > > Please correct me, but I think I need to recompile spark (instead of > just the Spark applications) in order to use the newly built Kryo > serializer? > > I obtained Kryo 3.0.3 source and built it (mvn package install). > > Next, I took the source code for Spark 2.0.1 and built it (build/mvn > -X -DskipTests -Dhadoop.version=2.6.0 clean package) > > I then compiled the Spark applications. > > However, I am not seeing my Kryo changes when I run the Spark applications. > > > Kryo versions are very brittle. > > You'll > > -need to get an up to date/consistent version of Chill, which is where the > transitive dependency on Kryo originates > -rebuild spark depending on that chill release > > if you want hive integration, probably also rebuild Hive to be consistent > too; the main reason Spark has its own Hive version is that > Kryo version sharing. > > https://github.com/JoshRosen/hive/commits/release-1.2.1-spark2 > > Kryo has repackaged their class locations between versions. This lets the > versions co-exist, but probably also explains why your apps aren't picking > up the diffs. > > Finally, keep an eye on this github PR > > https://github.com/twitter/chill/issues/252 > --------------------------------------------------------------------- To unsubscribe e-mail: dev-unsubscribe@spark.apache.org