-
Notifications
You must be signed in to change notification settings - Fork 980
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DRILL-8259: Supports advanced HBase persistence storage options #2596
base: master
Are you sure you want to change the base?
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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()