[
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)