ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swa...@apache.org
Subject [ambari] 01/01: Merge pull request #477 from swapanshridhar/AMBARI-22945-branch-feature-AMBARI-14714
Date Mon, 05 Mar 2018 22:21:08 GMT
This is an automated email from the ASF dual-hosted git repository.

swapan pushed a commit to branch branch-feature-AMBARI-14714
in repository https://gitbox.apache.org/repos/asf/ambari.git

commit 49fa0ac407e19fea0015b9eebca3be19330257cc
Merge: 9839aa3 2c844e8
Author: swapanshridhar <shridhar.swapan@gmail.com>
AuthorDate: Mon Mar 5 14:21:03 2018 -0800

    Merge pull request #477 from swapanshridhar/AMBARI-22945-branch-feature-AMBARI-14714
    
    AMBARI-22945. Enhance host components API to support multiple host component instances.

 .../ServiceComponentHostNotFoundException.java     |   9 +
 .../server/api/services/HostComponentService.java  | 228 +++++---
 .../api/services/RootClusterSettingService.java    |   3 -
 .../controller/AmbariManagementController.java     |  13 +
 .../controller/AmbariManagementControllerImpl.java |  81 ++-
 .../controller/ServiceComponentHostRequest.java    |  47 +-
 .../controller/ServiceComponentHostResponse.java   |  40 +-
 .../server/controller/ServiceComponentRequest.java |  28 +-
 .../controller/ServiceComponentResponse.java       |  52 +-
 .../internal/AbstractProviderModule.java           |   9 +-
 .../internal/ClientConfigResourceProvider.java     |   5 +
 .../internal/ComponentResourceProvider.java        |  50 +-
 .../internal/HostComponentResourceProvider.java    |  56 +-
 .../controller/internal/HostResourceProvider.java  |   2 +
 .../controller/internal/HostStatusHelper.java      |   8 +-
 .../internal/ServiceResourceProvider.java          |   1 +
 .../internal/StackDefinedPropertyProvider.java     |  16 +-
 .../metrics/MetricsCollectorHAClusterState.java    |  34 +-
 .../metrics/ganglia/GangliaPropertyProvider.java   |   1 -
 .../state/DefaultServiceCalculatedState.java       |   2 +-
 .../state/FlumeServiceCalculatedState.java         |   2 +-
 .../state/HBaseServiceCalculatedState.java         |   2 +-
 .../state/HDFSServiceCalculatedState.java          |   2 +-
 .../state/HiveServiceCalculatedState.java          |   2 +-
 .../state/OozieServiceCalculatedState.java         |   2 +-
 .../state/YARNServiceCalculatedState.java          |   2 +-
 .../orm/dao/HostComponentDesiredStateDAO.java      |  15 +-
 .../server/orm/dao/HostComponentStateDAO.java      |  15 +-
 .../orm/dao/ServiceComponentDesiredStateDAO.java   |  38 +-
 .../entities/HostComponentDesiredStateEntity.java  |  24 +-
 .../orm/entities/HostComponentStateEntity.java     |  72 ++-
 .../ServiceComponentDesiredStateEntity.java        |  23 +-
 .../org/apache/ambari/server/state/Cluster.java    |  16 +
 .../org/apache/ambari/server/state/Service.java    |   2 +-
 .../ambari/server/state/ServiceComponent.java      |   4 +
 .../server/state/ServiceComponentFactory.java      |   5 +-
 .../ambari/server/state/ServiceComponentHost.java  |  14 +-
 .../ambari/server/state/ServiceComponentImpl.java  |  55 +-
 .../apache/ambari/server/state/ServiceImpl.java    |  61 ++-
 .../ambari/server/state/cluster/ClusterImpl.java   |  52 ++
 .../svccomphost/ServiceComponentHostImpl.java      |  34 +-
 .../ambari/server/topology/AmbariContext.java      |   4 +-
 .../src/main/resources/Ambari-DDL-Derby-CREATE.sql |   6 +
 .../src/main/resources/Ambari-DDL-MySQL-CREATE.sql |   6 +
 .../main/resources/Ambari-DDL-Oracle-CREATE.sql    |   8 +-
 .../main/resources/Ambari-DDL-Postgres-CREATE.sql  |   6 +
 .../resources/Ambari-DDL-SQLAnywhere-CREATE.sql    |   6 +
 .../main/resources/Ambari-DDL-SQLServer-CREATE.sql |   7 +
 .../src/main/resources/key_properties.json         |   2 +-
 .../server/agent/HeartbeatProcessorTest.java       |  48 +-
 .../ambari/server/agent/TestHeartbeatHandler.java  |  56 +-
 .../ambari/server/agent/TestHeartbeatMonitor.java  |  34 +-
 .../api/query/render/MinimalRendererTest.java      |   8 +-
 .../configuration/RecoveryConfigHelperTest.java    |  18 +-
 .../AmbariCustomCommandExecutionHelperTest.java    |  46 +-
 .../AmbariManagementControllerImplTest.java        | 452 +++++++++++++---
 .../controller/AmbariManagementControllerTest.java | 584 +++++++++++----------
 .../BackgroundCustomCommandExecutionTest.java      |   4 +-
 ...reshYarnCapacitySchedulerReleaseConfigTest.java |   8 +-
 .../internal/ClientConfigResourceProviderTest.java |   4 +-
 .../internal/ComponentResourceProviderTest.java    |  23 +-
 .../HostComponentResourceProviderTest.java         |  25 +-
 .../internal/HostResourceProviderTest.java         |  26 +-
 .../controller/internal/JMXHostProviderTest.java   |   4 +-
 .../ServiceDependencyResourceProviderTest.java     |   4 +-
 ...ServiceGroupDependencyResourceProviderTest.java |   4 +-
 .../internal/StackDefinedPropertyProviderTest.java |  14 +-
 .../UpgradeSummaryResourceProviderTest.java        |   4 +-
 .../state/DefaultServiceCalculatedStateTest.java   |   4 +-
 .../state/FlumeServiceCalculatedStateTest.java     |   2 +-
 .../state/HBaseServiceCalculatedStateTest.java     |   6 +-
 .../state/HDFSServiceCalculatedStateTest.java      |   6 +-
 .../state/HiveServiceCalculatedStateTest.java      |  10 +-
 .../state/OozieServiceCalculatedStateTest.java     |   4 +-
 .../state/YarnServiceCalculatedStateTest.java      |   6 +-
 .../apache/ambari/server/events/EventsTest.java    |   2 +-
 .../upgrade/HostVersionOutOfSyncListenerTest.java  |   4 +-
 .../apache/ambari/server/orm/OrmTestHelper.java    |   6 +-
 .../upgrades/ComponentVersionCheckActionTest.java  |   2 +-
 .../upgrades/CreateAndConfigureActionTest.java     |   2 +-
 .../ambari/server/state/ServiceComponentTest.java  |  29 +-
 .../apache/ambari/server/state/ServiceTest.java    |  10 +-
 .../server/state/cluster/ClusterDeadlockTest.java  |   2 +-
 .../server/state/cluster/ClusterImplTest.java      |   8 +-
 .../ambari/server/state/cluster/ClusterTest.java   |  58 +-
 .../server/state/cluster/ClustersDeadlockTest.java |   2 +-
 .../ambari/server/state/cluster/ClustersTest.java  |  25 +-
 .../ConcurrentServiceConfigVersionTest.java        |   2 +-
 ...ceComponentHostConcurrentWriteDeadlockTest.java |  14 +-
 .../svccomphost/ServiceComponentHostTest.java      |  18 +-
 .../app/controllers/wizard/step8_controller.js     |  34 +-
 91 files changed, 1898 insertions(+), 896 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
swapan@apache.org.

Mime
View raw message