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 53856200B9A for ; Thu, 22 Sep 2016 10:03:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 52690160AD0; Thu, 22 Sep 2016 08:03:22 +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 92D90160AAD for ; Thu, 22 Sep 2016 10:03:21 +0200 (CEST) Received: (qmail 72476 invoked by uid 500); 22 Sep 2016 08:03:20 -0000 Mailing-List: contact issues-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 issues@flink.apache.org Received: (qmail 72455 invoked by uid 99); 22 Sep 2016 08:03:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Sep 2016 08:03:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9EBAF2C2A61 for ; Thu, 22 Sep 2016 08:03:20 +0000 (UTC) Date: Thu, 22 Sep 2016 08:03:20 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-4603) KeyedStateBackend cannot restore user code classes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 22 Sep 2016 08:03:22 -0000 [ https://issues.apache.org/jira/browse/FLINK-4603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15512540#comment-15512540 ] ASF GitHub Bot commented on FLINK-4603: --------------------------------------- GitHub user StefanRRichter opened a pull request: https://github.com/apache/flink/pull/2533 [FLINK-4603] Fixes: KeyedStateBackend cannot restore user code classes This PR fixes [FLINK-4603] and introduces a test to protect better against future regression. You can merge this pull request into a Git repository by running: $ git pull https://github.com/StefanRRichter/flink backend-classloader-fix Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/2533.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2533 ---- commit d6b8b0112c6a4cf3f2cbf5eb758599e15d796aab Author: Stefan Richter Date: 2016-09-21T12:55:58Z [FLINK-4603] KeyedStateBackend can restore user code classes commit 78b2a4f048bd62e55471a384169304ca46bbbf60 Author: Stefan Richter Date: 2016-09-21T15:56:08Z [FLINK-4603] Test case ---- > KeyedStateBackend cannot restore user code classes > -------------------------------------------------- > > Key: FLINK-4603 > URL: https://issues.apache.org/jira/browse/FLINK-4603 > Project: Flink > Issue Type: Bug > Components: State Backends, Checkpointing > Affects Versions: 1.2.0 > Reporter: Till Rohrmann > Assignee: Stefan Richter > Priority: Blocker > Fix For: 1.2.0 > > > A user reported that he cannot restore keyed state which contains user code classes. I suspect that we don't use the user code class loader to deserialize the state. > The solution seems to be to forward the user code class loader to the {{KeyedStateBackends}} when restoring state. -- This message was sent by Atlassian JIRA (v6.3.4#6332)