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

Andrew Wang edited comment on HDFS-10848 at 4/5/17 10:20 PM:
-------------------------------------------------------------

hadoop-hdfs-native-client only depends on hadoop-hdfs for testing, so the prod 
artifact is still separated. We have some of our very first client-only tests 
introduced by HADOOP-11538, but since we depend so heavily on miniclusters, we 
can't move many of the tests from hadoop-hdfs to hadoop-hdfs-client.

Anyway, even if we perfectly split the client and server tests, we would still 
want to run the tests for both if either changes. Is there a maven-y way of 
doing this? Move it all to integration tests? Split tests into a separate 
module?


was (Author: andrew.wang):
hadoop-hdfs-client only depends on hadoop-hdfs for testing, so the prod 
artifact is still separated. We have some of our very first client-only tests 
introduced by HADOOP-11538, but since we depend so heavily on miniclusters, we 
can't move many of the tests from hadoop-hdfs to hadoop-hdfs-client.

Anyway, even if we perfectly split the client and server tests, we would still 
want to run the tests for both if either changes. Is there a maven-y way of 
doing this? Move it all to integration tests? Split tests into a separate 
module?

> Move hadoop-hdfs-native-client module into hadoop-hdfs-client
> -------------------------------------------------------------
>
>                 Key: HDFS-10848
>                 URL: https://issues.apache.org/jira/browse/HDFS-10848
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs-client
>            Reporter: Akira Ajisaka
>            Assignee: Huafeng Wang
>         Attachments: HDFS-10848.001.patch
>
>
> When a patch changes hadoop-hdfs-client module, Jenkins does not pick up the 
> tests in the native code. That way we overlooked test failure when committing 
> the patch. (ex. HDFS-10844)
> [~aw] said in HDFS-10844,
> bq. Ideally, all of this native code would be hdfs-client. Then when a change 
> is made to to that code, this code will also get tested.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to