Project: talenddataquality
Issue TDQ-9367: in mr job, two tMatchGroup both checked "Sort the output data by GID", job can not run finished.
1. create a mr job, add component like: input+tGenkey+tMatchGroup+tMatchGroup + output. configure tGenkey and two tMatchGroup(set matching key, and first tMatchGroup set blocking key T_GEN_KEY) for the two tMatchGroup both checked "Sort the output data by GID". Actual Result: job can not run. Expected Result: job should run correctly, no matter check sort function or not. {code} java.lang.IllegalArgumentException: The Mapper output key class does not match the previous Mapper input key class org.talend.hadoop.mapred.lib.Chain.addMapper(Chain.java:195) org.talend.hadoop.mapred.lib.ChainMapper.addMapper(ChainMapper.java:45) test1.copy_of_mr_1_0_1.Copy_of_mr_1$2.run(Copy_of_mr_1.java:13649) test1.copy_of_mr_1_0_1.Copy_of_mr_1$2.run(Copy_of_mr_1.java:1) java.security.AccessController.doPrivileged(Native Method) javax.security.auth.Subject.doAs(Subject.java:415) org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1136) test1.copy_of_mr_1_0_1.Copy_of_mr_1.tMRInput_tSortRowAfter_tMatchGroup_10Process(Copy_of_mr_1.java:13596) test1.copy_of_mr_1_0_1.Copy_of_mr_1.tJDBCInput_1Process(Copy_of_mr_1.java:5565) test1.copy_of_mr_1_0_1.Copy_of_mr_1.run(Copy_of_mr_1.java:25142) org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) test1.copy_of_mr_1_0_1.Copy_of_mr_1.runJobInTOS(Copy_of_mr_1.java:25117) test1.copy_of_mr_1_0_1.Copy_of_mr_1.main(Copy_of_mr_1.java:25103) {code}
Story points: 5