Skip to content
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

Support dispatching and prioritizing by user scan types #972

Merged
merged 1 commit into from
Feb 21, 2019

Conversation

keith-turner
Copy link
Contributor

While working on apache/fluo#1055 I found it cumbersome to configure
Fluo and Accumulo to dispatch Fluo notification scans to a dedicated
executor. With these changes its much simpler to do that. Fluo can
set an execution hint like scan_type=fluo-ntfy and Accumulo can be
configured to execute the scan based on the type without changing Fluo
config or source code.

Before these changes, Fluo would have required either a custom
dispatcher or custom Fluo config for Accumulo executors. With these
changes nothing needs to be done in Fluo.

While working on apache/fluo#1055 I found it cumbersome to configure
Fluo and Accumulo to dispatch Fluo notification scans to a dedicated
executor.  With these changes its much simpler to do that.  Fluo can
set an execution hint  like `scan_type=fluo-ntfy` and Accumulo can be
configured to execute the scan based on the type without changing Fluo
config or source code.

Before these changes, Fluo would have required either a custom
dispatcher or custom Fluo config for Accumulo executors. With these
changes nothing needs to be done in Fluo.
@@ -341,6 +341,11 @@ default void fetchColumn(CharSequence colFam, CharSequence colQual) {
* scan, only how quickly it is returned.
*
* <p>
* Using the hint {@code scan_type=<type>} and documenting all of the types for your application
* is one strategy to consider. This allows administrators to adjust executor and prioritizer
* config for your application scan types without having to change the application source code.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should also update the website (if needed): https://accumulo.apache.org/docs/2.x/administration/scan-executors

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keith-turner added a commit to keith-turner/accumulo-website that referenced this pull request Feb 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants