diff --git common/src/java/org/apache/hadoop/hive/conf/HiveConf.java common/src/java/org/apache/hadoop/hive/conf/HiveConf.java index 92c5a1a..d29cc77 100644 --- common/src/java/org/apache/hadoop/hive/conf/HiveConf.java +++ common/src/java/org/apache/hadoop/hive/conf/HiveConf.java @@ -353,7 +353,7 @@ public class HiveConf extends Configuration { HIVEJOBPROGRESS("hive.task.progress", false), - HIVEINPUTFORMAT("hive.input.format", ""), + HIVEINPUTFORMAT("hive.input.format", "org.apache.hadoop.hive.ql.io.CombineHiveInputFormat"), HIVEENFORCEBUCKETING("hive.enforce.bucketing", false), HIVEENFORCESORTING("hive.enforce.sorting", false), diff --git conf/hive-default.xml conf/hive-default.xml index 032c940..0ca7085 100644 --- conf/hive-default.xml +++ conf/hive-default.xml @@ -638,8 +638,8 @@ hive.input.format - org.apache.hadoop.hive.ql.io.HiveInputFormat - The default input format, if it is not specified, the system assigns it. It is set to HiveInputFormat for hadoop versions 17, 18 and 19, whereas it is set to CombineHiveInputFormat for hadoop 20. The user can always overwrite it - if there is a bug in CombineHiveInputFormat, it can always be manually set to HiveInputFormat. + org.apache.hadoop.hive.ql.io.CombineHiveInputFormat + The default input format. Set this to HiveInputFormat if you encounter problems with CombineHiveInputFormat.