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 HP NonStop. Closes #272 #273

Closed
wants to merge 1 commit into from

Conversation

pvasterd
Copy link
Contributor

@pvasterd pvasterd commented Mar 17, 2020

Problem

When creating an com.twitter.jmv.Hotspot object on HotSpot JVMs that
do not implement JVM metrics, such as the HP NONSTOP JVM, the creation
fails with a javax.naming.OperationNotSupportedException.

Solution

As these metrics/counters are not mandatory, creation of the
com.twitter.jmv.Hotspot should just continue with a WARN message
that these counters are not available.

Result

Support for more Hotspot JVMs, such as HP NONSTOP JVM.

See #272

@CLAassistant
Copy link

CLAassistant commented Mar 17, 2020

CLA assistant check
All committers have signed the CLA.

@mosesn
Copy link
Contributor

mosesn commented Mar 17, 2020

Oh, would you also mind following our CONTRIBUTING.md guidelines? Please update your description and commit message per:

https://github.com/twitter/util/blob/develop/CONTRIBUTING.md#pull-requests

Problem

When creating an com.twitter.jmv.Hotspot object on HotSpot JVMs that
do not implement JVM metrics, such as the HP NONSTOP JVM, the creation
fails with a javax.naming.OperationNotSupportedException.

Solution

As these metrics/counters are not mandatory, creation of the
com.twitter.jmv.Hotspot should just continue with a WARN message
that these counters are not available.

Result

Support for more Hotspot JVMs, such as HP NONSTOP JVM.
@pvasterd
Copy link
Contributor Author

pvasterd commented Mar 17, 2020

Oh, would you also mind following our CONTRIBUTING.md guidelines? Please update your description and commit message per:

https://github.com/twitter/util/blob/develop/CONTRIBUTING.md#pull-requests

Done!

@pvasterd
Copy link
Contributor Author

@mosesn , would be wonderful if this PR could make the 20.4.0 release. Is there anything you still want me to do?

@pvasterd
Copy link
Contributor Author

Oh, would you also mind following our CONTRIBUTING.md guidelines? Please update your description and commit message per:

https://github.com/twitter/util/blob/develop/CONTRIBUTING.md#pull-requests

Yes, I think I followed the guidelines just now.

@pvasterd pvasterd closed this Mar 23, 2020
@pvasterd pvasterd reopened this Mar 23, 2020
@pvasterd pvasterd changed the title Support HP NonStop. Solves #272 Support HP NonStop. Closes #272 Mar 23, 2020
@pvasterd pvasterd requested a review from mosesn March 23, 2020 16:51
@pvasterd
Copy link
Contributor Author

pvasterd commented Apr 8, 2020

Closing this PR as the contents of the pull request already part of 20.4.0.
Thanks team Twitter for picking this up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants