hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "OZAWA Tsuyoshi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-4253) Tests for mapreduce-client-core are lying under mapreduce-client-jobclient
Date Sun, 20 May 2012 09:34:40 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-4253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

OZAWA Tsuyoshi updated MAPREDUCE-4253:
--------------------------------------

    Attachment: MR-4253.1.patch

I glanced over all related tests, and I found that tests are classified as patterns as follows:

1. no dependencies on libraries in mapreduce-client-jobclient.
2. dependencies on minicluster(DFSMiniCluster or YARNMiniCluster) as Robert said in MAPREDUCE-1347.
3. the other dependencies(TestUtils, SortedValidation, HadoopTestCase and so on).

I created and attached a patch for case 1.
IMO, case 2 and 3 should be treated as other jira issues.

I moved files as follows with this patch.

 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapred/TestAuditLogger.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapred/TestIFile.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapred/TestIndexCache.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapred/TestJobConf.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapred/TestKeyValueTextInputFormat.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapred/TestMultiFileInputFormat.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapred/TestMultiFileSplit.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapred/TestReduceTask.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapred/TestSequenceFileAsBinaryInputFormat.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapred/TestSequenceFileAsBinaryOutputFormat.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapred/TestSequenceFileAsTextInputFormat.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapred/TestSequenceFileInputFilter.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapred/TestSortedRanges.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapred/TestStatisticsCollector.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapred/TestTaskStatus.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapred/TestTextInputFormat.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapred/TestUtils.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapred/join/TestTupleWritable.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapred/lib/TestChain.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapred/lib/TestKeyFieldBasedPartitioner.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapreduce/TestCounters.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapreduce/lib/db/TestDBOutputFormat.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapreduce/lib/db/TestIntegerSplitter.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapreduce/lib/db/TestTextSplitter.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapreduce/lib/input/TestFileInputFormat.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapreduce/lib/jobcontrol/TestControlledJob.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapreduce/lib/partition/TestBinaryPartitioner.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapreduce/lib/partition/TestInputSampler.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapreduce/lib/partition/TestKeyFieldHelper.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapreduce/lib/partition/TestTotalOrderPartitioner.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapreduce/security/token/TestDelegationTokenRenewal.java
(100%)
 rename hadoop-mapreduce-project/hadoop-mapreduce-client/{hadoop-mapreduce-client-jobclient
=> hadoop-mapreduce-client-core}/src/test/java/org/apache/hadoop/mapreduce/util/TestProcfsBasedProcessTree.java
(100%)
                
> Tests for mapreduce-client-core are lying under mapreduce-client-jobclient
> --------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4253
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4253
>             Project: Hadoop Map/Reduce
>          Issue Type: Task
>          Components: client
>    Affects Versions: 2.0.0
>            Reporter: Harsh J
>         Attachments: MR-4253.1.patch, crossing_project_checker.rb, result.txt
>
>
> Many of the tests for client libs from mapreduce-client-core are lying under mapreduce-client-jobclient.
> We should investigate if this is the right thing to do and if not, move the tests back
into client-core.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message