kevinrr888 opened a new pull request, #5873: URL: https://github.com/apache/accumulo/pull/5873
- Replaced all uses of Thread.onSpinWait() with Thread.sleep() throughout the code. Was being incorrectly used in while loops that were not expected to very quickly change state. Thread.sleep() is more appropriate for these longer waits. The uses of Thread.onSpinWait() would result in very high CPU usage. - Fixed NullPointerException seen in the Monitor. SystemInformation.updateAggregates() needed to check that response.getMetrics() != null. - Monitor homepage would show no data in the "Accumulo Manager" table, "/manager" endpoint would show Manager status as "undefined". Fixed these issues. Navigating through all the monitor pages, all seem to be correct now. Data appears accurate and no Javascript errors in console. closes #5842 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
