Author: khorgath Date: Wed Aug 28 21:54:20 2013 New Revision: 1518401 URL: http://svn.apache.org/r1518401 Log: HCATALOG-631 HBase e2e tests on single nodes on Hadoop 2.0.3 with "dfs.client.read.shortcircuit" turning on for HBase (Daniel Dai via Sushanth Sowmyan)
Modified: hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/mapreduce/HCatOutputFormat.java Modified: hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/mapreduce/HCatOutputFormat.java URL: http://svn.apache.org/viewvc/hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/mapreduce/HCatOutputFormat.java?rev=1518401&r1=1518400&r2=1518401&view=diff ============================================================================== --- hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/mapreduce/HCatOutputFormat.java (original) +++ hive/trunk/hcatalog/core/src/main/java/org/apache/hcatalog/mapreduce/HCatOutputFormat.java Wed Aug 28 21:54:20 2013 @@ -159,6 +159,8 @@ public class HCatOutputFormat extends HC outputJobInfo.setPartitionValues(valueMap); } + // To get around hbase failure on single node, see BUG-4383 + conf.set("dfs.client.read.shortcircuit", "false"); HCatSchema tableSchema = HCatUtil.extractSchema(table); StorerInfo storerInfo = InternalUtil.extractStorerInfo(table.getTTable().getSd(), table.getParameters());