DRILL-8259: Supports advanced HBase persistence storage options#2596
DRILL-8259: Supports advanced HBase persistence storage options#2596luocooong wants to merge 2 commits intoapache:masterfrom
Conversation
|
@luocooong Thanks for submitting this. I was wondering, is there a reason why we are storing these variables in |
|
@cgivre Hi, Thank you for the questions. Actually, Drill PStore' variables are split from the storage configurations, because the goal is to define the initial variables before the Drill startup. And then, it has a different lifecycle from the storage configuration, so it is not recommended to be placed in the storage plugin. |
...ase/src/main/java/org/apache/drill/exec/store/hbase/config/HBasePersistentStoreProvider.java
Outdated
Show resolved
Hide resolved
|
Why compaction_enabled": false? I thought compaction is important for hbase to boost performance? |
As you know, HBase is a nightmare for operational services due to the complexity of the settings. The actual value in the above example is not a recommended value, no unique value is appropriate for every case, but is simply the type of value that this parameter has to fill, is "true/false", not "0/1". And, would you mind helping me append this updated document to the drill-site? |
Of course :) |
|
@Z0ltrix Would you mind doing a formal review on this PR? @luocooong asked me but I don't really have enough experience with HBase to comment intelligently on this. If you're already happy with this, all you have to do is leave a |
sorry for the late response, i would love to do the review :) |
| } else { | ||
| columnConfig = Maps.newHashMap(); | ||
| } | ||
| hbaseConf = HBaseConfiguration.create(); |
There was a problem hiding this comment.
As you know, HBase is a nightmare for operational services due to the complexity of the settings. The actual value in the above example is not a recommended value, no unique value is appropriate for every case, but is simply the type of value that this parameter has to fill, is "true/false", not "0/1".
hi @luocooong im still worried about the defaults, escpecially when drill creates the table on his own...
am i correcth that you dont set any defaults except SYS_STORE_PROVIDER_HBASE_TABLE, SYS_STORE_PROVIDER_HBASE_NAMESPACE and SYS_STORE_PROVIDER_HBASE_FAMILY?
DRILL-8259: Supports advanced HBase persistence storage options
Description
Maximize performance with HBase as persistent storage.
Documentation
Example in drill-override.conf
Configuration requirements
Testing
Added the TestHBaseTableProvider#testStoreTableAttributes()