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 B1944200C8E for ; Thu, 8 Jun 2017 09:18:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B03DD160BE8; Thu, 8 Jun 2017 07:18:23 +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 03637160BCA for ; Thu, 8 Jun 2017 09:18:22 +0200 (CEST) Received: (qmail 56416 invoked by uid 500); 8 Jun 2017 07:18:21 -0000 Mailing-List: contact dev-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list dev@flink.apache.org Received: (qmail 56357 invoked by uid 99); 8 Jun 2017 07:18:21 -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, 08 Jun 2017 07:18:21 +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 2BD19180A3F for ; Thu, 8 Jun 2017 07:18:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id uei4AVnLOqSQ for ; Thu, 8 Jun 2017 07:18:19 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 1F3A15FD9C for ; Thu, 8 Jun 2017 07:18:19 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6A29FE0D28 for ; Thu, 8 Jun 2017 07:18:18 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2906421E0E for ; Thu, 8 Jun 2017 07:18:18 +0000 (UTC) Date: Thu, 8 Jun 2017 07:18:18 +0000 (UTC) From: "Tzu-Li (Gordon) Tai (JIRA)" To: dev@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLINK-6869) Scala serializers do not have the serialVersionUID specified MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 08 Jun 2017 07:18:23 -0000 Tzu-Li (Gordon) Tai created FLINK-6869: ------------------------------------------ Summary: Scala serializers do not have the serialVersionUID specified Key: FLINK-6869 URL: https://issues.apache.org/jira/browse/FLINK-6869 Project: Flink Issue Type: Bug Components: Scala API, Type Serialization System Affects Versions: 1.3.0 Reporter: Tzu-Li (Gordon) Tai Assignee: Tzu-Li (Gordon) Tai Priority: Blocker Fix For: 1.3.1 Currently, all Scala serializers, e.g. {{OptionSerializer}}, {{CaseClassSerializer}}, {{TrySerializer}} etc. do not have the serialVersionUID specified. In 1.3, the Scala serializer (all serializers in general) implementations had to be changed since implementation of the compatibility methods {{snapshotConfiguration}}, {{ensureCompatibility}} had to be implemented, resulting in a new serialVersionUID. This means that when restoring from a snapshot pre-1.3 that contains Scala types as state, the previous serializer in the snapshot cannot be deserialized (due to UID mismatch). To fix this, we should specify the serialVersionUIDs of the Scala serializers to be what they originally were pre-1.3. This would then allow users with Scala types as state to restore from older versions. -- This message was sent by Atlassian JIRA (v6.3.15#6346)