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

Improve fetching scans and compactions in Monitor #2294

Merged
merged 2 commits into from
Oct 1, 2021

Conversation

milleruntime
Copy link
Contributor

  • Drop fetchScans and fetchCompactions threads and just let the page
    refresh get the data as needed. Created constant to prevent fetching
    more then once a minute. Created time constant for age off
  • Replace active scans table with datatables and add fetched column
  • Add fetched column to Active compactions table
  • Refactored fetch methods to catch thrift error and log.
  • Made entry point methods getCompactions and getScans synchronized to
    allow removal of synchronized code blocks.

* Drop fetchScans and fetchCompactions threads and just let the page
refresh get the data as needed. Created constant to prevent fetching
more then once a minute. Created time constant for age off
* Replace active scans table with datatables and add fetched column
* Add fetched column to Active compactions table
* Refactored fetch methods to catch thrift error and log.
* Made entry point methods getCompactions and getScans synchronized to
allow removal of synchronized code blocks.
@milleruntime
Copy link
Contributor Author

Screenshots of the 2 pages:
active-compactions
scans

Copy link
Contributor

@Manno15 Manno15 left a comment

Choose a reason for hiding this comment

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

Changes look good to me.

@milleruntime milleruntime merged commit db22fdd into apache:main Oct 1, 2021
@milleruntime milleruntime deleted the button branch October 1, 2021 15:17
milleruntime added a commit to milleruntime/accumulo that referenced this pull request Oct 1, 2021
* Drop fetchScans and fetchCompactions threads and just let the page
refresh get the data as needed. Created constant to prevent fetching
more than once a minute. Created time constant for age off
* Replace active scans table with datatables and add fetched column
* Add fetched column to Active compactions table
* Refactored fetch methods to catch thrift error and log.
* Made entry point methods getCompactions and getScans synchronized to
allow removal of synchronized code blocks.
@ctubbsii ctubbsii added this to the 2.1.0 milestone Jul 12, 2024
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.

None yet

3 participants