NIFI-1690 Changed MonitorMemory to use allowable values for pool names#328
NIFI-1690 Changed MonitorMemory to use allowable values for pool names#328olegz wants to merge 1 commit intoapache:masterfrom
Conversation
olegz
commented
Apr 5, 2016
- removed dead code from MonitorMemory
- added MonitorMemoryTest
- minor refactoring in MonitorMemory
- initial fix for NIFI-1731 (WARN/INFO logging) that was required by MonitorMemoryTest
d8f7efd to
a4bcaeb
Compare
| .addValidator(StandardValidators.NON_EMPTY_VALIDATOR) | ||
| .defaultValue(null) | ||
| .allowableValues(memPoolAllowableValues) | ||
| .defaultValue(memPoolAllowableValues.length == 0 ? null : memPoolAllowableValues[0].getValue()) |
There was a problem hiding this comment.
I think we're better off simply not having a default value.
|
@alopresto all is addressed. Let me know. |
|
Thanks @olegz . If you rebase and squash, I'll verify and merge. |
|
@alopresto all done |
|
I've tried to build this locally twice (clean checkouts and everything). It is failing with a compilation error in The compilation error is below: Any thoughts? |
- removed dead code from MonitorMemory - added MonitorMemoryTest - minor refactoring in MonitorMemory - initial fix for NIFI-1731 (WARN/INFO logging) that was required by MonitorMemoryTest NIFI-1690 polishing NIFI-1690 address PR comments, removed default value for MEMORY_POOL_PROPERTY NIFI-1690 addressed latest PR comments NIFI-1690 fixed breaking changes
|
@alopresto just fixed it. Took me a while to figure out what's going on but you can read some details here: https://issues.apache.org/jira/browse/NIFI-1730 (last comment). Also, I am now going to have to make a separate PR for 0.x. Arghhhhhhh |
|
Merged and closed. Will do the same for PR 533. |