DRILL-1009: Remove 'HBasePStoreProvider' from HBase storage module's drill-module.conf
Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/199f4674 Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/199f4674 Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/199f4674 Branch: refs/heads/master Commit: 199f46741fe26e87ac840c6b3ae5398f5f5fae79 Parents: c7712f8 Author: Aditya Kishore <[email protected]> Authored: Wed Jun 18 01:57:04 2014 -0700 Committer: Jacques Nadeau <[email protected]> Committed: Wed Jun 18 20:28:48 2014 -0700 ---------------------------------------------------------------------- contrib/storage-hbase/src/main/resources/drill-module.conf | 5 +++-- .../java/org/apache/drill/exec/store/sys/PStoreRegistry.java | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/199f4674/contrib/storage-hbase/src/main/resources/drill-module.conf ---------------------------------------------------------------------- diff --git a/contrib/storage-hbase/src/main/resources/drill-module.conf b/contrib/storage-hbase/src/main/resources/drill-module.conf index 46c0720..0edceaf 100644 --- a/contrib/storage-hbase/src/main/resources/drill-module.conf +++ b/contrib/storage-hbase/src/main/resources/drill-module.conf @@ -20,9 +20,10 @@ drill.exec: { sys.store.provider: { - class: "org.apache.drill.exec.store.hbase.config.HBasePStoreProvider", + # HBasePStoreProvider is disabled by default + # class: "org.apache.drill.exec.store.hbase.config.HBasePStoreProvider", hbase: { - tableName : "drill_store", + table : "drill_store", config : { "hbase.zookeeper.quorum" : "localhost", "hbase.zookeeper.property.clientPort" : 2181 http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/199f4674/exec/java-exec/src/main/java/org/apache/drill/exec/store/sys/PStoreRegistry.java ---------------------------------------------------------------------- diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/sys/PStoreRegistry.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/sys/PStoreRegistry.java index e69c12d..4fe23aa 100644 --- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/sys/PStoreRegistry.java +++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/sys/PStoreRegistry.java @@ -50,6 +50,7 @@ public class PStoreRegistry { public PStoreProvider newPStoreProvider() throws ExecutionSetupException { try { String storeProviderClassName = config.getString(ExecConstants.SYS_STORE_PROVIDER_CLASS); + logger.info("Using the configured PStoreProvider class: '{}'.", storeProviderClassName); Class<? extends PStoreProvider> storeProviderClass = (Class<? extends PStoreProvider>) Class.forName(storeProviderClassName); Constructor<? extends PStoreProvider> c = storeProviderClass.getConstructor(PStoreRegistry.class); return c.newInstance(this);
