You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Sean Zhong (JIRA)" <ji...@apache.org> on 2014/09/02 04:19:21 UTC

[jira] [Commented] (MAPREDUCE-6058) native-task: KVTest and LargeKVTest should check mr job is sucessful

    [ https://issues.apache.org/jira/browse/MAPREDUCE-6058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14117831#comment-14117831 ] 

Sean Zhong commented on MAPREDUCE-6058:
---------------------------------------

looks good,

Should we move the following lines to a startUp() function so that when adding new test function, we don't need to ad these two lines.
   @Test
   public void testKVCompability() {
+    Assume.assumeTrue(NativeCodeLoader.isNativeCodeLoaded());
+    Assume.assumeTrue(NativeRuntime.isNativeLibraryLoaded());



> native-task: KVTest and LargeKVTest should check mr job is sucessful
> --------------------------------------------------------------------
>
>                 Key: MAPREDUCE-6058
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6058
>             Project: Hadoop Map/Reduce
>          Issue Type: Sub-task
>          Components: task
>            Reporter: Binglin Chang
>            Assignee: Binglin Chang
>            Priority: Minor
>         Attachments: MAPREDUCE-6058.v1.patch, MAPREDUCE-6058.v2.patch
>
>
> When running KVTest and LargeKVTest, if the job failed for some reason(lack libhadoop.so etc), both native and normal job failed, and both compare empty output directory, so the test passes without noticing failure.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)