hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Kanter (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-6192) Create unit test to automatically compare MR related classes and mapred-default.xml
Date Tue, 05 May 2015 00:53:07 GMT

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

Robert Kanter commented on MAPREDUCE-6192:
------------------------------------------

[~rchiang], it works fine on trunk, but it looks like there's some differences in branch-2.
 Can you look into this?
{noformat}
Running org.apache.hadoop.mapreduce.TestMapreduceConfigFields
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.624 sec <<< FAILURE!
- in org.apache.hadoop.mapreduce.TestMapreduceConfigFields
testCompareXmlAgainstConfigurationClass(org.apache.hadoop.mapreduce.TestMapreduceConfigFields)
 Time elapsed: 0.497 sec  <<< FAILURE!
java.lang.AssertionError: mapred-default.xml has 4 properties missing in  interface org.apache.hadoop.mapreduce.MRJobConfig
 interface org.apache.hadoop.mapreduce.MRConfig  class org.apache.hadoop.mapreduce.v2.jobhistory.JHAdminConfig
 class org.apache.hadoop.mapred.ShuffleHandler  class org.apache.hadoop.mapreduce.lib.output.FileOutputFormat
 class org.apache.hadoop.mapreduce.lib.input.FileInputFormat  class org.apache.hadoop.mapreduce.Job
 class org.apache.hadoop.mapreduce.lib.input.NLineInputFormat  class org.apache.hadoop.mapred.JobConf
 class org.apache.hadoop.mapreduce.lib.output.FileOutputCommitter
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.apache.hadoop.conf.TestConfigurationFieldsBase.testCompareXmlAgainstConfigurationClass(TestConfigurationFieldsBase.java:468)
        ...
{noformat}

> Create unit test to automatically compare MR related classes and mapred-default.xml
> -----------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-6192
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6192
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>    Affects Versions: 2.6.0
>            Reporter: Ray Chiang
>            Assignee: Ray Chiang
>            Priority: Minor
>              Labels: supportability
>         Attachments: MAPREDUCE-6192.001.patch, MAPREDUCE-6192.002.patch, MAPREDUCE-6192.003.patch,
MAPREDUCE-6192.004.patch, MAPREDUCE-6192.005.patch, MAPREDUCE-6192.006.patch, MAPREDUCE-6192.007.patch
>
>
> Create a unit test that will automatically compare the fields in the various MapReduce
related classes and mapred-default.xml. It should throw an error if a property is missing
in either the class or the file.



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

Mime
View raw message