You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Sharad Agarwal (JIRA)" <ji...@apache.org> on 2009/01/28 09:24:59 UTC
[jira] Commented: (HADOOP-5135) Separate the core, hdfs and mapred
junit tests
[ https://issues.apache.org/jira/browse/HADOOP-5135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667962#action_12667962 ]
Sharad Agarwal commented on HADOOP-5135:
----------------------------------------
In the current folder structure, the separation could look like as follows:
src/test/core - testcases only related to core apis
src/test/hdfs - testcases dependent on hdfs apis. May depend on core apis/tests as well.
src/test/mapred - testcases dependent on mapred apis. May depend on hdfs apis/tests as well.
src/test/hdfs-integration (better name ?)- hdfs tests which depend on mapred for execution. for example benchmark tests NNBench.
There could be separate targets for all the above say - test-core, test-hdfs, test-mapred, test-hdfs-integration in the current build.xml
When the project split, the hdfs subproject need not install mapred. It only needs mapred if wants to run test-hdfs-integration. mapred would have to install hdfs to run its tests as most of the tests run with hdfs.
> Separate the core, hdfs and mapred junit tests
> ----------------------------------------------
>
> Key: HADOOP-5135
> URL: https://issues.apache.org/jira/browse/HADOOP-5135
> Project: Hadoop Core
> Issue Type: Improvement
> Components: build
> Reporter: Sharad Agarwal
>
> To support splitting of projects, the tests should be separated into different directories.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.