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 515CC1883B for ; Fri, 21 Aug 2015 10:22:47 +0000 (UTC) Received: (qmail 5922 invoked by uid 500); 21 Aug 2015 10:22:46 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 5809 invoked by uid 500); 21 Aug 2015 10:22:46 -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 5511 invoked by uid 99); 21 Aug 2015 10:22:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2015 10:22:46 +0000 Date: Fri, 21 Aug 2015 10:22:45 +0000 (UTC) From: "Tao Jie (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MAPREDUCE-6459) native task crashes when merging spilled file on ppc64 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAPREDUCE-6459?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tao Jie updated MAPREDUCE-6459: ------------------------------- Attachment: ppc64_error.txt > native task crashes when merging spilled file on ppc64 > ------------------------------------------------------ > > Key: MAPREDUCE-6459 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6459 > Project: Hadoop Map/Reduce > Issue Type: Bug > Affects Versions: 2.6.0 > Environment: Linux version 2.6.32-431.el6.ppc64 > Reporter: Tao Jie > Attachments: ppc64_error.txt > > > when running native task on ppc64=EF=BC=8Cmerging spilled files fails sin= ce we could not deserialize local spill file correctly. > Function readVLong in WritableUtils.h and Buffers.h, we try to compare a = char with a number and convert a char to int64_t. It does not work correctl= y on ppc64 since char definition is different between ppc64 and x86 platfor= m. On x86 platform char is defined as signed number while on ppc64 char is = unsigned. As a result, we write EOF marker [-1, -1] at the end of spill par= tition, but deserialize chars as [255, 255]. -- This message was sent by Atlassian JIRA (v6.3.4#6332)