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 79BE52004F5 for ; Sat, 12 Aug 2017 02:14:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 77EFB16DB9E; Sat, 12 Aug 2017 00:14:05 +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 BF5DE16D7DB for ; Sat, 12 Aug 2017 02:14:04 +0200 (CEST) Received: (qmail 14095 invoked by uid 500); 12 Aug 2017 00:14:03 -0000 Mailing-List: contact users-help@apex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@apex.apache.org Delivered-To: mailing list users@apex.apache.org Received: (qmail 14085 invoked by uid 99); 12 Aug 2017 00:14:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Aug 2017 00:14:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 6EDBCC05F7 for ; Sat, 12 Aug 2017 00:14:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.972 X-Spam-Level: X-Spam-Status: No, score=0.972 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id MezIEG_TmBNF for ; Sat, 12 Aug 2017 00:13:57 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id ED5415FB3A for ; Sat, 12 Aug 2017 00:13:56 +0000 (UTC) Received: from static.162.255.23.37.macminivault.com (unknown [162.255.23.37]) by mwork.nabble.com (Postfix) with ESMTP id 8A33E5B48F5F9 for ; Fri, 11 Aug 2017 17:13:55 -0700 (MST) Date: Fri, 11 Aug 2017 17:13:55 -0700 (MST) From: Vivek Bhide To: users@apex.incubator.apache.org Message-ID: <1502496835555-1840.post@n6.nabble.com> In-Reply-To: References: <1502431519677-1834.post@n6.nabble.com> <1502473149788-1836.post@n6.nabble.com> <1502475187029-1838.post@n6.nabble.com> Subject: Re: How the application recovery works when its started with -originalAppId MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Sat, 12 Aug 2017 00:14:05 -0000 Hi Pramod and Thomas Below are my findings till now on this issue 1. Fix suggested by Pramod and fix made as apart of https://issues.apache.org/jira/browse/APEXMALHAR-2526 are doing the same thing 2. In the comments for https://issues.apache.org/jira/browse/APEXMALHAR-2526 I found that, the new class KryoJavaSerializer.java is created to fix the problem but kryo has already fixed this issue at their end too (in Dec 2016) 3. When checked the kryo version from apex-core, I found that it is expecting version 2.24 which is quite old and latest kryo version (4.0.1) has the fix included 4. So at the end only changes I needed were to update kryo version to latest and continue using a JavaSerializer. On implementing these, Issue with application recovery has resolved I see that story https://issues.apache.org/jira/browse/APEXCORE-768 is already created to update the kryo version and remove class KryoJavaSerializer.java Again this still doesn't answer the question that why kryo is not serializing the custom implementation of LinkedHashMap at first place with its default serialization Regards Vivek -- View this message in context: http://apache-apex-users-list.78494.x6.nabble.com/How-the-application-recovery-works-when-its-started-with-originalAppId-tp1821p1840.html Sent from the Apache Apex Users list mailing list archive at Nabble.com.