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 8CDF011261 for ; Fri, 25 Jul 2014 07:47:39 +0000 (UTC) Received: (qmail 62545 invoked by uid 500); 25 Jul 2014 07:47:39 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 62483 invoked by uid 500); 25 Jul 2014 07:47:39 -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 62465 invoked by uid 99); 25 Jul 2014 07:47:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jul 2014 07:47:39 +0000 Date: Fri, 25 Jul 2014 07:47:39 +0000 (UTC) From: "Binglin Chang (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MAPREDUCE-5987) native-task: Unit test TestGlibCBug fails on ubuntu 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-5987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14074179#comment-14074179 ] Binglin Chang commented on MAPREDUCE-5987: ------------------------------------------ bq. memcpy seems to perform better memmov Yes, so we should use memcpy when we can make sure src & dest are not overlap, but in fillGet memmove should be used, whether or not GlibCBug exists. > native-task: Unit test TestGlibCBug fails on ubuntu > --------------------------------------------------- > > Key: MAPREDUCE-5987 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-5987 > Project: Hadoop Map/Reduce > Issue Type: Sub-task > Components: task > Reporter: Sean Zhong > Assignee: Sean Zhong > Priority: Minor > > On ubuntu12, glibc: 2.15-0ubuntu10.3, UT TestGlibCBug fails > [ RUN ] IFile.TestGlibCBug > 14/07/21 15:55:30 INFO TestGlibCBug ./testData/testGlibCBugSpill.out > /home/decster/projects/hadoop-trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/src/main/native/test/TestIFile.cc:186: Failure > Value of: realKey > Actual: 1127504685 > Expected: expect[index] > Which is: 4102672832 > [ FAILED ] IFile.TestGlibCBug (0 ms) > [----------] 2 tests from IFile (240 ms total) -- This message was sent by Atlassian JIRA (v6.2#6252)