[ https://issues.apache.org/jira/browse/MAPREDUCE-3952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13222824#comment-13222824 ]
Hudson commented on MAPREDUCE-3952: ----------------------------------- Integrated in Hadoop-Common-trunk-Commit #1838 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1838/]) MAPREDUCE-3952. In MR2, when Total input paths to process == 1, CombinefileInputFormat.getSplits() returns 0 split. (zhenxiao via tucu) (Revision 1297293) Result = SUCCESS tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1297293 Files : * /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt * /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/input/CombineFileInputFormat.java * /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/lib/input/TestCombineFileInputFormat.java > In MR2, when Total input paths to process == 1, > CombinefileInputFormat.getSplits() returns 0 split. > --------------------------------------------------------------------------------------------------- > > Key: MAPREDUCE-3952 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-3952 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: mrv2 > Affects Versions: 0.24.0, 0.23.3 > Reporter: Zhenxiao Luo > Assignee: Bhallamudi Venkata Siva Kamesh > Fix For: 0.23.3 > > Attachments: MAPREDUCE-3952-1.patch, MAPREDUCE-3952.patch > > > Hive get unexpected result when using MR2(When using MR1, always get expected > result). > In MR2, when Total input paths to process == 1, > CombinefileInputFormat.getSplits() returns 0 split. > The calling code in Hive, in Hadoop23Shims.java: > InputSplit[] splits = super.getSplits(job, numSplits); > this get splits.length == 0. > In MR1, everything goes fine, the calling code in Hive, in Hadoop20Shims.java: > CombineFileSplit[] splits = (CombineFileSplit[]) super.getSplits(job, > numSplits); > this get splits.length == 1. -- 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