Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 97E0410952 for ; Tue, 2 Jul 2013 05:36:22 +0000 (UTC) Received: (qmail 1636 invoked by uid 500); 2 Jul 2013 05:36:22 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 1557 invoked by uid 500); 2 Jul 2013 05:36:22 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 1529 invoked by uid 99); 2 Jul 2013 05:36:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jul 2013 05:36:21 +0000 Date: Tue, 2 Jul 2013 05:36:21 +0000 (UTC) From: "Alejandro Abdelnur (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-710) Add to ser/deser methods to RecordFactory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alejandro Abdelnur updated YARN-710: ------------------------------------ Attachment: YARN-710-wip.patch Sidd, attaching a patch with your suggestion on how to get the class. however, something has changed significantly since the last patch. I've tried getting things to work again but it is plain ugly, I don't like at all (see wip patch). Still it is not working because I cannot force to create the underlying proto. Any idea on how to untangle this? > Add to ser/deser methods to RecordFactory > ----------------------------------------- > > Key: YARN-710 > URL: https://issues.apache.org/jira/browse/YARN-710 > Project: Hadoop YARN > Issue Type: Improvement > Components: api > Affects Versions: 2.0.4-alpha > Reporter: Alejandro Abdelnur > Assignee: Alejandro Abdelnur > Attachments: YARN-710.patch, YARN-710.patch, YARN-710-wip.patch > > > I order to do things like AMs failover and checkpointing I need to serialize app IDs, app attempt IDs, containers and/or IDs, resource requests, etc. > Because we are wrapping/hiding the PB implementation from the APIs, we are hiding the built in PB ser/deser capabilities. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira