This is an automated email from the ASF dual-hosted git repository.
jxue pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/helix.git
from fc9027907 Bump jackson-databind in /metadata-store-directory-common
(#2029)
add 4cc91b7ac HELIX-705: created project infrastructure for
helix-view-aggregator module
add e619e17c3 HELIX-705: create interfaces and interactions among
HelixViewAggregator components
add 7bfbb3644 HELIX-705: implement view cluster config change related
logics and tests
add 440d109db HELIX-705: implemented SourceClusterDataProvider's core
logic and related tests
add 6b992c066 HELIX-705: Implement ViewClusterRefresher logic and tests
add 04f466e85 Change RoutingTableProvider to support direct aggregating
routing information from CurrentStates in each liveinstance. When
sourceDataType is set as CurrentState, RoutingTableProvider will listen on
CurrentStateChanges and refresh routing table from CurrentStates upon changes.
add 8d9db16c3 HELIX-797: add mssing package def to helix-view-aggregator's
pom and ivy files
add 87a5f1515 HELIX-708: adding basic metrics to HelixViewAggregator
add 8efd83f19 HELIX-711: implement distributed state model for helix view
aggregator
add 109717c16 minor improvements
add 258f49a8d HELIX-1233: fix broken test in helix view aggregator module
add 764d826d3 Update dependencies and fix compile errors
No new revisions were added by this update.
Summary of changes:
.../helix/api/config/ViewClusterSourceConfig.java | 118 ++++++
.../helix/common/caches/BasicClusterDataCache.java | 28 +-
.../controller/rebalancer/topology/Topology.java | 1 -
.../java/org/apache/helix/model/ClusterConfig.java | 62 +++
.../LICENSE | 0
.../NOTICE | 0
.../helix-view-aggregator-1.0.3-SNAPSHOT.ivy | 19 +-
.../pom.xml | 86 ++---
.../src/assemble/assembly.xml | 40 +-
.../src/main/config/log4j.properties | 13 +-
.../helix/view/aggregator/HelixViewAggregator.java | 424 +++++++++++++++++++++
.../view/aggregator/HelixViewAggregatorMain.java | 122 ++++++
.../SourceClusterConfigChangeAction.java | 137 +++++++
.../view/aggregator/ViewClusterRefresher.java | 424 +++++++++++++++++++++
.../apache/helix/view/common/ClusterViewEvent.java | 41 +-
.../dataprovider/SourceClusterDataProvider.java | 217 +++++++++++
.../view/monitoring/ViewAggregatorMonitor.java | 89 +++++
.../statemodel/DistViewAggregatorStateModel.java | 105 +++++
.../DistViewAggregatorStateModelFactory.java | 17 +-
.../src/test/conf/testng.xml | 20 +-
.../view/aggregator/TestViewClusterRefresher.java | 336 ++++++++++++++++
.../view/dataprovider/DataProviderTestUtil.java | 48 +++
.../TestSourceClusterConfigChangeAction.java | 133 +++++++
.../view/integration/TestHelixViewAggregator.java | 273 +++++++++++++
.../integration/TestSourceClusterDataProvider.java | 143 +++++++
.../ViewAggregatorIntegrationTestBase.java | 87 +++++
.../helix/view/mock/MockClusterEventProcessor.java | 79 ++++
.../view/mock/MockSourceClusterDataProvider.java | 101 +++++
.../helix/view/mock/MockViewClusterSpectator.java | 123 ++++++
.../view/monitoring/TestViewAggregatorMonitor.java | 92 +++++
.../src/test/resources/log4j.properties | 42 ++
pom.xml | 1 +
32 files changed, 3298 insertions(+), 123 deletions(-)
create mode 100644
helix-core/src/main/java/org/apache/helix/api/config/ViewClusterSourceConfig.java
copy {helix-admin-webapp => helix-view-aggregator}/LICENSE (100%)
copy {helix-admin-webapp => helix-view-aggregator}/NOTICE (100%)
copy
metadata-store-directory-common/metadata-store-directory-common-1.0.3-SNAPSHOT.ivy
=> helix-view-aggregator/helix-view-aggregator-1.0.3-SNAPSHOT.ivy (80%)
copy {helix-admin-webapp => helix-view-aggregator}/pom.xml (56%)
copy {helix-lock => helix-view-aggregator}/src/assemble/assembly.xml (51%)
copy helix-core/src/main/scripts/integration-test/testcases/dummy.sh =>
helix-view-aggregator/src/main/config/log4j.properties (64%)
mode change 100755 => 100644
create mode 100644
helix-view-aggregator/src/main/java/org/apache/helix/view/aggregator/HelixViewAggregator.java
create mode 100644
helix-view-aggregator/src/main/java/org/apache/helix/view/aggregator/HelixViewAggregatorMain.java
create mode 100644
helix-view-aggregator/src/main/java/org/apache/helix/view/aggregator/SourceClusterConfigChangeAction.java
create mode 100644
helix-view-aggregator/src/main/java/org/apache/helix/view/aggregator/ViewClusterRefresher.java
copy
zookeeper-api/src/main/java/org/apache/helix/zookeeper/exception/MultiZkException.java
=>
helix-view-aggregator/src/main/java/org/apache/helix/view/common/ClusterViewEvent.java
(52%)
create mode 100644
helix-view-aggregator/src/main/java/org/apache/helix/view/dataprovider/SourceClusterDataProvider.java
create mode 100644
helix-view-aggregator/src/main/java/org/apache/helix/view/monitoring/ViewAggregatorMonitor.java
create mode 100644
helix-view-aggregator/src/main/java/org/apache/helix/view/statemodel/DistViewAggregatorStateModel.java
copy
helix-agent/src/main/java/org/apache/helix/agent/AgentStateModelFactory.java =>
helix-view-aggregator/src/main/java/org/apache/helix/view/statemodel/DistViewAggregatorStateModelFactory.java
(64%)
copy helix-admin-webapp/src/main/webapp/index.jsp =>
helix-view-aggregator/src/test/conf/testng.xml (72%)
create mode 100644
helix-view-aggregator/src/test/java/org/apache/helix/view/aggregator/TestViewClusterRefresher.java
create mode 100644
helix-view-aggregator/src/test/java/org/apache/helix/view/dataprovider/DataProviderTestUtil.java
create mode 100644
helix-view-aggregator/src/test/java/org/apache/helix/view/dataprovider/TestSourceClusterConfigChangeAction.java
create mode 100644
helix-view-aggregator/src/test/java/org/apache/helix/view/integration/TestHelixViewAggregator.java
create mode 100644
helix-view-aggregator/src/test/java/org/apache/helix/view/integration/TestSourceClusterDataProvider.java
create mode 100644
helix-view-aggregator/src/test/java/org/apache/helix/view/integration/ViewAggregatorIntegrationTestBase.java
create mode 100644
helix-view-aggregator/src/test/java/org/apache/helix/view/mock/MockClusterEventProcessor.java
create mode 100644
helix-view-aggregator/src/test/java/org/apache/helix/view/mock/MockSourceClusterDataProvider.java
create mode 100644
helix-view-aggregator/src/test/java/org/apache/helix/view/mock/MockViewClusterSpectator.java
create mode 100644
helix-view-aggregator/src/test/java/org/apache/helix/view/monitoring/TestViewAggregatorMonitor.java
create mode 100644 helix-view-aggregator/src/test/resources/log4j.properties