Created
February 23, 2011 13:05
-
-
Save danharvey/840403 to your computer and use it in GitHub Desktop.
TableInputFormat configuration patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- src/main/java/org/apache/hadoop/hbase/mapreduce/TableInputFormat.java 2011-02-09 00:23:13.000000000 +0000 | |
+++ src/main/java/org/apache/hadoop/hbase/mapreduce/TableInputFormat.java 2011-02-23 13:01:25.126278999 +0000 | |
@@ -88,7 +88,7 @@ | |
this.conf = configuration; | |
String tableName = conf.get(INPUT_TABLE); | |
try { | |
- setHTable(new HTable(new Configuration(conf), tableName)); | |
+ setHTable(new HTable(tableName)); | |
} catch (Exception e) { | |
LOG.error(StringUtils.stringifyException(e)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment