[GitHub] [geode] jdeppe-pivotal commented on issue #3083: GEODE-6280: Create new public module for the Management API

2019-01-17 Thread GitHub
@aditya87 - for your review [ Full content available at: https://github.com/apache/geode/pull/3083 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] jinmeiliao commented on issue #3088: GEODE-6283: have the management rest controller call the internal clu…

2019-01-17 Thread GitHub
@aditya87 @Petahhh [ Full content available at: https://github.com/apache/geode/pull/3088 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] jinmeiliao opened pull request #3088: GEODE-6283: have the management rest controller call the internal clu…

2019-01-17 Thread GitHub
…ster management service to actually create the region * inject cluster management service to the rest controller * have the controller produce json string for response * refactor the controller exception handler to always send back json string Thank you for submitting a contribution to Apache

[GitHub] [geode] kirklund closed pull request #3068: GEODE-6269: Extract StatisticsRegistry from InternalDistributedSystem

2019-01-17 Thread GitHub
[ pull request closed by kirklund ] [ Full content available at: https://github.com/apache/geode/pull/3068 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] smgoller merged pull request #43: GEODE-6147 - Fail benchmark task if average latency change is 5+%

2019-01-17 Thread GitBox
smgoller merged pull request #43: GEODE-6147 - Fail benchmark task if average latency change is 5+% URL: https://github.com/apache/geode-benchmarks/pull/43 This is an automated message from the Apache Git Service. To

[GitHub] [geode] kirklund closed pull request #3073: GEODE-6232: Remove ReadWriteLock from ManagementListener

2019-01-17 Thread GitHub
[ pull request closed by kirklund ] [ Full content available at: https://github.com/apache/geode/pull/3073 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] kirklund commented on issue #3071: GEODE-6232: Extract ResourceEventNotifier from InternalDistributedSystem

2019-01-17 Thread GitHub
This PR needs to wait for PR #3087 to be merged in. [ Full content available at: https://github.com/apache/geode/pull/3071 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode-benchmarks] smgoller opened pull request #43: GEODE-6147 - Fail benchmark task if average latency change is 5+%

2019-01-17 Thread GitHub
* Change ratio to difference * Add difference calculation to ProbeResult * Fail analyzeRun task if average latency difference is >= 5% Authored-by: Sean Goller [ Full content available at: https://github.com/apache/geode-benchmarks/pull/43 ] This message was relayed via gitbox.apache.org for

[GitHub] [geode-benchmarks] smgoller closed pull request #43: GEODE-6147 - Fail benchmark task if average latency change is 5+%

2019-01-17 Thread GitHub
[ pull request closed by smgoller ] [ Full content available at: https://github.com/apache/geode-benchmarks/pull/43 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode-benchmarks] smgoller closed pull request #42: GEODE-6276: use named cli options for scripts

2019-01-17 Thread GitHub
[ pull request closed by smgoller ] [ Full content available at: https://github.com/apache/geode-benchmarks/pull/42 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] smgoller closed pull request #3085: GEODE-6276: Use named cli option in benchmark

2019-01-17 Thread GitHub
[ pull request closed by smgoller ] [ Full content available at: https://github.com/apache/geode/pull/3085 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] smgoller merged pull request #42: GEODE-6276: use named cli options for scripts

2019-01-17 Thread GitBox
smgoller merged pull request #42: GEODE-6276: use named cli options for scripts URL: https://github.com/apache/geode-benchmarks/pull/42 This is an automated message from the Apache Git Service. To respond to the message,

[GitHub] smgoller opened a new pull request #43: GEODE-6147 - Fail benchmark task if average latency change is 5+%

2019-01-17 Thread GitBox
smgoller opened a new pull request #43: GEODE-6147 - Fail benchmark task if average latency change is 5+% URL: https://github.com/apache/geode-benchmarks/pull/43 * Change ratio to difference * Add difference calculation to ProbeResult * Fail analyzeRun task if average latency

[GitHub] [geode] jdeppe-pivotal commented on pull request #3088: GEODE-6283: have the management rest controller call the internal clu…

2019-01-17 Thread GitHub
It seems a bit redundant having 'CacheElement' in the name of these methods. It's also not entirely accurate seeing that the methods will result in both persistence and realization. [ Full content available at: https://github.com/apache/geode/pull/3088 ] This message was relayed via

[GitHub] [geode] jdeppe-pivotal commented on pull request #3088: GEODE-6283: have the management rest controller call the internal clu…

2019-01-17 Thread GitHub
It seems a bit redundant having 'CacheElement' in the name of these methods. It's also not entirely accurate seeing that the methods will result in both persistence and realization. I think they'd be better as just `cerate`, `update` and `delete` [ Full content available at:

[GitHub] [geode] jdeppe-pivotal commented on pull request #3088: GEODE-6283: have the management rest controller call the internal clu…

2019-01-17 Thread GitHub
It seems a bit redundant having 'CacheElement' in the name of these methods. It's also not entirely accurate seeing that the methods will result in both persistence and realization. I think they'd be better as just `create`, `update` and `delete`. [ Full content available at:

[GitHub] [geode] jdeppe-pivotal commented on pull request #3088: GEODE-6283: have the management rest controller call the internal clu…

2019-01-17 Thread GitHub
It seems a bit redundant having 'CacheElement' in the name of these methods. It's also not entirely accurate seeing that the methods will result in both persistence and realization. I think they'd be better as just `create`, `update` and `delete` [ Full content available at:

[GitHub] [geode-native] davebarnes97 closed pull request #435: GEODE-4337, GEODE-4346 Geode-native guide: Document function execution examples

2019-01-17 Thread GitHub
[ pull request closed by davebarnes97 ] [ Full content available at: https://github.com/apache/geode-native/pull/435 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] jinmeiliao commented on pull request #3083: GEODE-6280: Create new public module for the Management API

2019-01-17 Thread GitHub
should this be T instead? [ Full content available at: https://github.com/apache/geode/pull/3083 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] jdeppe-pivotal commented on pull request #3088: GEODE-6283: have the management rest controller call the internal clu…

2019-01-17 Thread GitHub
Seems more obvious to just use a `Properties` object here. I don't know why we made the underlying methods use an array of (implicit) `Object[2]` arguments. [ Full content available at: https://github.com/apache/geode/pull/3088 ] This message was relayed via gitbox.apache.org for

[GitHub] [geode] kohlmu-pivotal commented on pull request #3083: GEODE-6280: Create new public module for the Management API

2019-01-17 Thread GitHub
What is `V` supposed to be? `V extends *SomeSpecificType` or `V extends Object`? Without declaration of what `V` is, you might just as well return `Object` [ Full content available at: https://github.com/apache/geode/pull/3083 ] This message was relayed via gitbox.apache.org for

[GitHub] [geode] dschneider-pivotal opened pull request #3090: GEODE-6289: check for null className on createPdxInstanceFactory

2019-01-17 Thread GitHub
Thank you for submitting a contribution to Apache Geode. In order to streamline the review of the contribution we ask you to ensure the following steps have been taken: ### For all changes: - [ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message? - [ ] Has

[GitHub] [geode-benchmarks] smgoller opened pull request #45: Fix defaults and dependencies.

2019-01-17 Thread GitHub
* Add default for branch under test * Fetch dependencies before running benchmarks. Authored-by: Sean Goller [ Full content available at: https://github.com/apache/geode-benchmarks/pull/45 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] smgoller opened a new pull request #45: Fix defaults and dependencies.

2019-01-17 Thread GitBox
smgoller opened a new pull request #45: Fix defaults and dependencies. URL: https://github.com/apache/geode-benchmarks/pull/45 * Add default for branch under test * Fetch dependencies before running benchmarks. Authored-by: Sean Goller

[GitHub] [geode] jinmeiliao commented on pull request #3083: GEODE-6280: Create new public module for the Management API

2019-01-17 Thread GitHub
I see the need to move this functionality out of here. We can probably completely get rid of this method, and have an instantiator to instantiate the instance. e.g. ``` mutator.setCacheLoader(ConfigInstantiator.instantiate(config, cache)); ``` [ Full content available at:

[GitHub] [geode] kohlmu-pivotal commented on pull request #3083: GEODE-6280: Create new public module for the Management API

2019-01-17 Thread GitHub
Maybe `T extends Declarable` [ Full content available at: https://github.com/apache/geode/pull/3083 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode]

2019-01-17 Thread GitHub
[ Full content available at: https://github.com/apache/geode/pull/3083 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] jinmeiliao commented on pull request #3088: GEODE-6283: have the management rest controller call the internal clu…

2019-01-17 Thread GitHub
just to avoid having to create a Property and manipulate it based on what webapp it is. one webapp only requires security service, another requires security service and sslConfig, and another requires securityService and managementService. So instead of ``` Properties properties = new

[GitHub] [geode] jdeppe-pivotal commented on pull request #3083: GEODE-6280: Create new public module for the Management API

2019-01-17 Thread GitHub
Yes - thanks! [ Full content available at: https://github.com/apache/geode/pull/3083 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] jdeppe-pivotal commented on pull request #3083: GEODE-6280: Create new public module for the Management API

2019-01-17 Thread GitHub
Doesn't seem to be syntactically possible, but my Generic foo is weak... [ Full content available at: https://github.com/apache/geode/pull/3083 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] dschneider-pivotal opened pull request #3091: GEODE-6290: change PdxInstance.equals for empty class name

2019-01-17 Thread GitHub
PdxInstance.equals will only act as if an instance has a field with the default value if the class name is not empty. If the class name is empty it will now require that both instances have all the same identity fields. Thank you for submitting a contribution to Apache Geode. In order to

[GitHub] [geode] kohlmu-pivotal commented on pull request #3083: GEODE-6280: Create new public module for the Management API

2019-01-17 Thread GitHub
you'll have to define the `ConfigTypeInstantiator` as follows: `public interface ConfigTypeInstantiator{ V newInstance(T type) }` and then the `DeclarableTypeInstantiator` can become: `public class DeclarableTypeInstantiator implements ConfigTypeInstantiator{ @Override public T

[GitHub] [geode] kohlmu-pivotal commented on pull request #3083: GEODE-6280: Create new public module for the Management API

2019-01-17 Thread GitHub
you'll have to define the `ConfigTypeInstantiator` as follows: `public interface ConfigTypeInstantiator{ V newInstance(T type) }` and then the `DeclarableTypeInstantiator` can become: `public class DeclarableTypeInstantiator implements ConfigTypeInstantiator{ @Override public T

[GitHub] [geode] kohlmu-pivotal commented on pull request #3083: GEODE-6280: Create new public module for the Management API

2019-01-17 Thread GitHub
you'll have to define the `ConfigTypeInstantiator` as follows: `public interface ConfigTypeInstantiator{ V newInstance(T type) }` and then the `DeclarableTypeInstantiator` can become: `public class DeclarableTypeInstantiator implements ConfigTypeInstantiator{ @Override public T

[GitHub] [geode] kohlmu-pivotal commented on pull request #3083: GEODE-6280: Create new public module for the Management API

2019-01-17 Thread GitHub
We cannot change this method declaration. :( public API... or at least this Class is not in the "internal" namespace and therefore can be seen as public. We'd have to deprecate this in favor of the alternative of asking the `ConfigTypeInstantiator` create this instance [ Full content available

[GitHub] [geode] bschuchardt opened pull request #3093: Feature/geode 6244b

2019-01-17 Thread GitHub
Thank you for submitting a contribution to Apache Geode. In order to streamline the review of the contribution we ask you to ensure the following steps have been taken: ### For all changes: - [ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message? - [ ] Has

[GitHub] smgoller opened a new pull request #44: Add ability to fetch dependencies.

2019-01-17 Thread GitBox
smgoller opened a new pull request #44: Add ability to fetch dependencies. URL: https://github.com/apache/geode-benchmarks/pull/44 Authored-by: Sean Goller This is an automated message from the Apache Git Service. To respond

[GitHub] smgoller merged pull request #44: Add ability to fetch dependencies.

2019-01-17 Thread GitBox
smgoller merged pull request #44: Add ability to fetch dependencies. URL: https://github.com/apache/geode-benchmarks/pull/44 This is an automated message from the Apache Git Service. To respond to the message, please log on

[GitHub] [geode-benchmarks] smgoller closed pull request #44: Add ability to fetch dependencies.

2019-01-17 Thread GitHub
[ pull request closed by smgoller ] [ Full content available at: https://github.com/apache/geode-benchmarks/pull/44 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode-benchmarks] smgoller opened pull request #44: Add ability to fetch dependencies.

2019-01-17 Thread GitHub
Authored-by: Sean Goller [ Full content available at: https://github.com/apache/geode-benchmarks/pull/44 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] dschneider-pivotal opened pull request #3089: GEODE-6288: change isDeserializable to return true on JSON pdx

2019-01-17 Thread GitHub
Thank you for submitting a contribution to Apache Geode. In order to streamline the review of the contribution we ask you to ensure the following steps have been taken: ### For all changes: - [ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message? - [ ] Has

[GitHub] [geode] dschneider-pivotal closed pull request #3089: GEODE-6288: change isDeserializable to return true on JSON pdx

2019-01-17 Thread GitHub
[ pull request closed by dschneider-pivotal ] [ Full content available at: https://github.com/apache/geode/pull/3089 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode-benchmarks] smgoller closed pull request #45: Fix defaults and dependencies.

2019-01-17 Thread GitHub
[ pull request closed by smgoller ] [ Full content available at: https://github.com/apache/geode-benchmarks/pull/45 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] smgoller merged pull request #45: Fix defaults and dependencies.

2019-01-17 Thread GitBox
smgoller merged pull request #45: Fix defaults and dependencies. URL: https://github.com/apache/geode-benchmarks/pull/45 This is an automated message from the Apache Git Service. To respond to the message, please log on

[GitHub] [geode] jdeppe-pivotal opened pull request #3092: GEODE-6268: Reduce the number of iterations for unique port ranges in AvailablePortHelperIntegrationTest

2019-01-17 Thread GitHub
- This test was failing fairly consistently on Windows. An initial assumption was that the given port range would be completely free. This is typically true in a Linux/Docker environment but is not the case on Windows. - The logic of these modified tests is somewhat extreme as in actual use,

[GitHub] [geode] jinmeiliao commented on pull request #3088: GEODE-6283: have the management rest controller call the internal clu…

2019-01-17 Thread GitHub
sounds good. [ Full content available at: https://github.com/apache/geode/pull/3088 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] bschuchardt closed pull request #3051: Feature/geode 6244 sick member kicks out healthy member

2019-01-17 Thread GitHub
[ pull request closed by bschuchardt ] [ Full content available at: https://github.com/apache/geode/pull/3051 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] kirklund closed pull request #3087: GEODE-6285: Make MBean names immutable in loner

2019-01-17 Thread GitHub
[ pull request closed by kirklund ] [ Full content available at: https://github.com/apache/geode/pull/3087 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] bschuchardt commented on issue #3094: GEODE-6292 hot loop in GMSJoinLeave.findCoordinator

2019-01-17 Thread GitHub
This came from an internal ticket from a Pivotal customer: GEM-2367 [ Full content available at: https://github.com/apache/geode/pull/3094 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] dschneider-pivotal closed pull request #3090: GEODE-6289: check for null className on createPdxInstanceFactory

2019-01-17 Thread GitHub
[ pull request closed by dschneider-pivotal ] [ Full content available at: https://github.com/apache/geode/pull/3090 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] pivotal-eshu closed pull request #3082: GEODE-6212: Add unit test coverage for ValueComparisonHelper

2019-01-17 Thread GitHub
[ pull request closed by pivotal-eshu ] [ Full content available at: https://github.com/apache/geode/pull/3082 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] smgoller opened a new pull request #46: Add debugging because reasons.

2019-01-17 Thread GitBox
smgoller opened a new pull request #46: Add debugging because reasons. URL: https://github.com/apache/geode-benchmarks/pull/46 Authored-by: Sean Goller This is an automated message from the Apache Git Service. To respond to

[GitHub] [geode-benchmarks] smgoller closed pull request #46: Add debugging because reasons.

2019-01-17 Thread GitHub
[ pull request closed by smgoller ] [ Full content available at: https://github.com/apache/geode-benchmarks/pull/46 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode-benchmarks] smgoller opened pull request #46: Add debugging because reasons.

2019-01-17 Thread GitHub
Authored-by: Sean Goller [ Full content available at: https://github.com/apache/geode-benchmarks/pull/46 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] smgoller merged pull request #46: Add debugging because reasons.

2019-01-17 Thread GitBox
smgoller merged pull request #46: Add debugging because reasons. URL: https://github.com/apache/geode-benchmarks/pull/46 This is an automated message from the Apache Git Service. To respond to the message, please log on

[GitHub] [geode] bschuchardt opened pull request #3094: GEODE-6292 hot loop in GMSJoinLeave.findCoordinator

2019-01-17 Thread GitHub
Added a 1 second pause before retrying if no locators could be contacted and locator-wait-time has been set. Thank you for submitting a contribution to Apache Geode. In order to streamline the review of the contribution we ask you to ensure the following steps have been taken: ### For all

[GitHub] [geode] kirklund opened pull request #3095: GEODE-6294: Add disable-jmx config property

2019-01-17 Thread GitHub
This is needed in order to disable JMX in PersistentPartitionedRegionRegressionTest which will then prevent that test from deadlocking in the JMX ManagementListener. [ Full content available at: https://github.com/apache/geode/pull/3095 ] This message was relayed via gitbox.apache.org for

[GitHub] [geode] kirklund opened pull request #3096: GEODE-6232: Disable JMX in persistent PersistentPartitionedRegionRegressionTest

2019-01-17 Thread GitHub
The cause of the hang in GEODE-6232 is lock ordering that involves JMX ManagementListener. Since PersistentPartitionedRegionRegressionTest does not need JMX, this change will disable JMX in the test. Requires PR #3095 to be merged first. The commit in that PR is included in this PR's branch.