You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by ra...@apache.org on 2015/10/18 19:20:23 UTC
[2/2] phoenix git commit: PHOENIX-2216 : Support single mapper pass
to CSV bulk load table and indexes - fixing imports
PHOENIX-2216 : Support single mapper pass to CSV bulk load table and indexes - fixing imports
Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/fde2878d
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/fde2878d
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/fde2878d
Branch: refs/heads/4.x-HBase-1.0
Commit: fde2878dcfb23320ffeabaa9aa381e3fc92af852
Parents: 3396168
Author: Ravi Magham <ra...@bazaarvoice.com>
Authored: Sun Oct 18 10:19:23 2015 -0700
Committer: Ravi Magham <ra...@bazaarvoice.com>
Committed: Sun Oct 18 10:19:23 2015 -0700
----------------------------------------------------------------------
.../java/org/apache/phoenix/mapreduce/MultiHfileOutputFormat.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/phoenix/blob/fde2878d/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/MultiHfileOutputFormat.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/MultiHfileOutputFormat.java b/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/MultiHfileOutputFormat.java
index eae58ad..e0b3e9d 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/MultiHfileOutputFormat.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/MultiHfileOutputFormat.java
@@ -662,7 +662,7 @@ public class MultiHfileOutputFormat extends FileOutputFormat<CsvTableRowkeyPair,
for(TargetTableRef table : tablesToBeLoaded) {
final String tableName = table.getPhysicalName();
try(HTable htable = new HTable(conf,tableName);){
- Set<CsvTableRowkeyPair> startKeys = getRegionStartKeys(tableName , htable.getRegionLocator());
+ Set<CsvTableRowkeyPair> startKeys = getRegionStartKeys(tableName , htable);
tablesStartKeys.addAll(startKeys);
String compressionConfig = configureCompression(htable.getTableDescriptor());
String bloomTypeConfig = configureBloomType(htable.getTableDescriptor());