-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-26108 add option to disable scanMetrics in TableSnapshotInputFo… #3516
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
Conversation
* Whether to enable scan metrics on Scan, default to true | ||
*/ | ||
public static final String SNAPSHOT_INPUTFORMAT_SCAN_METRICS_ENABLED = | ||
"hbase.TableSnapshotInputFormat.scan_metrics_enabled"; |
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.
Should we name it as scan_metrics.enabled ? That is what normally we do I believe and I could see many such conf names in code base
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.
Thanks for the review, let me change it.
SNAPSHOT_INPUTFORMAT_SCAN_METRICS_ENABLED_DEFAULT); | ||
scan.setScanMetricsEnabled(scanMetricsEnabled); | ||
|
||
List<InputSplit> splits = new ArrayList<>(); |
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.
nit : Not proper indentation
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.
Will push another PR.
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
afa8b6c
to
420a66a
Compare
Update to address Anoop's comments. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
…rmat