-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HADOOP-11223. Create UnmodifiableConfiguration #473
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
|
Renaming this class to UnmodifiableConfiguration since it is not immutable. It more closely resembles the java unmodifiable collections: https://docs.oracle.com/javase/7/docs/api/java/util/Collections.html |
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.
These are probably okay to proxy.
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.
By that, I mean that is probably okay to provide an implementation that calls this.other.writeXml(...) instead of throwing UnsupportedOperationException for these methods.
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
de10b99 to
e9a2ba3
Compare
|
🎊 +1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
Is Yetus just going to keep spamming this issue indefinitely, with it never being merged? If so, I'm going to stop following this issue. |
|
🎊 +1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
I think I might actually have to block @hadoop-yetus and @apache-yetus . It's so spammy and drowns out human conversation. I don't see value in its checks as a bot commenting in the thread for humans. It should run as an app instead, like Travis CI, etc. EDIT: blocking doesn't seem to remove the spammy comments from my view. |
|
🎊 +1 overall
This message was automatically generated. |
|
Can somebody from Hadoop respond to this PR? Please either merge it or close it as rejected. The spam from the yetus bot is overwhelming, annoying, and unnecessary. |
|
Closing to stop the yetus spam. |
|
Thanks @milleruntime ; while I would have preferred a response from the Hadoop developers, I suppose that is the second best option. |
* Tests to benchmark the performance of the system consumers and producers. * Config to test the benchmark for the event hub system producer and consumer. SystemConsumerBench and SystemProducerBench provides base generic implementation to test the benchmark for the system producers and consumers. Any new system that needs benchmark test needs a properties file. The benchmark test itself is single threaded in the way it consumes and produces events. Scaling the benchmark tests right now involves running multiple processes of these tests in parallel. Right now we just calculate the event rate, But in future we could create a logging metrics registry to hookup other metrics and log them in console along with event rate while the benchmark tests are being run. Author: Srinivasulu Punuru <[email protected]> Reviewers: Jagadish <[email protected]>, Wei Song<[email protected]> Closes apache#473 from srinipunuru/benchmark.1
Fixes https://issues.apache.org/jira/browse/HADOOP-11223 by creating an immutable Configuration class. This class will throw UnsupportedOperationException on any mutable method calls.
I am not sure what branch or version this is appropriate to apply to so I am doing a pull request against trunk.