Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 46B5010309 for ; Sat, 6 Jun 2015 10:46:02 +0000 (UTC) Received: (qmail 88784 invoked by uid 500); 6 Jun 2015 10:46:02 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 88721 invoked by uid 500); 6 Jun 2015 10:46:02 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 88704 invoked by uid 99); 6 Jun 2015 10:46:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Jun 2015 10:46:02 +0000 Date: Sat, 6 Jun 2015 10:46:01 +0000 (UTC) From: "Hudson (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MAPREDUCE-6387) Serialize the recently added Task#encryptedSpillKey field at the end 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/MAPREDUCE-6387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14575672#comment-14575672 ] Hudson commented on MAPREDUCE-6387: ----------------------------------- FAILURE: Integrated in Hadoop-Yarn-trunk #950 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/950/]) MAPREDUCE-6387. Serialize the recently added Task#encryptedSpillKey field at the end. (Arun Suresh via kasha) (kasha: rev 6786daab33792c9c426adf0fc6b361f193d356a8) * hadoop-mapreduce-project/CHANGES.txt * hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/Task.java > Serialize the recently added Task#encryptedSpillKey field at the end > -------------------------------------------------------------------- > > Key: MAPREDUCE-6387 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6387 > Project: Hadoop Map/Reduce > Issue Type: Bug > Affects Versions: 2.7.0 > Reporter: Arun Suresh > Assignee: Arun Suresh > Priority: Minor > Fix For: 2.7.1 > > Attachments: MAPREDUCE-6387.1.patch > > > There was a recent addition of an {{encryptedSpillKey}} to the Task object. And when serialized, this field was written out somewhere in the middle. This caused deployments that do not use DistributedCache to push job jars before running the job to fail rolling upgrade. > Although deploying via Distributed Cache is the recommended method, there might still be deployments that use the node local classpath to pick up the MR framework classes (eg. for efficiency purposes, since this does not require the jar being copied to hdfs and then to all the nodes) > Ensuring that it is the last field written and read when the Task object is serialized would alleviate this issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332)