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 6C31B200B4B for ; Thu, 21 Jul 2016 10:37:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6ACEB160A6D; Thu, 21 Jul 2016 08:37:07 +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 8AABB160A68 for ; Thu, 21 Jul 2016 10:37:06 +0200 (CEST) Received: (qmail 10669 invoked by uid 500); 21 Jul 2016 08:37:05 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flink.apache.org Delivered-To: mailing list user@flink.apache.org Received: (qmail 10659 invoked by uid 99); 21 Jul 2016 08:37:05 -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; Thu, 21 Jul 2016 08:37:05 +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 3577E1889EB for ; Thu, 21 Jul 2016 08:37:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.28 X-Spam-Level: * X-Spam-Status: No, score=1.28 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=data-artisans-com.20150623.gappssmtp.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 1qqOLBfEJ4Za for ; Thu, 21 Jul 2016 08:37:01 +0000 (UTC) Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 208465FD10 for ; Thu, 21 Jul 2016 08:37:01 +0000 (UTC) Received: by mail-wm0-f54.google.com with SMTP id q128so13829247wma.1 for ; Thu, 21 Jul 2016 01:37:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=data-artisans-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:mime-version:subject:date:references:to:in-reply-to; bh=9lvK4v6c1LxyZVlJc6OdjWnkGPsniarlV9eqGAQaz70=; b=AF3JwABjQji1++GucDIgv4g1IWmz7jdQMkiLCw7Y1PbXmKI/R0ApKYZcAmNfO0EfBH eX50VwV4QC5rlsEa7Kd8SEjdnFR8U1eb0DPPDHLpMSHFczDofj027i21WuAoe/gkWK/j L3rDRodE75mZWdZutyChLukiDQZBSPawjEV2dvKmhSbM8Bwlaqa1awYbKrjoBM1WTDzY kNUMVW3Y/RdgbljuDX9ZKXikvY3L1BwfT9D4+W+N3Eu9mgb34OETJ0SNd8+S2ultij7h wM/jeTSgIKUkI/JX1huBF5eIXhCdqsJWDDYJCFCFgw0Nv04ckgHatkx2hqdQDToporcc Pi7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:mime-version:subject:date :references:to:in-reply-to; bh=9lvK4v6c1LxyZVlJc6OdjWnkGPsniarlV9eqGAQaz70=; b=Iuye0VdIuEwAcvSWNUkkcvWC61dQ6xJe5NMwKbUHcZiKvZOYR/9DpKFpCnnEPqnnSE 3TeeBMzQBRqlRQKzZ5T5FQtyJzcG89C4s2PDf/OnC9IbF6OdmSKsgVxrOUsIeY3mxUng LOstvmwH9yIg+IAvoZ6eXjEfly6Mf+r3k2kb2acDQXFvHY3f1mKcbM9VOMncGcP43dpy TW5qy1Ym52GNCTDwSl5DHAKt/QoU6d643vpcQFiW2R93Ih//Zs4O//utReTvU8VJlbp5 ouVAqiCkrpS4NbF2MKY7aU0O7NGMHv5XPWWQ1keqm+D/Z57UdkTx4DCQU+UDsBiDG9un ll0Q== X-Gm-Message-State: ALyK8tLrQOyDXDZppHj0HF0TrUI06mX/SMmEG541gBAiCBRrqh0vh98w7nSTcjn69yIK2B7d X-Received: by 10.194.191.228 with SMTP id hb4mr5687812wjc.73.1469090219432; Thu, 21 Jul 2016 01:36:59 -0700 (PDT) Received: from skynet.fritz.box (ip5b40315a.dynamic.kabel-deutschland.de. [91.64.49.90]) by smtp.gmail.com with ESMTPSA id m62sm2154125wmm.24.2016.07.21.01.36.35 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Jul 2016 01:36:55 -0700 (PDT) From: Stefan Richter Content-Type: multipart/alternative; boundary="Apple-Mail=_CBF0CF59-694A-4D84-95EB-39C47EE42AEF" Message-Id: <94290672-1350-44F6-A0EE-91F5F29D7E25@data-artisans.com> Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Guava immutable collection kryo serialization Date: Thu, 21 Jul 2016 10:36:34 +0200 References: To: user@flink.apache.org In-Reply-To: X-Mailer: Apple Mail (2.3124) archived-at: Thu, 21 Jul 2016 08:37:07 -0000 --Apple-Mail=_CBF0CF59-694A-4D84-95EB-39C47EE42AEF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, to answer this question, it would be helpful if you could provide the = stacktrace of your exception and the code you use to register the = serializer. Best, Stefan > Am 21.07.2016 um 05:28 schrieb Shaosu Liu : >=20 >=20 > Hi, >=20 > How do I do Guava Immutable collections serialization in Flink? >=20 > I am getting error=20 >=20 > Caused by: java.io.NotSerializableException: = de.javakaffee.kryoserializers.guava.ImmutableMapSerializer >=20 > when I register ImmutableMap to be serialized by the = ImmutableMapSerializer. I am using the latest version of 0.38. >=20 > --=20 > Cheers, > Shaosu --Apple-Mail=_CBF0CF59-694A-4D84-95EB-39C47EE42AEF Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Hi,

to = answer this question, it would be helpful if you could provide the = stacktrace of your exception and the code you use to register the = serializer.

Best,
Stefan

Am = 21.07.2016 um 05:28 schrieb Shaosu Liu <shu@uber.com>:


Hi,

How = do I do Guava Immutable collections serialization in Flink?

I am getting error 

Caused by: java.io.NotSerializableException: = de.javakaffee.kryoserializers.guava.ImmutableMapSerializer

when I = register ImmutableMap to be serialized by the ImmutableMapSerializer. I = am using the latest version of 0.38.

--
Cheers,
Shaosu

= --Apple-Mail=_CBF0CF59-694A-4D84-95EB-39C47EE42AEF--