[ambari] 01/01: AMBARI-24712. Backport Execution Command Library from branch 'branch-feature-AMBARI-14714' to Ambari 2.8.0

2018-10-05 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

swapan pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git

commit afabe008c296206d19d3b94e3154660f624d2271
Merge: e175b93 21b0549
Author: swapanshridhar 
AuthorDate: Fri Oct 5 10:00:07 2018 -0700

AMBARI-24712. Backport Execution Command Library from branch 
'branch-feature-AMBARI-14714' to Ambari 2.8.0

 .../resource_management/libraries/__init__.py  |   1 +
 .../libraries/{ => execution_command}/__init__.py  |   7 -
 .../execution_command/cluster_settings.py  | 158 +++
 .../execution_command/execution_command.py | 462 +++
 .../libraries/execution_command/module_configs.py  |  80 
 .../libraries/execution_command/stack_settings.py  | 110 +
 .../libraries/functions/expect.py  |  40 +-
 .../resource_management/libraries/script/script.py |  47 ++
 .../src/test/python/TestExecutionCommand.py| 292 
 .../test/python/TestExecutionCommand_command.json  | 497 +
 ambari-server/src/test/python/unitTests.py |   4 +-
 11 files changed, 1687 insertions(+), 11 deletions(-)




[ambari] branch trunk updated (e175b93 -> afabe00)

2018-10-05 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

swapan pushed a change to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git.


from e175b93  AMBARI-24722. Failed to force_non_member_install a stack 
version on hosts. (#2415)
 add e02749c  AMBARI-24712. Backport Execution Command Library from branch 
'branch-feature-AMBARI-14714' to Ambari 2.8.0
 add 21b0549  AMBARI-24712. Updated cluster_settings.py fns if-else 
structure.
 new afabe00  AMBARI-24712. Backport Execution Command Library from branch 
'branch-feature-AMBARI-14714' to Ambari 2.8.0

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../resource_management/libraries/__init__.py  |   1 +
 .../libraries/execution_command}/__init__.py   |   0
 .../execution_command/cluster_settings.py  | 158 +++
 .../execution_command/execution_command.py | 462 +++
 .../libraries/execution_command/module_configs.py  |  80 
 .../libraries/execution_command/stack_settings.py  | 110 +
 .../libraries/functions/expect.py  |  40 +-
 .../resource_management/libraries/script/script.py |  47 ++
 .../src/test/python/TestExecutionCommand.py| 292 
 .../test/python/TestExecutionCommand_command.json  | 497 +
 ambari-server/src/test/python/unitTests.py |   4 +-
 11 files changed, 1687 insertions(+), 4 deletions(-)
 copy 
{contrib/management-packs/odpi-ambari-mpack/src/main/resources/stacks/ODPi/2.0/services/HIVE/package/scripts
 => 
ambari-common/src/main/python/resource_management/libraries/execution_command}/__init__.py
 (100%)
 mode change 100755 => 100644
 create mode 100644 
ambari-common/src/main/python/resource_management/libraries/execution_command/cluster_settings.py
 create mode 100644 
ambari-common/src/main/python/resource_management/libraries/execution_command/execution_command.py
 create mode 100644 
ambari-common/src/main/python/resource_management/libraries/execution_command/module_configs.py
 create mode 100644 
ambari-common/src/main/python/resource_management/libraries/execution_command/stack_settings.py
 create mode 100644 ambari-server/src/test/python/TestExecutionCommand.py
 create mode 100644 
ambari-server/src/test/python/TestExecutionCommand_command.json



[ambari] branch branch-feature-AMBARI-14714 updated (2e6ddbb -> c706f41)

2018-09-27 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from 2e6ddbb  [AMBARI 24678]  Config group mapping should allow multiple 
service instances (benyoka)
 add a520f0e  AMBARI-24651. Add cluster and stack settings properties to 
agent STOMP updates. (mpapirkovskyy)
 add 07b7009  AMBARI-24651. Add cluster and stack settings properties to 
agent STOMP updates. (mpapirkovskyy)
 add a1c0475  AMBARI-24651. Add cluster and stack settings properties to 
agent STOMP updates. (mpapirkovskyy)
 new c706f41  AMBARI-24651. Add cluster and stack settings properties to 
agent STOMP updates.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../python/ambari_agent/ConfigurationBuilder.py|   6 +-
 .../ambari/server/agent/ExecutionCommand.java  |  23 ---
 .../ambari/server/agent/HeartbeatMonitor.java  | 178 -
 .../server/agent/stomp/HostLevelParamsHolder.java  |  52 +-
 .../ambari/server/agent/stomp/MetadataHolder.java  |   3 +
 .../ambari/server/agent/stomp/TopologyHolder.java  |   2 +
 .../agent/stomp/dto/HostLevelParamsCluster.java|  12 +-
 .../server/agent/stomp/dto/MetadataCluster.java|  44 -
 .../server/agent/stomp/dto/TopologyComponent.java  |  15 ++
 .../AmbariCustomCommandExecutionHelper.java|   6 -
 .../controller/AmbariManagementController.java |  10 --
 .../controller/AmbariManagementControllerImpl.java |  98 +---
 .../controller/internal/HostResourceProvider.java  |   3 +-
 .../UpgradePlanInstallResourceProvider.java|   9 --
 .../ambari/server/events/MetadataUpdateEvent.java  |   3 +-
 .../upgrade/MpackInstallStateListener.java |  34 +++-
 .../server/metadata/ClusterMetadataGenerator.java  |  73 ++---
 .../org/apache/ambari/server/state/Cluster.java|   6 +-
 .../ambari/server/state/ServiceComponentHost.java  |   7 +
 .../ambari/server/state/ServiceGroupImpl.java  |   1 +
 .../ambari/server/state/cluster/ClusterImpl.java   |  29 +++-
 .../svccomphost/ServiceComponentHostImpl.java  |   5 +
 .../ambari/server/agent/TestHeartbeatHandler.java  |   4 +-
 .../ambari/server/agent/TestHeartbeatMonitor.java  |  14 +-
 .../agent/stomp/HostLevelParamsHolderTest.java |  20 +--
 .../controller/AmbariManagementControllerTest.java |  80 -
 .../apache/ambari/server/orm/OrmTestHelper.java|   1 +
 .../ambari/server/state/cluster/ClustersTest.java  |   4 +-
 28 files changed, 238 insertions(+), 504 deletions(-)



[ambari] 01/01: AMBARI-24651. Add cluster and stack settings properties to agent STOMP updates.

2018-09-27 Thread swapan
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 c706f41366616dc21206a74bac9081decb072692
Merge: 2e6ddbb a1c0475
Author: swapanshridhar 
AuthorDate: Thu Sep 27 10:50:54 2018 -0700

AMBARI-24651. Add cluster and stack settings properties to agent STOMP 
updates.

AMBARI-24651. Add cluster and stack settings properties to agent STOMP 
updates.

 .../python/ambari_agent/ConfigurationBuilder.py|   6 +-
 .../ambari/server/agent/ExecutionCommand.java  |  23 ---
 .../ambari/server/agent/HeartbeatMonitor.java  | 178 -
 .../server/agent/stomp/HostLevelParamsHolder.java  |  52 +-
 .../ambari/server/agent/stomp/MetadataHolder.java  |   3 +
 .../ambari/server/agent/stomp/TopologyHolder.java  |   2 +
 .../agent/stomp/dto/HostLevelParamsCluster.java|  12 +-
 .../server/agent/stomp/dto/MetadataCluster.java|  44 -
 .../server/agent/stomp/dto/TopologyComponent.java  |  15 ++
 .../AmbariCustomCommandExecutionHelper.java|   6 -
 .../controller/AmbariManagementController.java |  10 --
 .../controller/AmbariManagementControllerImpl.java |  98 +---
 .../controller/internal/HostResourceProvider.java  |   3 +-
 .../UpgradePlanInstallResourceProvider.java|   9 --
 .../ambari/server/events/MetadataUpdateEvent.java  |   3 +-
 .../upgrade/MpackInstallStateListener.java |  34 +++-
 .../server/metadata/ClusterMetadataGenerator.java  |  73 ++---
 .../org/apache/ambari/server/state/Cluster.java|   6 +-
 .../ambari/server/state/ServiceComponentHost.java  |   7 +
 .../ambari/server/state/ServiceGroupImpl.java  |   1 +
 .../ambari/server/state/cluster/ClusterImpl.java   |  29 +++-
 .../svccomphost/ServiceComponentHostImpl.java  |   5 +
 .../ambari/server/agent/TestHeartbeatHandler.java  |   4 +-
 .../ambari/server/agent/TestHeartbeatMonitor.java  |  14 +-
 .../agent/stomp/HostLevelParamsHolderTest.java |  20 +--
 .../controller/AmbariManagementControllerTest.java |  80 -
 .../apache/ambari/server/orm/OrmTestHelper.java|   1 +
 .../ambari/server/state/cluster/ClustersTest.java  |   4 +-
 28 files changed, 238 insertions(+), 504 deletions(-)



[ambari] branch branch-feature-AMBARI-14714 updated (e59014b -> c15b1c3)

2018-09-05 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from e59014b  Revert "AMBARI-24566: Ambari-server cannot start"
 add 6d61582  AMBARI-24427: Fix broken Python UTs in ambari-server code -- 
Part 2
 add 862faa3  AMBARI-24427: Fix broken Python UTs in ambari-server code -- 
part 2
 add 2052814  AMBARI-24427: Fix broken Python UTs in ambari-server code -- 
part 2
 add ab7cf48  AMBARI-24427: Fix broken Python UTs in ambari-server code -- 
part 2
 add 6e719be  AMBARI-24427: Fix broken Python UTs in ambari-server code -- 
part 2
 add 9cc8bd7  AMBARI-24427: Fix broken Python UTs in ambari-server code -- 
part 2
 add da98dcd  AMBARI-24427: Fix broken Python UTs in ambari-server code -- 
part 2
 add a5054f5  AMBARI-24427: Fix broken Python UTs in ambari-server code -- 
part 2
 add 5d1e530  AMBARI-24427: Fix broken Python UTs in ambari-server code -- 
Part 2
 add 3ad80b3  AMBARI-24427: Fix broken Python UTs in ambari-server code -- 
Part 2
 add 3ad0938  Merge branch 'branch-feature-AMBARI-14714' into 24427
 add abed1ee  AMBARI-24427: Fix broken Python UTs in ambari-server code -- 
Part 2
 add d6e5680  AMBARI-24427: Fix broken Python UTs in ambari-server code -- 
Part 2
 add d067ccb  AMBARI-24427: Fix broken Python UTs in ambari-server code -- 
Part 2
 add 49e6193  AMBARI-24427: Fix broken Python UTs in ambari-server code -- 
Part 2
 add 924f1c0  Merge branch 'branch-feature-AMBARI-14714' into 24427
 add 86491f3  AMBARI-24427: Fix broken Python UTs in ambari-server code -- 
Part 2
 new c15b1c3  AMBARI-24427: Fix broken Python UTs in ambari-server code -- 
Part 2

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../libraries/functions/repository_util.py |   5 +-
 .../libraries/functions/stack_features.py  |  10 +-
 .../libraries/functions/stack_select.py|   4 +-
 .../libraries/functions/stack_tools.py |   6 +-
 .../libraries/functions/upgrade_summary.py |   2 +-
 .../resource_management/libraries/script/script.py |   4 +-
 .../stack-hooks/after-INSTALL/scripts/hook.py  |   4 +-
 .../stack-hooks/after-INSTALL/scripts/params.py|   3 +-
 .../stack-hooks/before-ANY/scripts/hook.py |   7 +-
 .../stack-hooks/before-ANY/scripts/params.py   |  10 +-
 .../before-ANY/scripts/shared_initialization.py|   5 +-
 .../stack-hooks/before-START/scripts/hook.py   |  10 +-
 .../stack-hooks/before-START/scripts/params.py |   6 +-
 ambari-server/src/test/python/TestMpackAdvisor.py  |  15 +++
 .../src/test/python/TestServiceAdvisor.py  |  23 +
 ambari-server/src/test/python/TestStackFeature.py  |  59 +---
 ambari-server/src/test/python/TestStackSelect.py   | 103 ++---
 .../src/test/python/TestUpgradeSummary.py  |   6 +-
 .../test/python/custom_actions/TestCheckHost.py|   5 +-
 .../python/custom_actions/TestClearRepoCache.py|   3 -
 .../test/python/custom_actions/TestRemoveBits.py   |   2 -
 .../test/python/custom_actions/TestUpdateRepo.py   |   3 -
 .../configs/install_packages_config.json   |  23 -
 .../custom_actions/configs/mpack_packages.json |  12 ++-
 .../python/custom_actions/test_mpack_install.py|  37 
 .../python/custom_actions/test_ru_execute_tasks.py |   1 -
 .../test/python/host_scripts/TestAlertDiskSpace.py |   5 +-
 .../test/python/host_scripts/TestAlertUlimit.py|   2 +-
 .../src/test/python/stacks/configs/default.json|  25 -
 .../python/stacks/configs/repository_file.json |  58 +---
 .../src/test/python/stacks/configs/secured.json|  19 
 .../python/stacks/configs/secured_no_jce_name.json |  46 -
 .../after-INSTALL/test_after_install.py|  38 
 .../stack-hooks/before-ANY/test_before_any.py  |  20 ++--
 .../before-INSTALL/test_before_install.py  |  22 ++---
 .../before-SET_KEYTAB/test_before_set_keytab.py|   2 -
 .../stack-hooks/before-START/test_before_start.py  |   4 +-
 .../src/test/python/stacks/utils/RMFTestCase.py|  57 
 ambari-server/src/test/python/unitTests.py |   3 +
 .../ru_execute_tasks_namenode_prepare.json |   6 +-
 40 files changed, 435 insertions(+), 240 deletions(-)



[ambari] 01/01: AMBARI-24427: Fix broken Python UTs in ambari-server code -- Part 2

2018-09-05 Thread swapan
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 c15b1c34c68713eb9dc0cf9fa8a0fc331ae8d569
Merge: e59014b 86491f3
Author: swapanshridhar 
AuthorDate: Wed Sep 5 01:51:07 2018 -0700

AMBARI-24427: Fix broken Python UTs in ambari-server code -- Part 2

AMBARI-24427: Fix broken Python UTs in ambari-server code -- Part 2

 .../libraries/functions/repository_util.py |   5 +-
 .../libraries/functions/stack_features.py  |  10 +-
 .../libraries/functions/stack_select.py|   4 +-
 .../libraries/functions/stack_tools.py |   6 +-
 .../libraries/functions/upgrade_summary.py |   2 +-
 .../resource_management/libraries/script/script.py |   4 +-
 .../stack-hooks/after-INSTALL/scripts/hook.py  |   4 +-
 .../stack-hooks/after-INSTALL/scripts/params.py|   3 +-
 .../stack-hooks/before-ANY/scripts/hook.py |   7 +-
 .../stack-hooks/before-ANY/scripts/params.py   |  10 +-
 .../before-ANY/scripts/shared_initialization.py|   5 +-
 .../stack-hooks/before-START/scripts/hook.py   |  10 +-
 .../stack-hooks/before-START/scripts/params.py |   6 +-
 ambari-server/src/test/python/TestMpackAdvisor.py  |  15 +++
 .../src/test/python/TestServiceAdvisor.py  |  23 +
 ambari-server/src/test/python/TestStackFeature.py  |  59 +---
 ambari-server/src/test/python/TestStackSelect.py   | 103 ++---
 .../src/test/python/TestUpgradeSummary.py  |   6 +-
 .../test/python/custom_actions/TestCheckHost.py|   5 +-
 .../python/custom_actions/TestClearRepoCache.py|   3 -
 .../test/python/custom_actions/TestRemoveBits.py   |   2 -
 .../test/python/custom_actions/TestUpdateRepo.py   |   3 -
 .../configs/install_packages_config.json   |  23 -
 .../custom_actions/configs/mpack_packages.json |  12 ++-
 .../python/custom_actions/test_mpack_install.py|  37 
 .../python/custom_actions/test_ru_execute_tasks.py |   1 -
 .../test/python/host_scripts/TestAlertDiskSpace.py |   5 +-
 .../test/python/host_scripts/TestAlertUlimit.py|   2 +-
 .../src/test/python/stacks/configs/default.json|  25 -
 .../python/stacks/configs/repository_file.json |  58 +---
 .../src/test/python/stacks/configs/secured.json|  19 
 .../python/stacks/configs/secured_no_jce_name.json |  46 -
 .../after-INSTALL/test_after_install.py|  38 
 .../stack-hooks/before-ANY/test_before_any.py  |  20 ++--
 .../before-INSTALL/test_before_install.py  |  22 ++---
 .../before-SET_KEYTAB/test_before_set_keytab.py|   2 -
 .../stack-hooks/before-START/test_before_start.py  |   4 +-
 .../src/test/python/stacks/utils/RMFTestCase.py|  57 
 ambari-server/src/test/python/unitTests.py |   3 +
 .../ru_execute_tasks_namenode_prepare.json |   6 +-
 40 files changed, 435 insertions(+), 240 deletions(-)



[ambari] branch branch-feature-AMBARI-14714 updated (23c2797 -> e59014b)

2018-08-31 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from 23c2797  AMBARI-24566: Ambari-server cannot start
 add c50a0bc  Revert "AMBARI-24566: Ambari-server cannot start"
 new e59014b  Revert "AMBARI-24566: Ambari-server cannot start"

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../apache/ambari/server/stack/StackManager.java   | 39 +++---
 1 file changed, 12 insertions(+), 27 deletions(-)



[ambari] 01/01: Revert "AMBARI-24566: Ambari-server cannot start"

2018-08-31 Thread swapan
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 e59014bc34660e518352dc16208e962a699e5bfd
Merge: 23c2797 c50a0bc
Author: swapanshridhar 
AuthorDate: Fri Aug 31 12:37:25 2018 -0700

Revert "AMBARI-24566: Ambari-server cannot start"

 .../apache/ambari/server/stack/StackManager.java   | 39 +++---
 1 file changed, 12 insertions(+), 27 deletions(-)



[ambari] 01/01: AMBARI-24566: Ambari-server cannot start

2018-08-30 Thread swapan
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 23c2797bfb6108cbef9e2ce1a45c889fd7e82825
Merge: 157131a 216d4b8
Author: swapanshridhar 
AuthorDate: Thu Aug 30 13:59:15 2018 -0700

AMBARI-24566: Ambari-server cannot start

AMBARI-24566: Ambari-server cannot start

 .../apache/ambari/server/stack/StackManager.java   | 39 +++---
 1 file changed, 27 insertions(+), 12 deletions(-)



[ambari] branch branch-feature-AMBARI-14714 updated (157131a -> 23c2797)

2018-08-30 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from 157131a  Merge branch 'trunk' into branch-feature-AMBARI-14714
 add 216d4b8  AMBARI-24566: Ambari-server cannot start
 new 23c2797  AMBARI-24566: Ambari-server cannot start

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../apache/ambari/server/stack/StackManager.java   | 39 +++---
 1 file changed, 27 insertions(+), 12 deletions(-)



[ambari] branch branch-feature-AMBARI-14714 updated (c9094d2 -> aced8a2)

2018-08-30 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from c9094d2  AMBARI-24567. Commenting call to 
checkAndAddExternalCollectorHosts() function to avoid POST HOST API call 
failure.
 add 777ac43  Agent configs were not updated during UI deploy. 
(mpapirkovskyy)
 new aced8a2  Agent configs were not updated during UI deploy. 
(mpapirkovskyy)

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../server/controller/AmbariManagementControllerImpl.java  | 14 ++
 1 file changed, 14 insertions(+)



[ambari] 01/01: Agent configs were not updated during UI deploy. (mpapirkovskyy)

2018-08-30 Thread swapan
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 aced8a231c2d10598c99b3d8ae938b1269d6f73c
Merge: c9094d2 777ac43
Author: swapanshridhar 
AuthorDate: Thu Aug 30 10:25:41 2018 -0700

Agent configs were not updated during UI deploy. (mpapirkovskyy)

Agent configs were not updated during UI deploy. (mpapirkovskyy)

 .../server/controller/AmbariManagementControllerImpl.java  | 14 ++
 1 file changed, 14 insertions(+)



[ambari] branch branch-feature-AMBARI-14714 updated (22e89b9 -> c9094d2)

2018-08-29 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from 22e89b9  fixing 1 failing test
 add 805a6bd  AMBARI-24567. Commenting call to 
checkAndAddExternalCollectorHosts() function to avoid POST HOST API call 
failure.
 new c9094d2  AMBARI-24567. Commenting call to 
checkAndAddExternalCollectorHosts() function to avoid POST HOST API call 
failure.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../ambari/server/controller/internal/AbstractProviderModule.java  | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)



[ambari] 01/01: AMBARI-24567. Commenting call to checkAndAddExternalCollectorHosts() function to avoid POST HOST API call failure.

2018-08-29 Thread swapan
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 c9094d2f2e4d478a09be32806a43d6da0bbda73e
Merge: 22e89b9 805a6bd
Author: swapanshridhar 
AuthorDate: Wed Aug 29 19:06:56 2018 -0700

AMBARI-24567. Commenting call to checkAndAddExternalCollectorHosts() 
function to avoid POST HOST API call failure.

AMBARI-24567. Commenting call to checkAndAddExternalCollectorHosts() 
function to avoid POST HOST API call failure.

 .../ambari/server/controller/internal/AbstractProviderModule.java  | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)



[ambari] branch branch-feature-AMBARI-14714 updated (f898ba7 -> 9224d91)

2018-08-23 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from f898ba7  [AMBARI-24492] Refactor select mpacks view (#2099)
 add 6838fcd  AMBARI-24427: Fix broken Python UTs in ambari-server code -- 
Part 1
 add 3433361  AMBARI-24427: Fix broken Python UTs in ambari-server code -- 
Part 1
 add a6fb7e4  Merge remote-tracking branch 
'upstream/branch-feature-AMBARI-14714' into 24427
 add 6d31e8a  AMBARI-24468: Add ClusterSettings and StackSettings module in 
execution_command library
 add 94917c1  AMBARI-24468: Add ClusterSettings and StackSettings module in 
execution_command library`
 add 1e10799  AMBARI-24468: Add ClusterSettings and StackSettings module in 
execution_command library
 add c6112bb  AMBARI-24468: Add ClusterSettings and StackSettings module in 
execution_command library
 add 540192c  AMBARI-24468: Add ClusterSettings and StackSettings module in 
execution_command library
 add 64b92de  AMBARI-24468: Add ClusterSettings and StackSettings module in 
execution_command library
 add 4eecca4  AMBARI-24468: Add ClusterSettings and StackSettings module in 
execution_command library
 new 9224d91  [AMBARI-24468] Add ClusterSettings and StackSettings module 
in execution_command library

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../execution_command/cluster_settings.py  | 150 +
 .../execution_command/execution_command.py |  42 --
 .../libraries/execution_command/module_configs.py  |   7 +
 .../libraries/execution_command/stack_settings.py  | 109 +++
 .../libraries/functions/stack_features.py  |  20 +--
 .../libraries/functions/stack_select.py|  12 +-
 .../libraries/functions/stack_settings.py  |   1 -
 .../resource_management/libraries/script/script.py |  99 +++---
 .../src/test/python/TestExecutionCommand.py|  57 +++-
 ambari-common/src/test/python/command.json |  40 +-
 .../stack-hooks/after-INSTALL/scripts/params.py|   3 +-
 .../stack-hooks/before-ANY/scripts/params.py   |  14 +-
 .../stack-hooks/before-INSTALL/scripts/params.py   |   8 +-
 .../stack-hooks/before-START/scripts/params.py |   6 +-
 14 files changed, 462 insertions(+), 106 deletions(-)
 create mode 100644 
ambari-common/src/main/python/resource_management/libraries/execution_command/cluster_settings.py
 create mode 100644 
ambari-common/src/main/python/resource_management/libraries/execution_command/stack_settings.py



[ambari] 01/01: [AMBARI-24468] Add ClusterSettings and StackSettings module in execution_command library

2018-08-23 Thread swapan
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 9224d91d63f92d0ae496c9747ad9e9d433f08eaf
Merge: f898ba7 4eecca4
Author: swapanshridhar 
AuthorDate: Thu Aug 23 00:32:53 2018 -0700

[AMBARI-24468] Add ClusterSettings and StackSettings module in 
execution_command library

[AMBARI-24468] Add ClusterSettings and StackSettings module in 
execution_command library

 .../execution_command/cluster_settings.py  | 150 +
 .../execution_command/execution_command.py |  42 --
 .../libraries/execution_command/module_configs.py  |   7 +
 .../libraries/execution_command/stack_settings.py  | 109 +++
 .../libraries/functions/stack_features.py  |  20 +--
 .../libraries/functions/stack_select.py|  12 +-
 .../libraries/functions/stack_settings.py  |   1 -
 .../resource_management/libraries/script/script.py |  99 +++---
 .../src/test/python/TestExecutionCommand.py|  57 +++-
 ambari-common/src/test/python/command.json |  40 +-
 .../stack-hooks/after-INSTALL/scripts/params.py|   3 +-
 .../stack-hooks/before-ANY/scripts/params.py   |  14 +-
 .../stack-hooks/before-INSTALL/scripts/params.py   |   8 +-
 .../stack-hooks/before-START/scripts/params.py |   6 +-
 14 files changed, 462 insertions(+), 106 deletions(-)




[ambari] 01/01: AMBARI-24502. Remove Unused imports.

2018-08-17 Thread swapan
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 ea28513f197263e7bb9dc9cb1beb8ba77521c878
Merge: baada3d 0d052c5
Author: swapanshridhar 
AuthorDate: Fri Aug 17 18:03:00 2018 -0700

AMBARI-24502. Remove Unused imports.

AMBARI-24502. Remove Unused imports.

 .../apache/ambari/server/events/publishers/AgentCommandsPublisher.java | 2 --
 .../server/controller/AmbariCustomCommandExecutionHelperTest.java  | 3 ---
 2 files changed, 5 deletions(-)



[ambari] branch branch-feature-AMBARI-14714 updated (baada3d -> ea28513)

2018-08-17 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from baada3d  [AMBARI-24501] - Update UpgradeSummary to Include Mpack 
Information (#2110)
 add 0d052c5  AMBARI-24502. Remove Unused imports.
 new ea28513  AMBARI-24502. Remove Unused imports.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../apache/ambari/server/events/publishers/AgentCommandsPublisher.java | 2 --
 .../server/controller/AmbariCustomCommandExecutionHelperTest.java  | 3 ---
 2 files changed, 5 deletions(-)



[ambari] branch branch-feature-AMBARI-14714 updated (aec7278 -> be5a903)

2018-08-16 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from aec7278  Test fix post trunk merge.
 add c5dd057  AMBARI-24493. Skipping Ambari Server Python UTs as builds are 
failing. (AMBARI-24427 tracks fixing it)
 new be5a903  AMBARI-24493. Skipping Ambari Server Python UTs as builds are 
failing (AMBARI-24427 tracks fixing it)

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ambari-server/src/test/python/TestServiceAdvisor.py| 2 ++
 ambari-server/src/test/python/TestStackFeature.py  | 2 ++
 ambari-server/src/test/python/TestStackSelect.py   | 2 ++
 ambari-server/src/test/python/custom_actions/TestRemoveBits.py | 3 ++-
 ambari-server/src/test/python/custom_actions/test_mpack_install.py | 2 ++
 .../test/python/stacks/stack-hooks/after-INSTALL/test_after_install.py | 2 ++
 .../src/test/python/stacks/stack-hooks/before-ANY/test_before_any.py   | 2 ++
 .../python/stacks/stack-hooks/before-INSTALL/test_before_install.py| 2 ++
 .../stacks/stack-hooks/before-SET_KEYTAB/test_before_set_keytab.py | 2 ++
 .../test/python/stacks/stack-hooks/before-START/test_before_start.py   | 2 ++
 10 files changed, 20 insertions(+), 1 deletion(-)



[ambari] 01/01: AMBARI-24493. Skipping Ambari Server Python UTs as builds are failing (AMBARI-24427 tracks fixing it)

2018-08-16 Thread swapan
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 be5a903a3a86cac8bb831706403f05826d51764b
Merge: aec7278 c5dd057
Author: swapanshridhar 
AuthorDate: Thu Aug 16 19:12:27 2018 -0700

AMBARI-24493. Skipping Ambari Server Python UTs as builds are failing 
(AMBARI-24427 tracks fixing it)

AMBARI-24493. Skipping Ambari Server Python UTs as builds are failing 
(AMBARI-24427 tracks fixing it)

 ambari-server/src/test/python/TestServiceAdvisor.py| 2 ++
 ambari-server/src/test/python/TestStackFeature.py  | 2 ++
 ambari-server/src/test/python/TestStackSelect.py   | 2 ++
 ambari-server/src/test/python/custom_actions/TestRemoveBits.py | 3 ++-
 ambari-server/src/test/python/custom_actions/test_mpack_install.py | 2 ++
 .../test/python/stacks/stack-hooks/after-INSTALL/test_after_install.py | 2 ++
 .../src/test/python/stacks/stack-hooks/before-ANY/test_before_any.py   | 2 ++
 .../python/stacks/stack-hooks/before-INSTALL/test_before_install.py| 2 ++
 .../stacks/stack-hooks/before-SET_KEYTAB/test_before_set_keytab.py | 2 ++
 .../test/python/stacks/stack-hooks/before-START/test_before_start.py   | 2 ++
 10 files changed, 20 insertions(+), 1 deletion(-)



[ambari] 01/01: Test fix post trunk merge.

2018-08-16 Thread swapan
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 aec72781892e9346f5b187afb85d97a533145cbb
Merge: e920e6b 2583826
Author: swapanshridhar 
AuthorDate: Thu Aug 16 16:58:19 2018 -0700

Test fix post trunk merge.

Test fix post trunk merge.

 ambari-web/app/controllers/wizard/step7/assign_master_controller.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



[ambari] branch branch-feature-AMBARI-14714 updated (e920e6b -> aec7278)

2018-08-16 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from e920e6b  Revert "AMBARI-24280 Fix ambari-admin UI unit tests. 
(ababiichuk)"
 add 2583826  Test fix post trunk merge.
 new aec7278  Test fix post trunk merge.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ambari-web/app/controllers/wizard/step7/assign_master_controller.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



[ambari] 01/01: Revert "AMBARI-24280 Fix ambari-admin UI unit tests. (ababiichuk)"

2018-08-16 Thread swapan
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 e920e6b49190b092dcadaee9873bd480a846c1d3
Merge: b1e9369 a2b6a2d
Author: swapanshridhar 
AuthorDate: Thu Aug 16 14:13:00 2018 -0700

Revert "AMBARI-24280 Fix ambari-admin UI unit tests. (ababiichuk)"

Revert "AMBARI-24280 Fix ambari-admin UI unit tests. (ababiichuk)"

 ambari-admin/pom.xml   |  2 ++
 .../src/main/resources/ui/admin-web/package.json   |  9 +++---
 .../test/unit/controllers/AppCtrl_test.js  | 17 +-
 .../controllers/ClusterInformationCtrl_test.js |  6 ++--
 .../stackVersions/StackversionsListCtrl_test.js|  2 +-
 .../test/unit/directives/comboSearch_test.js   |  2 +-
 .../test/unit/directives/editablelist_test.js  | 37 +-
 .../test/unit/services/AddRepositoryModal_test.js  |  2 +-
 .../test/unit/services/PermissionSaver_test.js |  8 ++---
 .../test/unit/services/UnsavedDialog__test.js  |  2 +-
 .../admin-web/test/unit/services/Utility_test.js   |  8 ++---
 11 files changed, 38 insertions(+), 57 deletions(-)



[ambari] branch branch-feature-AMBARI-14714 updated (b1e9369 -> e920e6b)

2018-08-16 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from b1e9369  [AMBARI-24481] Orchestration: Remove singular upgrade pack 
from UpgradeContext; resolve ServiceGroup names (#2081)
 add a2b6a2d  Revert "AMBARI-24280 Fix ambari-admin UI unit tests. 
(ababiichuk)"
 new e920e6b  Revert "AMBARI-24280 Fix ambari-admin UI unit tests. 
(ababiichuk)"

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ambari-admin/pom.xml   |  2 ++
 .../src/main/resources/ui/admin-web/package.json   |  9 +++---
 .../test/unit/controllers/AppCtrl_test.js  | 17 +-
 .../controllers/ClusterInformationCtrl_test.js |  6 ++--
 .../stackVersions/StackversionsListCtrl_test.js|  2 +-
 .../test/unit/directives/comboSearch_test.js   |  2 +-
 .../test/unit/directives/editablelist_test.js  | 37 +-
 .../test/unit/services/AddRepositoryModal_test.js  |  2 +-
 .../test/unit/services/PermissionSaver_test.js |  8 ++---
 .../test/unit/services/UnsavedDialog__test.js  |  2 +-
 .../admin-web/test/unit/services/Utility_test.js   |  8 ++---
 11 files changed, 38 insertions(+), 57 deletions(-)



[ambari] branch branch-feature-AMBARI-14714 updated (ba484d5 -> 6fbc7d9)

2018-07-19 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from ba484d5  AMBARI-24218. Add UTs for Mpack Advisor.
 add aeea485  AMBARI-24194: Fix broken Java UTs in ambari-server code -- 
Part 1
 add 39c4314  Merge branch 'branch-feature-AMBARI-14714' into 24194
 add 1f34b9b  Merge remote-tracking branch 
'upstream/branch-feature-AMBARI-14714' into 24194
 add 262e499  AMBARI-24194: recover accidentally deleted code
 add c290feb  AMBARI-24194: recover accidentally deleted code
 add e4a640c  Merge branch '24194' of https://github.com/scottduan/ambari 
into 24194
 add 337cfd6  Merge branch '24194' of https://github.com/scottduan/ambari 
into 24194
 add 1eec007  Merge branch '24194' of https://github.com/scottduan/ambari 
into 24194
 add aba230e  Merge branch '24194' of https://github.com/scottduan/ambari 
into 24194
 add 718f92e  Merge branch '24194' of https://github.com/scottduan/ambari 
into 24194
 add 9fd30f2  Merge remote-tracking branch 
'upstream/branch-feature-AMBARI-14714' into 24194
 add 6dc95bb  Merge remote-tracking branch 
'upstream/branch-feature-AMBARI-14714' into 24194
 add 85d7cd9  Merge branch '24194' of https://github.com/scottduan/ambari 
into 24194
 add 95dcfb6  AMBARI-24194: Fix Ambari-server java UT cases -- part 2
 add 3a66c66  Merge remote-tracking branch 
'upstream/branch-feature-AMBARI-14714' into 24194
 add 1ab8e7e  Merge remote-tracking branch 
'upstream/branch-feature-AMBARI-14714' into 24194
 add 2bd6e45  AMBARI-24194: Fix broken ambari-server Java UT cases -- Part 2
 add 82a36f5  Merge remote-tracking branch 
'upstream/branch-feature-AMBARI-14714' into 24194
 add cca83b5  AMBARI-24194: Fix broken Java UTs in ambari-server code -- 
Part 3
 add ba50ab0  AMBARI-24194: Fix broken Java UTs in ambari-server code -- 
Part 3
 add a04707d  AMBARI-24194: Fix broken Java UTs in ambari-server code -- 
Part 3
 new 6fbc7d9  Patch to fix broken UT cases in collections, configuration, 
credentialapi, events, hooks.users, ldap, logging, metadata, 
metric.system.impl, notifications, proxy, resources, sample.checks, scheduler, 
security, serveraction

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../ambari/server/agent/RecoveryConfigHelper.java  |  6 ++
 .../metrics/system/impl/JvmMetricsSource.java  | 13 -
 .../apache/ambari/server/orm/dao/ClusterDAO.java   |  2 +-
 .../org/apache/ambari/server/state/ConfigImpl.java |  2 +-
 .../configuration/RecoveryConfigHelperTest.java|  3 +-
 .../AbstractPrepareKerberosServerActionTest.java   | 18 +-
 .../upgrades/CreateAndConfigureActionTest.java | 20 +++
 .../upgrades/KerberosKeytabsActionTest.java| 67 --
 .../upgrades/OozieConfigCalculationTest.java   |  6 ++
 9 files changed, 111 insertions(+), 26 deletions(-)



[ambari] 01/01: Patch to fix broken UT cases in collections, configuration, credentialapi, events, hooks.users, ldap, logging, metadata, metric.system.impl, notifications, proxy, resources, sample.che

2018-07-19 Thread swapan
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 6fbc7d9cf92b383d693e4c6d310b08401ed477da
Merge: ba484d5 a04707d
Author: swapanshridhar 
AuthorDate: Thu Jul 19 14:00:47 2018 -0700

Patch to fix broken UT cases in collections, configuration, credentialapi, 
events, hooks.users, ldap, logging, metadata, metric.system.impl, 
notifications, proxy, resources, sample.checks, scheduler, security, 
serveraction

Patch to fix broken UT cases in collections, configuration, credentialapi, 
events, hooks.users, ldap, logging, metadata, metric.system.impl, 
notifications, proxy, resources, sample.checks, scheduler, security, 
serveraction

 .../ambari/server/agent/RecoveryConfigHelper.java  |  6 ++
 .../metrics/system/impl/JvmMetricsSource.java  | 13 -
 .../apache/ambari/server/orm/dao/ClusterDAO.java   |  2 +-
 .../org/apache/ambari/server/state/ConfigImpl.java |  2 +-
 .../configuration/RecoveryConfigHelperTest.java|  3 +-
 .../AbstractPrepareKerberosServerActionTest.java   | 18 +-
 .../upgrades/CreateAndConfigureActionTest.java | 20 +++
 .../upgrades/KerberosKeytabsActionTest.java| 67 --
 .../upgrades/OozieConfigCalculationTest.java   |  6 ++
 9 files changed, 111 insertions(+), 26 deletions(-)



[ambari] 01/01: AMBARI-24218. Add UTs for Mpack Advisor.

2018-07-19 Thread swapan
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 ba484d5438b4223e063cf1d59fb22c2bfc02157d
Merge: fee4341 d697fae
Author: swapanshridhar 
AuthorDate: Thu Jul 19 13:22:29 2018 -0700

AMBARI-24218. Add UTs for Mpack Advisor.

AMBARI-24218. Add UTs for Mpack Advisor.

 ambari-server/pom.xml  |1 +
 .../mpackadvisor/commands/MpackAdvisorCommand.java |2 +-
 .../MpackConfigurationRecommendationCommand.java   |2 +-
 .../mpackadvisor/MpackAdvisorExceptionTest.java|   45 +
 .../mpackadvisor/MpackAdvisorHelperTest.java   |  173 ++
 .../mpackadvisor/MpackAdvisorRequestTypeTest.java  |   46 +
 .../mpackadvisor/MpackAdvisorRunnerTest.java   |  125 ++
 .../commands/MpackAdvisorCommandTest.java  |  279 
 ...packConfigurationRecommendationCommandTest.java |  101 ++
 .../test/resources/mpack_advisor/hosts_count2.txt  |  165 ++
 .../mpack_advisor/ods_mpack_objectnode.json|1 +
 .../mpack_advisor/ods_mpack_objectnode1.json   |1 +
 .../resources/mpack_advisor/ods_mpack_services.txt | 1676 
 13 files changed, 2615 insertions(+), 2 deletions(-)



[ambari] branch branch-feature-AMBARI-14714 updated (fee4341 -> ba484d5)

2018-07-19 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from fee4341  Fixing broken UI tests.
 add d697fae  AMBARI-24218. Add UTs for Mpack Advisor.
 new ba484d5  AMBARI-24218. Add UTs for Mpack Advisor.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ambari-server/pom.xml  |1 +
 .../mpackadvisor/commands/MpackAdvisorCommand.java |2 +-
 .../MpackConfigurationRecommendationCommand.java   |2 +-
 .../MpackAdvisorExceptionTest.java}|   11 +-
 .../mpackadvisor/MpackAdvisorHelperTest.java   |  173 ++
 .../MpackAdvisorRequestTypeTest.java}  |   24 +-
 .../MpackAdvisorRunnerTest.java}   |   96 +-
 .../commands/MpackAdvisorCommandTest.java  |  279 
 ...packConfigurationRecommendationCommandTest.java |  101 ++
 .../test/resources/mpack_advisor/hosts_count2.txt  |  165 ++
 .../mpack_advisor/ods_mpack_objectnode.json|1 +
 .../mpack_advisor/ods_mpack_objectnode1.json   |1 +
 .../resources/mpack_advisor/ods_mpack_services.txt | 1676 
 13 files changed, 2456 insertions(+), 76 deletions(-)
 copy 
ambari-server/src/test/java/org/apache/ambari/server/api/services/{stackadvisor/StackAdvisorExceptionTest.java
 => mpackadvisor/MpackAdvisorExceptionTest.java} (81%)
 create mode 100644 
ambari-server/src/test/java/org/apache/ambari/server/api/services/mpackadvisor/MpackAdvisorHelperTest.java
 copy 
ambari-server/src/test/java/org/apache/ambari/server/api/services/{parsers/BodyParseExceptionTest.java
 => mpackadvisor/MpackAdvisorRequestTypeTest.java} (54%)
 copy 
ambari-server/src/test/java/org/apache/ambari/server/api/services/{stackadvisor/StackAdvisorRunnerTest.java
 => mpackadvisor/MpackAdvisorRunnerTest.java} (53%)
 create mode 100644 
ambari-server/src/test/java/org/apache/ambari/server/api/services/mpackadvisor/commands/MpackAdvisorCommandTest.java
 create mode 100644 
ambari-server/src/test/java/org/apache/ambari/server/api/services/mpackadvisor/commands/MpackConfigurationRecommendationCommandTest.java
 create mode 100644 
ambari-server/src/test/resources/mpack_advisor/hosts_count2.txt
 create mode 100644 
ambari-server/src/test/resources/mpack_advisor/ods_mpack_objectnode.json
 create mode 100644 
ambari-server/src/test/resources/mpack_advisor/ods_mpack_objectnode1.json
 create mode 100644 
ambari-server/src/test/resources/mpack_advisor/ods_mpack_services.txt



[ambari] 01/01: AMBARI-24104: Host component creation fails when hadoop client from multiple mpacks is installed

2018-06-14 Thread swapan
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 8ed1b0af05172e56e3398f4be700f5d9e6282dfc
Merge: 59dff1a 49be653
Author: swapanshridhar 
AuthorDate: Thu Jun 14 10:27:27 2018 -0700

AMBARI-24104: Host component creation fails when hadoop client from 
multiple mpacks is installed

AMBARI-24104: Host component creation fails when hadoop client from 
multiple mpacks is installed

 .../ambari/server/controller/AmbariManagementControllerImpl.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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


[ambari] branch branch-feature-AMBARI-14714 updated (59dff1a -> 8ed1b0a)

2018-06-14 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from 59dff1a  [AMBARI-24096] Add Upgrade Pack to Upgrade Plan (#1537)
 add 49be653  AMBARI-24104: Host component creation fails when hadoop 
client from multiple mpacks is installed (jluniya)
 new 8ed1b0a  AMBARI-24104: Host component creation fails when hadoop 
client from multiple mpacks is installed

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../ambari/server/controller/AmbariManagementControllerImpl.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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


[ambari] branch branch-feature-AMBARI-14714 updated (198be80 -> eab9bae)

2018-06-04 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from 198be80  AMBARI-23986. Host components API call doesn't return all 
host components (#1450)
 add f66ff00  AMBARI-24030. Fixes the following : 1. Reading the Node 
Manager Host (nmHost) correctly. 2. Comments the incorrectly implemented fn : 
isServiceDeployed().
 new eab9bae  AMBARI-24030. Fixes the following : 1. Reading the Node 
Manager Host (nmHost) correctly. 2. Comments the incorrectly implemented fn : 
isServiceDeployed().

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ambari-server/src/main/resources/stacks/mpack_advisor.py | 11 ++-
 1 file changed, 6 insertions(+), 5 deletions(-)

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


[ambari] 01/01: AMBARI-24030. Fixes the following : 1. Reading the Node Manager Host (nmHost) correctly. 2. Comments the incorrectly implemented fn : isServiceDeployed().

2018-06-04 Thread swapan
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 eab9baeb9bbbe23677d71964366cd9c27371d801
Merge: 198be80 f66ff00
Author: swapanshridhar 
AuthorDate: Mon Jun 4 20:30:22 2018 -0700

AMBARI-24030. Fixes the following : 1. Reading the Node Manager Host 
(nmHost) correctly. 2. Comments the incorrectly implemented fn : 
isServiceDeployed().

AMBARI-24030. Fixes the following : 1. Reading the Node Manager Host 
(nmHost) correctly. 2. Comments the incorrectly implemented fn : 
isServiceDeployed().

 ambari-server/src/main/resources/stacks/mpack_advisor.py | 11 ++-
 1 file changed, 6 insertions(+), 5 deletions(-)

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


[ambari] branch branch-feature-AMBARI-14714 updated (f48f11f -> b13f5a0)

2018-06-01 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from f48f11f  AMBARI-24011: Add workaround to hide client modules in the 
dashboard (jluniya) (#1443)
 add e42ed7a  BUG-104321: Python Mpack Advisor should return MpackInstance 
block during Host Component Layout Recommendation
 new b13f5a0  [AMBARI-24014] Python Mpack Advisor should return 
MpackInstance block during Host Component Layout Recommendation

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../src/main/resources/stacks/mpack_advisor.py| 19 ++-
 1 file changed, 18 insertions(+), 1 deletion(-)

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


[ambari] 01/01: [AMBARI-24014] Python Mpack Advisor should return MpackInstance block during Host Component Layout Recommendation

2018-06-01 Thread swapan
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 b13f5a012a02666b6a875d342ce2e7e4d9db1dd7
Merge: f48f11f e42ed7a
Author: swapanshridhar 
AuthorDate: Fri Jun 1 16:12:45 2018 -0700

[AMBARI-24014] Python Mpack Advisor should return MpackInstance block 
during Host Component Layout Recommendation

[AMBARI-24014] Python Mpack Advisor should return MpackInstance block 
during Host Component Layout Recommendation

 .../src/main/resources/stacks/mpack_advisor.py| 19 ++-
 1 file changed, 18 insertions(+), 1 deletion(-)

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


[ambari] 01/01: [AMBARI-23993-2] Add get_log_dir and get_run_dir to import in mpack_manager_helper.py

2018-05-31 Thread swapan
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 e3921eaed4e3fbe591a9379f6cdc835877a32d46
Merge: 7548975 023b47d
Author: swapanshridhar 
AuthorDate: Thu May 31 19:25:23 2018 -0700

[AMBARI-23993-2] Add get_log_dir and get_run_dir to import in 
mpack_manager_helper.py

[AMBARI-23993-2] Add get_log_dir and get_run_dir to import in 
mpack_manager_helper.py

 .../resource_management/libraries/functions/mpack_manager_helper.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


[ambari] branch branch-feature-AMBARI-14714 updated (7548975 -> e3921ea)

2018-05-31 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from 7548975  [AMBARI-23993] Mpack Instance Manager should create pid dir 
and log dir for each instance (#1424)
 add 023b47d  AMBARI-23993-2: Mpack Instance Manager should create pid dir 
and log dir for each instance: add get_log_dir and get_run_dir to import
 new e3921ea  [AMBARI-23993-2] Add get_log_dir and get_run_dir to import in 
mpack_manager_helper.py

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../resource_management/libraries/functions/mpack_manager_helper.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


[ambari] branch branch-feature-AMBARI-14714 updated (f8293cf -> 3d92d03)

2018-05-30 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from f8293cf  AMBARI-23746. Use List for componentID duplicate check
 add 3dcef6e  AMBARI-23987. Set 'skip.service.checks' = true during deploy.
 add 3d92d03  AMBARI-23987. Set 'skip.service.checks' = true during deploy.

No new revisions were added by this update.

Summary of changes:
 ambari-server/conf/unix/ambari.properties | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


[ambari] branch branch-feature-AMBARI-14714 updated (4b4ee31 -> 4bef993)

2018-05-29 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from 4b4ee31  [AMBARI-23969] UI should load stack services from multiple 
mpacks. (#1403)
 add 646ee8b  AMBARI-23972. Update code for : (1). 'mpack-recommendations' 
directory creation and (2). putting 'mpack_advisor_wrapper.py' in 
'/var/lib/ambari-server/resources/scripts/' folder.
 new 4bef993  AMBARI-23972. Update code for : (1). 'mpack-recommendations' 
directory creation and (2). putting 'mpack_advisor_wrapper.py' in 
'/var/lib/ambari-server/resources/scripts/' folder.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ambari-server/conf/unix/ambari.properties   |  1 +
 ambari-server/src/main/assemblies/server.xml| 13 +
 .../src/main/python/ambari_server/BackupRestore.py  |  3 ++-
 .../src/main/python/ambari_server/serverConfiguration.py|  5 +
 4 files changed, 21 insertions(+), 1 deletion(-)

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


[ambari] 01/01: AMBARI-23972. Update code for : (1). 'mpack-recommendations' directory creation and (2). putting 'mpack_advisor_wrapper.py' in '/var/lib/ambari-server/resources/scripts/' folder.

2018-05-29 Thread swapan
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 4bef9935dac2099ccab580a6fe3e4977f966489a
Merge: 4b4ee31 646ee8b
Author: swapanshridhar 
AuthorDate: Tue May 29 14:52:25 2018 -0700

AMBARI-23972. Update code for : (1). 'mpack-recommendations' directory 
creation and (2). putting 'mpack_advisor_wrapper.py' in 
'/var/lib/ambari-server/resources/scripts/' folder.

AMBARI-23972. Update code for : (1). 'mpack-recommendations' directory 
creation and (2). putting 'mpack_advisor_wrapper.py' in 
'/var/lib/ambari-server/resources/scripts/' folder.

 ambari-server/conf/unix/ambari.properties   |  1 +
 ambari-server/src/main/assemblies/server.xml| 13 +
 .../src/main/python/ambari_server/BackupRestore.py  |  3 ++-
 .../src/main/python/ambari_server/serverConfiguration.py|  5 +
 4 files changed, 21 insertions(+), 1 deletion(-)

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


[ambari] 01/01: AMBARI-23955. Implement 3.0 Mpack Advisor's Configuration 'Validations' and update code for Component Layout 'Validations'.

2018-05-25 Thread swapan
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 6cff03c31c408f1edcdd9a741a6a97ba13f8f86f
Merge: 39a6ec8 7202f28
Author: swapanshridhar 
AuthorDate: Fri May 25 15:23:25 2018 -0700

AMBARI-23955. Implement 3.0 Mpack Advisor's Configuration 'Validations' and 
update code for Component Layout 'Validations'.

 .../services/mpackadvisor/MpackAdvisorHelper.java  |  6 +-
 .../MpackConfigurationValidationCommand.java   | 82 ++
 .../validations/MpackValidationResponse.java   | 81 -
 .../internal/MpackValidationResourceProvider.java  | 51 --
 4 files changed, 193 insertions(+), 27 deletions(-)

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


[ambari] branch branch-feature-AMBARI-14714 updated (39a6ec8 -> 6cff03c)

2018-05-25 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from 39a6ec8  AMBARI-23923. Implement 3.0 Mpack Advisor's Configuration 
Recommendation API Server code for 'Cluster Create'
 add 7202f28  AMBARI-23955. Implement 3.0 Mpack Advisor's Configuration 
'Validations' and update code for Component Layout 'Validations'.
 new 6cff03c  AMBARI-23955. Implement 3.0 Mpack Advisor's Configuration 
'Validations' and update code for Component Layout 'Validations'.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../services/mpackadvisor/MpackAdvisorHelper.java  |  6 +-
 ...va => MpackConfigurationValidationCommand.java} | 40 +--
 .../validations/MpackValidationResponse.java   | 81 +-
 .../internal/MpackValidationResourceProvider.java  | 51 --
 4 files changed, 131 insertions(+), 47 deletions(-)
 copy 
ambari-server/src/main/java/org/apache/ambari/server/api/services/mpackadvisor/commands/{MpackComponentLayoutRecommendationCommand.java
 => MpackConfigurationValidationCommand.java} (64%)

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


[ambari] 01/01: AMBARI-23923. Implement 3.0 Mpack Advisor's Configuration Recommendation API Server code for 'Cluster Create'

2018-05-25 Thread swapan
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 39a6ec8ef69ddf91d35cf5f6a4949de9ee122828
Merge: 1868c4c 0c329c2
Author: swapanshridhar 
AuthorDate: Fri May 25 11:38:42 2018 -0700

AMBARI-23923. Implement 3.0 Mpack Advisor's Configuration Recommendation 
API Server code for 'Cluster Create'

AMBARI-23923. Implement 3.0 Mpack Advisor's Configuration Recommendation 
API Server code for 'Cluster Create'

 .../services/mpackadvisor/MpackAdvisorHelper.java  |   4 +
 .../mpackadvisor/MpackAdvisorResponse.java |   2 +-
 .../mpackadvisor/commands/MpackAdvisorCommand.java |  55 --
 .../MpackConfigurationRecommendationCommand.java   |  84 +++
 .../MpackRecommendationResponse.java   | 113 +++
 .../internal/MpackAdvisorResourceProvider.java | 119 +++--
 .../MpackRecommendationResourceProvider.java   |  64 +--
 7 files changed, 396 insertions(+), 45 deletions(-)

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


[ambari] branch branch-feature-AMBARI-14714 updated (1868c4c -> 39a6ec8)

2018-05-25 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from 1868c4c  Restored missing data to config recommend request.
 add 0c329c2  AMBARI-23923. Implement 3.0 Mpack Advisor's Configuration 
Recommendation API Server code for 'Cluster Create'.
 new 39a6ec8  AMBARI-23923. Implement 3.0 Mpack Advisor's Configuration 
Recommendation API Server code for 'Cluster Create'

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../services/mpackadvisor/MpackAdvisorHelper.java  |   4 +
 .../mpackadvisor/MpackAdvisorResponse.java |   2 +-
 .../mpackadvisor/commands/MpackAdvisorCommand.java |  55 --
 ...> MpackConfigurationRecommendationCommand.java} |  34 +++---
 .../MpackRecommendationResponse.java   | 113 +++
 .../internal/MpackAdvisorResourceProvider.java | 119 +++--
 .../MpackRecommendationResourceProvider.java   |  64 +--
 7 files changed, 330 insertions(+), 61 deletions(-)
 copy 
ambari-server/src/main/java/org/apache/ambari/server/api/services/mpackadvisor/commands/{MpackComponentLayoutRecommendationCommand.java
 => MpackConfigurationRecommendationCommand.java} (76%)

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


[ambari] 01/01: AMBARI-23619: Mpack Advisor Python Module (1): Implement component-layout recommendation and validation

2018-05-18 Thread swapan
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 018fc96abfc2c8ce1782d302ec2da0ebba2ba33f
Merge: 5053d78 f3fbda4
Author: swapanshridhar 
AuthorDate: Fri May 18 11:39:36 2018 -0700

AMBARI-23619: Mpack Advisor Python Module (1): Implement component-layout 
recommendation and validation

AMBARI-23619: Mpack Advisor Python Module (1): Implement component-layout 
recommendation and validation

 .../resources/scripts/mpack_advisor_wrapper.py |  157 +
 .../stacks/{stack_advisor.py => mpack_advisor.py}  | 1142 ++--
 .../src/main/resources/stacks/service_advisor.py   |   16 +-
 .../src/main/resources/stacks/stack_advisor.py |3 +-
 ambari-server/src/test/python/TestMpackAdvisor.py  |   55 +
 .../mpack_advisor_data/hdfs/service_advisor.py |  685 +++
 .../python/mpacks/mpack_advisor_data/hosts.json|  405 ++
 .../python/mpacks/mpack_advisor_data/services.json | 6011 
 .../mpack_advisor_data/yarn/service_advisor.py | 2215 
 .../zookeeper/service_advisor.py   |  171 +
 10 files changed, 10315 insertions(+), 545 deletions(-)

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


[ambari] branch branch-feature-AMBARI-14714 updated (5053d78 -> 018fc96)

2018-05-18 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from 5053d78  AMBARI-23870. Implement 3.0 Mpack Advisor's Host Component 
Layout API  Server code for : 'Recommendations' and 'Validations'.
 add ca2d0ef  AMBARI-23619: Mpack Advisor Python Module (1): Implement 
component-layout recommendation and validation
 add 1513dc5  AMBARI-23619: Mpack Advisor Python Module (1): Implement 
component-layout recommendation and validation
 add cafbf5d  Merge branch 'AMBARI-23619-branch-feature-AMBARI-14714' of 
https://github.com/scottduan/ambari into 
AMBARI-23619-branch-feature-AMBARI-14714
 add 126582a  Merge branch 'AMBARI-23619-branch-feature-AMBARI-14714' of 
https://github.com/scottduan/ambari into 
AMBARI-23619-branch-feature-AMBARI-14714
 add 963c985  Merge branch 'AMBARI-23619-branch-feature-AMBARI-14714' of 
https://github.com/scottduan/ambari into 
AMBARI-23619-branch-feature-AMBARI-14714
 add aeea4f8  Merge branch 'AMBARI-23619-branch-feature-AMBARI-14714' of 
https://github.com/scottduan/ambari into 
AMBARI-23619-branch-feature-AMBARI-14714
 add 7191924  Merge branch 'AMBARI-23619-branch-feature-AMBARI-14714' of 
https://github.com/scottduan/ambari into 
AMBARI-23619-branch-feature-AMBARI-14714
 add ed7ee47  Merge branch 'AMBARI-23619-branch-feature-AMBARI-14714' of 
https://github.com/scottduan/ambari into 
AMBARI-23619-branch-feature-AMBARI-14714
 add 13efebc  Merge branch 'AMBARI-23619-branch-feature-AMBARI-14714' of 
https://github.com/scottduan/ambari into 
AMBARI-23619-branch-feature-AMBARI-14714
 add f78e084  Merge branch 'AMBARI-23619-branch-feature-AMBARI-14714' of 
https://github.com/scottduan/ambari into 
AMBARI-23619-branch-feature-AMBARI-14714
 add ca0d7e8  Merge branch 'AMBARI-23619-branch-feature-AMBARI-14714' of 
https://github.com/scottduan/ambari into 
AMBARI-23619-branch-feature-AMBARI-14714
 add 4003269  Merge branch 'AMBARI-23619-branch-feature-AMBARI-14714' of 
https://github.com/scottduan/ambari into 
AMBARI-23619-branch-feature-AMBARI-14714
 add 8b6fe3a  Merge branch 'AMBARI-23619-branch-feature-AMBARI-14714' of 
https://github.com/scottduan/ambari into 
AMBARI-23619-branch-feature-AMBARI-14714
 add bf184ec  Merge branch 'AMBARI-23619-branch-feature-AMBARI-14714' of 
https://github.com/scottduan/ambari into 
AMBARI-23619-branch-feature-AMBARI-14714
 add 12ceeab  Merge branch 'AMBARI-23619-branch-feature-AMBARI-14714' of 
https://github.com/scottduan/ambari into 
AMBARI-23619-branch-feature-AMBARI-14714
 add a6975b5  Merge branch 'AMBARI-23619-branch-feature-AMBARI-14714' of 
https://github.com/scottduan/ambari into 
AMBARI-23619-branch-feature-AMBARI-14714
 add f3fbda4  Merge branch 'AMBARI-23619-branch-feature-AMBARI-14714' of 
https://github.com/scottduan/ambari into 
AMBARI-23619-branch-feature-AMBARI-14714
 new 018fc96  AMBARI-23619: Mpack Advisor Python Module (1): Implement 
component-layout recommendation and validation

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../{stack_advisor.py => mpack_advisor_wrapper.py} |   98 +-
 .../stacks/{stack_advisor.py => mpack_advisor.py}  | 1142 ++--
 .../src/main/resources/stacks/service_advisor.py   |   16 +-
 .../src/main/resources/stacks/stack_advisor.py |3 +-
 ambari-server/src/test/python/TestMpackAdvisor.py  |   55 +
 .../mpack_advisor_data/hdfs/service_advisor.py |  685 +++
 .../python/mpacks/mpack_advisor_data/hosts.json|  405 ++
 .../python/mpacks/mpack_advisor_data/services.json | 6011 
 .../mpack_advisor_data/yarn/service_advisor.py | 2215 
 .../zookeeper}/service_advisor.py  |6 +-
 10 files changed, 10022 insertions(+), 614 deletions(-)
 copy ambari-server/src/main/resources/scripts/{stack_advisor.py => 
mpack_advisor_wrapper.py} (56%)
 mode change 100755 => 100644
 copy ambari-server/src/main/resources/stacks/{stack_advisor.py => 
mpack_advisor.py} (78%)
 create mode 100644 ambari-server/src/test/python/TestMpackAdvisor.py
 create mode 100644 
ambari-server/src/test/python/mpacks/mpack_advisor_data/hdfs/service_advisor.py
 create mode 100644 
ambari-server/src/test/python/mpacks/mpack_advisor_data/hosts.json
 create mode 100644 
ambari-server/src/test/python/mpacks/mpack_advisor_data/services.json
 create mode 100644 
ambari-server/src/test/python/mpacks/mpack_advisor_data/yarn/service_advisor.py
 copy ambari-server/src/{main/resources/common-services/ZOOKEEPER/3.4.9 => 
test/python/mpacks/mpack_advisor_data/zookeeper}/service_advisor.py (97%)

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


[ambari] 01/01: AMBARI-23870. Implement 3.0 Mpack Advisor's Host Component Layout API Server code for : 'Recommendations' and 'Validations'.

2018-05-18 Thread swapan
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 5053d78feb1aec0a6ef02f02ae4cc859ec9bf5ba
Merge: ddf2ee3 2ce7766
Author: swapanshridhar 
AuthorDate: Fri May 18 11:35:45 2018 -0700

AMBARI-23870. Implement 3.0 Mpack Advisor's Host Component Layout API  
Server code for : 'Recommendations' and 'Validations'.

AMBARI-23870. Implement 3.0 Mpack Advisor's Host Component Layout API  
Server code for : 'Recommendations' and 'Validations'.

 .../MpackRecommendationResourceDefinition.java |  49 ++
 .../MpackValidationResourceDefinition.java |  49 ++
 .../api/resources/ResourceInstanceFactoryImpl.java |   8 +
 .../api/services/MpackRecommendationService.java   |  66 +++
 .../api/services/MpackValidationService.java   |  65 +++
 .../mpackadvisor/MpackAdvisorException.java|  31 ++
 .../services/mpackadvisor/MpackAdvisorHelper.java  | 207 +
 .../services/mpackadvisor/MpackAdvisorRequest.java | 274 +++
 .../mpackadvisor/MpackAdvisorRequestException.java |  27 ++
 .../mpackadvisor/MpackAdvisorResponse.java |  74 +++
 .../services/mpackadvisor/MpackAdvisorRunner.java  | 226 +
 .../mpackadvisor/commands/MpackAdvisorCommand.java | 504 +
 .../commands/MpackAdvisorCommandType.java  |  49 ++
 .../MpackComponentLayoutRecommendationCommand.java |  82 
 .../MpackComponentLayoutValidationCommand.java |  82 
 .../MpackRecommendationResponse.java   | 273 +++
 .../validations/MpackValidationResponse.java   | 143 ++
 .../ambari/server/configuration/Configuration.java |  26 ++
 .../ambari/server/controller/AmbariServer.java |   4 +
 .../AbstractControllerResourceProvider.java|   4 +
 .../internal/MpackAdvisorResourceProvider.java | 399 
 .../MpackRecommendationResourceProvider.java   | 186 
 .../internal/MpackValidationResourceProvider.java  | 175 +++
 .../ambari/server/controller/spi/Resource.java |   4 +
 .../ambari/server/stack/StackServiceDirectory.java |  13 +-
 .../apache/ambari/server/topology/Component.java   |  21 +-
 .../ambari/server/topology/MpackInstance.java  |  18 +
 27 files changed, 3056 insertions(+), 3 deletions(-)

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


[ambari] branch branch-feature-AMBARI-14714 updated (ddf2ee3 -> 5053d78)

2018-05-18 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from ddf2ee3  AMBARI-23874. Move user-related info to stack-level params 
(#1307)
 add 2ce7766  AMBARI-23870. Implement 3.0 Mpack Advisor's Host Component 
Layout API Server code for : 'Recommendations' and 'Validations'.
 new 5053d78  AMBARI-23870. Implement 3.0 Mpack Advisor's Host Component 
Layout API  Server code for : 'Recommendations' and 'Validations'.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../MpackRecommendationResourceDefinition.java |  49 ++
 .../MpackValidationResourceDefinition.java |  49 ++
 .../api/resources/ResourceInstanceFactoryImpl.java |   8 +
 .../api/services/MpackRecommendationService.java   |  66 +++
 .../api/services/MpackValidationService.java   |  65 +++
 .../mpackadvisor/MpackAdvisorException.java|  31 ++
 .../services/mpackadvisor/MpackAdvisorHelper.java  | 207 +
 .../services/mpackadvisor/MpackAdvisorRequest.java | 274 +++
 .../mpackadvisor/MpackAdvisorRequestException.java |  27 ++
 .../mpackadvisor/MpackAdvisorResponse.java |  74 +++
 .../services/mpackadvisor/MpackAdvisorRunner.java  | 226 +
 .../mpackadvisor/commands/MpackAdvisorCommand.java | 504 +
 .../commands/MpackAdvisorCommandType.java  |  49 ++
 .../MpackComponentLayoutRecommendationCommand.java |  82 
 .../MpackComponentLayoutValidationCommand.java |  82 
 .../MpackRecommendationResponse.java   | 273 +++
 .../validations/MpackValidationResponse.java   | 143 ++
 .../ambari/server/configuration/Configuration.java |  26 ++
 .../ambari/server/controller/AmbariServer.java |   4 +
 .../AbstractControllerResourceProvider.java|   4 +
 .../internal/MpackAdvisorResourceProvider.java | 399 
 .../MpackRecommendationResourceProvider.java   | 186 
 .../internal/MpackValidationResourceProvider.java  | 175 +++
 .../ambari/server/controller/spi/Resource.java |   4 +
 .../ambari/server/stack/StackServiceDirectory.java |  13 +-
 .../apache/ambari/server/topology/Component.java   |  21 +-
 .../ambari/server/topology/MpackInstance.java  |  18 +
 27 files changed, 3056 insertions(+), 3 deletions(-)
 create mode 100644 
ambari-server/src/main/java/org/apache/ambari/server/api/resources/MpackRecommendationResourceDefinition.java
 create mode 100644 
ambari-server/src/main/java/org/apache/ambari/server/api/resources/MpackValidationResourceDefinition.java
 create mode 100644 
ambari-server/src/main/java/org/apache/ambari/server/api/services/MpackRecommendationService.java
 create mode 100644 
ambari-server/src/main/java/org/apache/ambari/server/api/services/MpackValidationService.java
 create mode 100644 
ambari-server/src/main/java/org/apache/ambari/server/api/services/mpackadvisor/MpackAdvisorException.java
 create mode 100644 
ambari-server/src/main/java/org/apache/ambari/server/api/services/mpackadvisor/MpackAdvisorHelper.java
 create mode 100644 
ambari-server/src/main/java/org/apache/ambari/server/api/services/mpackadvisor/MpackAdvisorRequest.java
 create mode 100644 
ambari-server/src/main/java/org/apache/ambari/server/api/services/mpackadvisor/MpackAdvisorRequestException.java
 create mode 100644 
ambari-server/src/main/java/org/apache/ambari/server/api/services/mpackadvisor/MpackAdvisorResponse.java
 create mode 100644 
ambari-server/src/main/java/org/apache/ambari/server/api/services/mpackadvisor/MpackAdvisorRunner.java
 create mode 100644 
ambari-server/src/main/java/org/apache/ambari/server/api/services/mpackadvisor/commands/MpackAdvisorCommand.java
 create mode 100644 
ambari-server/src/main/java/org/apache/ambari/server/api/services/mpackadvisor/commands/MpackAdvisorCommandType.java
 create mode 100644 
ambari-server/src/main/java/org/apache/ambari/server/api/services/mpackadvisor/commands/MpackComponentLayoutRecommendationCommand.java
 create mode 100644 
ambari-server/src/main/java/org/apache/ambari/server/api/services/mpackadvisor/commands/MpackComponentLayoutValidationCommand.java
 create mode 100644 
ambari-server/src/main/java/org/apache/ambari/server/api/services/mpackadvisor/recommendations/MpackRecommendationResponse.java
 create mode 100644 
ambari-server/src/main/java/org/apache/ambari/server/api/services/mpackadvisor/validations/MpackValidationResponse.java
 create mode 100644 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/MpackAdvisorResourceProvider.java
 create mode 100644 
ambari-server/src/main/java/org/apache/ambari/serve

svn commit: r1830719 - in /ambari/site: index.html install-0.9.html install.html irc.html issue-tracking.html license.html mail-lists.html privacy-policy.html project-info.html team-list.html whats-ne

2018-05-01 Thread swapan
Author: swapan
Date: Wed May  2 02:10:28 2018
New Revision: 1830719

URL: http://svn.apache.org/viewvc?rev=1830719&view=rev
Log:
Updating Ambari docs for Ambari 2.6.2

Modified:
ambari/site/index.html
ambari/site/install-0.9.html
ambari/site/install.html
ambari/site/irc.html
ambari/site/issue-tracking.html
ambari/site/license.html
ambari/site/mail-lists.html
ambari/site/privacy-policy.html
ambari/site/project-info.html
ambari/site/team-list.html
ambari/site/whats-new.html

Modified: ambari/site/index.html
URL: 
http://svn.apache.org/viewvc/ambari/site/index.html?rev=1830719&r1=1830718&r2=1830719&view=diff
==
--- ambari/site/index.html (original)
+++ ambari/site/index.html Wed May  2 02:10:28 2018
@@ -1,13 +1,13 @@
 
 
 http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
   
 
 
-
+
 
 Ambari - 
 
@@ -113,6 +113,9 @@
 https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/index.md";
  title="API Reference">API Reference
 
   
+https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.2";
  title="Install Guide for 2.6.2">Install Guide for 2.6.2
+
+  
 https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1";
  title="Install Guide for 2.6.1">Install Guide for 2.6.1
 
   
@@ -220,6 +223,9 @@
 Releases 
 
 
+http://www.apache.org/dyn/closer.cgi/ambari/ambari-2.6.2";  
title="2.6.2">2.6.2
+
+  
 http://www.apache.org/dyn/closer.cgi/ambari/ambari-2.6.1";  
title="2.6.1">2.6.1
 
   
@@ -397,8 +403,8 @@
 
 
 
-  Last Published: 
2018-04-27 |
-  Version: 2.6.1
+  Last Published: 
2018-05-01 |
+  Version: 2.6.2
 
 
   
@@ -497,6 +503,13 @@
   
   
 
+  https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.2";
 class="externalLink" title="Install Guide for 2.6.2">
+  
+Install Guide for 2.6.2
+
+  
+  
+
   https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1";
 class="externalLink" title="Install Guide for 2.6.1">
   
 Install Guide for 2.6.1
@@ -736,6 +749,13 @@
 
   
 
+  http://www.apache.org/dyn/closer.cgi/ambari/ambari-2.6.2"; 
class="externalLink" title="2.6.2">
+  
+2.6.2
+
+  
+  
+
   http://www.apache.org/dyn/closer.cgi/ambari/ambari-2.6.1"; 
class="externalLink" title="2.6.1">
   
 2.6.1
@@ -1065,7 +1085,7 @@
 Easily integrate Hadoop provisioning, management, and monitoring 
capabilities to their own applications with the https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/index.md";>
 Ambari REST APIs.
 
 Getting Started with Ambari
-Follow the https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1";>
 installation guide for Ambari 2.6.1.
+Follow the https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.2";>
 installation guide for Ambari 2.6.2.
 Note: Ambari currently supports the 64-bit version of the following 
Operating Systems:
 
 RHEL (Redhat Enterprise Linux) 6 and 7

Modified: ambari/site/install-0.9.html
URL: 
http://svn.apache.org/viewvc/ambari/site/install-0.9.html?rev=1830719&r1=1830718&r2=1830719&view=diff
==
--- ambari/site/install-0.9.html (original)
+++ ambari/site/install-0.9.html Wed May  2 02:10:28 2018
@@ -1,13 +1,13 @@
 
 
 http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
   
 
 
-
+
 
 Ambari - 
 
@@ -113,6 +113,9 @@
 https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/index.md";
  title="API Reference">API Reference
 
   
+https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.2";
  title="Install Guide for 2.6.2">Install Guide for 2.6.2
+
+  

[ambari] branch trunk updated: Updating Ambari docs for Ambari 2.6.2

2018-05-01 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

swapan pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
 new b99f665  Updating Ambari docs for Ambari 2.6.2
b99f665 is described below

commit b99f6655c12a2fe2ef86d29cdf106b4cd5b74e19
Author: Swapan Shridhar 
AuthorDate: Tue May 1 18:49:59 2018 -0700

Updating Ambari docs for Ambari 2.6.2
---
 docs/pom.xml|  2 +-
 docs/src/site/apt/index.apt |  2 +-
 docs/src/site/apt/whats-new.apt | 30 +++---
 docs/src/site/site.xml  |  2 ++
 4 files changed, 11 insertions(+), 25 deletions(-)

diff --git a/docs/pom.xml b/docs/pom.xml
index a0e5ed7..348f017 100644
--- a/docs/pom.xml
+++ b/docs/pom.xml
@@ -28,7 +28,7 @@
 4.0.0
 
 org.apache.ambari
-2.6.1
+2.6.2
 ambari
 pom
 
diff --git a/docs/src/site/apt/index.apt b/docs/src/site/apt/index.apt
index 3ffe78e..65be00d 100644
--- a/docs/src/site/apt/index.apt
+++ b/docs/src/site/apt/index.apt
@@ -52,7 +52,7 @@ Introduction
 
 Getting Started with Ambari
 
-  Follow the 
{{{https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1}
 installation guide for Ambari 2.6.1}}.
+  Follow the 
{{{https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.2}
 installation guide for Ambari 2.6.2}}.
 
   Note: Ambari currently supports the 64-bit version of the following 
Operating Systems:
 
diff --git a/docs/src/site/apt/whats-new.apt b/docs/src/site/apt/whats-new.apt
index 6ab75a1..334dbfe 100644
--- a/docs/src/site/apt/whats-new.apt
+++ b/docs/src/site/apt/whats-new.apt
@@ -16,7 +16,13 @@
 
 What's New with Ambari?
 
-  * The latest release of Ambari is Ambari 2.6.1.
+  * The latest release of Ambari is Ambari 2.6.2.
+
+  * Ambari 2.6.2 added the following features:
+
+* Protecting Zeppelin Notebook SSL credentials
+
+* Setting appropriate HTTP headers for using Cloud Object Stores with HDP
 
   * Ambari 2.6.1 added the following feature:
 
@@ -30,28 +36,6 @@ What's New with Ambari?
 
 * Improvement in Data Archival & Purging in Ambari Infra (AMBARI-21810)
 
-  * Ambari 2.5.2 added the following features:
-  
-* Cross Stack upgrade support.
-
-  * Ambari 2.5.0 added the following features:
-
-* LLAP GA support via Ambari (AMBARI-18901)
-
-* Ambari authentication with Kerberos token (AMBARI-18364)
-
-* Support Offline Stack Upgrades In a Cluster (AMBARI-18634)
-
-* Ambari Metrics System Distributed mode - multiple Collectors (Tech 
Preview) (AMBARI-15901)
-
-* Service Auto Start support in Ambari (AMBARI-2330)
-
-* Ambari scale testing on 2500 Agents (AMBARI-18731)
-
-* Single API to download all client configs  (AMBARI-19275)
-
-* Support topN user and operations visualization for HDFS in AMS-Grafana 
(AMBARI-19320)
-
 Getting Ambari Source
 
   See 
{{{https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development} 
Ambari Development guide}} on how to check out the source and build it.
diff --git a/docs/src/site/site.xml b/docs/src/site/site.xml
index 78f0e8a..67c4ede 100644
--- a/docs/src/site/site.xml
+++ b/docs/src/site/site.xml
@@ -107,6 +107,7 @@
   https://cwiki.apache.org/confluence/display/AMBARI/Quick+Start+Guide"/>
   https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=30755705"/>
   https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/index.md"/>
+  https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.2"/>
   https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1"/>
   https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.0"/>
   https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.5.2"/>
@@ -144,6 +145,7 @@
 
 
 
+  http://www.apache.org/dyn/closer.cgi/ambari/ambari-2.6.2"/>
   http://www.apache.org/dyn/closer.cgi/ambari/ambari-2.6.1"/>
   http://archive.apache.org/dist/ambari/ambari-2.6.0"/>
   http://archive.apache.org/dist/ambari/ambari-2.5.2"/>

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


svn commit: r26609 - in /release/ambari: ambari-2.6.1/ ambari-2.6.2/ ambari-2.6.2/apache-ambari-2.6.2-src.tar.gz ambari-2.6.2/apache-ambari-2.6.2-src.tar.gz.asc ambari-2.6.2/apache-ambari-2.6.2-src.ta

2018-04-30 Thread swapan
Author: swapan
Date: Mon Apr 30 21:18:17 2018
New Revision: 26609

Log:
Committing Release 2.6.2

Added:
release/ambari/ambari-2.6.2/
release/ambari/ambari-2.6.2/apache-ambari-2.6.2-src.tar.gz   (with props)
release/ambari/ambari-2.6.2/apache-ambari-2.6.2-src.tar.gz.asc
release/ambari/ambari-2.6.2/apache-ambari-2.6.2-src.tar.gz.sh1
Removed:
release/ambari/ambari-2.6.1/

Added: release/ambari/ambari-2.6.2/apache-ambari-2.6.2-src.tar.gz
==
Binary file - no diff available.

Propchange: release/ambari/ambari-2.6.2/apache-ambari-2.6.2-src.tar.gz
--
svn:mime-type = application/octet-stream

Added: release/ambari/ambari-2.6.2/apache-ambari-2.6.2-src.tar.gz.asc
==
--- release/ambari/ambari-2.6.2/apache-ambari-2.6.2-src.tar.gz.asc (added)
+++ release/ambari/ambari-2.6.2/apache-ambari-2.6.2-src.tar.gz.asc Mon Apr 30 
21:18:17 2018
@@ -0,0 +1,11 @@
+-BEGIN PGP SIGNATURE-
+
+iQEzBAABCAAdFiEEIC+QKneR09EnEC9kvMXqJdAgOxgFAlriVKcACgkQvMXqJdAg
+OxjS2Af/eG26rmRBalNcsGjqGoKn7bsGu7zwMgMvmsoRP/Dh4o+vcilhuaxMirU2
+NQjwt2vhJP0t1T7jM1UHMnZ2+NNLW5wixtWr1HUx8Jjt7k5fT8VvV3JYv6hE/pIw
+K8TRdfjA0f1wCgd9smLRANi+G5jDcN3Vfff+oOa9gGI0LW//JkmjJlK9/h+owScK
+4nC1W+FCnSdFAvgl1KCE+thOxYcAtVBJBepGbT9l2q3NsLN0gxMV3meqem39Df/P
+RS5JHeWZN0noUjQ4a7H/uBkhKd+VQzQ2028DvGp/uDh8cG2BoXYVGNLk1/S8C2jh
+17+pDcuNDKnm+ZPm4qQ9FCO1+wP08Q==
+=a+22
+-END PGP SIGNATURE-

Added: release/ambari/ambari-2.6.2/apache-ambari-2.6.2-src.tar.gz.sh1
==
--- release/ambari/ambari-2.6.2/apache-ambari-2.6.2-src.tar.gz.sh1 (added)
+++ release/ambari/ambari-2.6.2/apache-ambari-2.6.2-src.tar.gz.sh1 Mon Apr 30 
21:18:17 2018
@@ -0,0 +1 @@
+SHA512(apache-ambari-2.6.2-src.tar.gz)= 
5ac79574622628ce63d62df595e9b3c4003247284789018af717866cd4115880e8ed9db4081a6a12f68768506ea20b748440f78ef11328364d1141c78fda7df1




[ambari] annotated tag release-2.6.2-rc0 updated (631319b -> dbb7e06)

2018-04-26 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

swapan pushed a change to annotated tag release-2.6.2-rc0
in repository https://gitbox.apache.org/repos/asf/ambari.git.


*** WARNING: tag release-2.6.2-rc0 was modified! ***

from 631319b  (commit)
  to dbb7e06  (tag)
 tagging 631319b00937a8d04667d93714241d2a0cb17275 (commit)
 replaces release-2.6.1
  by Swapan Shridhar
  on Thu Apr 26 12:51:23 2018 -0700

- Log -
Ambari 2.6.2 RC0
---


No new revisions were added by this update.

Summary of changes:

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


[ambari] branch branch-2.6 updated: Updated Ambari version to 2.6.2.0.0.

2018-04-26 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/branch-2.6 by this push:
 new 631319b  Updated Ambari version to 2.6.2.0.0.
631319b is described below

commit 631319b00937a8d04667d93714241d2a0cb17275
Author: Swapan Shridhar 
AuthorDate: Thu Apr 26 12:43:54 2018 -0700

Updated Ambari version to 2.6.2.0.0.
---
 ambari-admin/pom.xml| 4 ++--
 ambari-agent/pom.xml| 4 ++--
 ambari-funtest/pom.xml  | 4 ++--
 ambari-logsearch/ambari-infra-solr-plugin/pom.xml   | 2 +-
 ambari-logsearch/ambari-logsearch-appender/pom.xml  | 4 ++--
 ambari-logsearch/ambari-logsearch-assembly/pom.xml  | 2 +-
 ambari-logsearch/ambari-logsearch-it/pom.xml| 2 +-
 ambari-logsearch/ambari-logsearch-logfeeder/pom.xml | 4 ++--
 ambari-logsearch/ambari-logsearch-portal/pom.xml| 4 ++--
 ambari-logsearch/ambari-logsearch-solr-client/pom.xml   | 2 +-
 ambari-logsearch/pom.xml| 4 ++--
 ambari-metrics/ambari-metrics-assembly/pom.xml  | 4 ++--
 ambari-metrics/ambari-metrics-common/pom.xml| 2 +-
 ambari-metrics/ambari-metrics-flume-sink/pom.xml| 4 ++--
 ambari-metrics/ambari-metrics-grafana/pom.xml   | 2 +-
 ambari-metrics/ambari-metrics-hadoop-sink/pom.xml   | 4 ++--
 ambari-metrics/ambari-metrics-host-monitoring/pom.xml   | 4 ++--
 ambari-metrics/ambari-metrics-kafka-sink/pom.xml| 4 ++--
 ambari-metrics/ambari-metrics-storm-sink-legacy/pom.xml | 4 ++--
 ambari-metrics/ambari-metrics-storm-sink/pom.xml| 4 ++--
 ambari-metrics/ambari-metrics-timelineservice/pom.xml   | 6 +++---
 ambari-metrics/pom.xml  | 2 +-
 ambari-project/pom.xml  | 4 ++--
 ambari-server/pom.xml   | 4 ++--
 ambari-views/examples/calculator-view/pom.xml   | 4 ++--
 ambari-views/examples/cluster-view/pom.xml  | 6 +++---
 ambari-views/examples/favorite-view/pom.xml | 4 ++--
 ambari-views/examples/hello-servlet-view/pom.xml| 6 +++---
 ambari-views/examples/hello-spring-view/pom.xml | 6 +++---
 ambari-views/examples/helloworld-view/pom.xml   | 6 +++---
 ambari-views/examples/phone-list-upgrade-view/pom.xml   | 6 +++---
 ambari-views/examples/phone-list-view/pom.xml   | 4 ++--
 ambari-views/examples/pom.xml   | 4 ++--
 ambari-views/examples/property-validator-view/pom.xml   | 6 +++---
 ambari-views/examples/property-view/pom.xml | 6 +++---
 ambari-views/examples/restricted-view/pom.xml   | 4 ++--
 ambari-views/examples/simple-view/pom.xml   | 6 +++---
 ambari-views/examples/weather-view/pom.xml  | 4 ++--
 ambari-views/pom.xml| 4 ++--
 ambari-web/pom.xml  | 4 ++--
 contrib/ambari-log4j/pom.xml| 2 +-
 contrib/ambari-scom/ambari-scom-server/pom.xml  | 4 ++--
 contrib/ambari-scom/metrics-sink/pom.xml| 2 +-
 contrib/ambari-scom/pom.xml | 2 +-
 contrib/management-packs/microsoft-r_mpack/pom.xml  | 2 +-
 contrib/management-packs/pom.xml| 2 +-
 contrib/views/ambari-views-package/pom.xml  | 4 ++--
 contrib/views/capacity-scheduler/pom.xml| 4 ++--
 contrib/views/commons/pom.xml   | 6 +++---
 contrib/views/files/pom.xml | 6 +++---
 contrib/views/hawq/pom.xml  | 4 ++--
 contrib/views/hive-next/pom.xml | 8 
 contrib/views/hive20/pom.xml| 8 
 contrib/views/hueambarimigration/pom.xml| 4 ++--
 contrib/views/jobs/pom.xml  | 4 ++--
 contrib/views/pig/pom.xml   | 8 
 contrib/views/pom.xml   | 8 
 contrib/views/slider/pom.xml| 6 +++---
 contrib/views/storm/pom.xml | 2 +-
 contrib/views/tez/pom.xml   | 4 ++--
 contrib/views/utils/pom.xml | 4 ++--
 contrib/views/wfmanager/pom.xml | 6 +++---
 docs/pom.xml| 4 ++--
 pom.xml | 2 +-
 utility/pom.xml | 2 +-
 65 files changed, 136 insertions(+), 136 deletions(-)

diff --git a/ambari-admin/pom.xml b/ambari-admin/pom.xml
index 94dd15c..2c39071 100644
--- a/ambari-admin/pom.xml
+++ b/ambari-admin/pom.xml

[ambari] 01/01: AMBARI-23552. Switch to using Surrogate PK in Ambari DB tables, wherever applicable.

2018-04-17 Thread swapan
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 d99514d3cde9a7e672862ac3aa950d345a4a5a57
Merge: 26f1e62 4adcb38
Author: swapanshridhar 
AuthorDate: Tue Apr 17 10:44:27 2018 -0700

AMBARI-23552. Switch to using Surrogate PK in Ambari DB tables, wherever 
applicable.

 .../internal/UpgradePlanResourceProvider.java  |   3 +-
 .../VersionDefinitionResourceProvider.java | 174 ++---
 .../ambari/server/orm/dao/ClusterServiceDAO.java   |  24 +--
 .../server/orm/dao/ServiceDesiredStateDAO.java |  10 +-
 .../ambari/server/orm/dao/ServiceGroupDAO.java |  23 +--
 .../server/orm/entities/ClusterServiceEntity.java  |  37 ++---
 .../orm/entities/ClusterServiceEntityPK.java   |  85 --
 .../server/orm/entities/ConfigGroupEntity.java |   8 +-
 .../orm/entities/HostConfigMappingEntity.java  |   8 +-
 .../ServiceComponentDesiredStateEntity.java|  12 +-
 .../server/orm/entities/ServiceConfigEntity.java   |   8 +-
 .../orm/entities/ServiceDependencyEntity.java  |  27 ++--
 .../orm/entities/ServiceDesiredStateEntity.java|  24 +--
 .../orm/entities/ServiceDesiredStateEntityPK.java  |  85 --
 .../orm/entities/ServiceGroupDependencyEntity.java |  29 ++--
 .../server/orm/entities/ServiceGroupEntity.java|  16 +-
 .../server/orm/entities/ServiceGroupEntityPK.java  |  71 -
 .../ambari/server/state/ServiceComponentImpl.java  |   7 +-
 .../ambari/server/state/ServiceGroupImpl.java  |  47 ++
 .../apache/ambari/server/state/ServiceImpl.java|  54 ++-
 .../ambari/server/state/cluster/ClusterImpl.java   |   2 +-
 .../server/state/configgroup/ConfigGroupImpl.java  |   4 +-
 .../src/main/resources/Ambari-DDL-Derby-CREATE.sql |  32 ++--
 .../src/main/resources/Ambari-DDL-MySQL-CREATE.sql |  32 ++--
 .../main/resources/Ambari-DDL-Oracle-CREATE.sql|  32 ++--
 .../main/resources/Ambari-DDL-Postgres-CREATE.sql  |  33 ++--
 .../resources/Ambari-DDL-SQLAnywhere-CREATE.sql|  32 ++--
 .../main/resources/Ambari-DDL-SQLServer-CREATE.sql |  32 ++--
 .../internal/ServiceResourceProviderTest.java  |  52 --
 .../internal/UpgradePlanResourceProviderTest.java  |   3 +-
 30 files changed, 345 insertions(+), 661 deletions(-)

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


[ambari] branch branch-feature-AMBARI-14714 updated (26f1e62 -> d99514d)

2018-04-17 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from 26f1e62  [AMBARI-23569] Provide Mpack Package Name to Install in 
mpack.json
 add 4adcb38  AMBARI-23552. Switch to using Surrogate PK in Ambari DB 
tables, wherever applicable.
 new d99514d  AMBARI-23552. Switch to using Surrogate PK in Ambari DB 
tables, wherever applicable.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../internal/UpgradePlanResourceProvider.java  |   3 +-
 .../VersionDefinitionResourceProvider.java | 174 ++---
 .../ambari/server/orm/dao/ClusterServiceDAO.java   |  24 +--
 .../server/orm/dao/ServiceDesiredStateDAO.java |  10 +-
 .../ambari/server/orm/dao/ServiceGroupDAO.java |  23 +--
 .../server/orm/entities/ClusterServiceEntity.java  |  37 ++---
 .../orm/entities/ClusterServiceEntityPK.java   |  85 --
 .../server/orm/entities/ConfigGroupEntity.java |   8 +-
 .../orm/entities/HostConfigMappingEntity.java  |   8 +-
 .../ServiceComponentDesiredStateEntity.java|  12 +-
 .../server/orm/entities/ServiceConfigEntity.java   |   8 +-
 .../orm/entities/ServiceDependencyEntity.java  |  27 ++--
 .../orm/entities/ServiceDesiredStateEntity.java|  24 +--
 .../orm/entities/ServiceDesiredStateEntityPK.java  |  85 --
 .../orm/entities/ServiceGroupDependencyEntity.java |  29 ++--
 .../server/orm/entities/ServiceGroupEntity.java|  16 +-
 .../server/orm/entities/ServiceGroupEntityPK.java  |  71 -
 .../ambari/server/state/ServiceComponentImpl.java  |   7 +-
 .../ambari/server/state/ServiceGroupImpl.java  |  47 ++
 .../apache/ambari/server/state/ServiceImpl.java|  54 ++-
 .../ambari/server/state/cluster/ClusterImpl.java   |   2 +-
 .../server/state/configgroup/ConfigGroupImpl.java  |   4 +-
 .../src/main/resources/Ambari-DDL-Derby-CREATE.sql |  32 ++--
 .../src/main/resources/Ambari-DDL-MySQL-CREATE.sql |  32 ++--
 .../main/resources/Ambari-DDL-Oracle-CREATE.sql|  32 ++--
 .../main/resources/Ambari-DDL-Postgres-CREATE.sql  |  33 ++--
 .../resources/Ambari-DDL-SQLAnywhere-CREATE.sql|  32 ++--
 .../main/resources/Ambari-DDL-SQLServer-CREATE.sql |  32 ++--
 .../internal/ServiceResourceProviderTest.java  |  52 --
 .../internal/UpgradePlanResourceProviderTest.java  |   3 +-
 30 files changed, 345 insertions(+), 661 deletions(-)
 delete mode 100644 
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ClusterServiceEntityPK.java
 delete mode 100644 
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ServiceDesiredStateEntityPK.java
 delete mode 100644 
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ServiceGroupEntityPK.java

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


[ambari] branch branch-feature-AMBARI-14714 updated (48b9007 -> b5f15af)

2018-04-04 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from 48b9007  Merge pull request #839 from mradha25/AMBARI-22904
 add 40e080b  AMBARI-23136: Continued: Create an interface to read 
command.json properties via API instead of direct access
 add c5eb80d  Merge branch 'AMBARI-23136-branch-feature-AMBARI-14714' of 
https://github.com/scottduan/ambari into 
AMBARI-23136-branch-feature-AMBARI-14714
 add 5f69f15  AMBARI-23136: Continued: Create an interface to read 
command.json properties via API instead of direct access
 add 5ad2f4f  AMBARI-23136: Continued: Create an interface to read 
command.json properties via API instead of direct access
 new b5f15af  Merge pull request #853 from 
scottduan/AMBARI-23136-branch-feature-AMBARI-14714

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../execution_command/execution_command.py | 69 --
 .../libraries/functions/format_jvm_option.py   | 25 
 2 files changed, 77 insertions(+), 17 deletions(-)

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


[ambari] 01/01: Merge pull request #853 from scottduan/AMBARI-23136-branch-feature-AMBARI-14714

2018-04-04 Thread swapan
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 b5f15afb80d94cd86effa9941bd51efa1091b556
Merge: 48b9007 5ad2f4f
Author: swapanshridhar 
AuthorDate: Wed Apr 4 13:53:28 2018 -0700

Merge pull request #853 from 
scottduan/AMBARI-23136-branch-feature-AMBARI-14714

 .../execution_command/execution_command.py | 69 --
 .../libraries/functions/format_jvm_option.py   | 25 
 2 files changed, 77 insertions(+), 17 deletions(-)

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


[ambari] branch branch-feature-AMBARI-14714 updated (7bfd17a -> b714142)

2018-03-27 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from 7bfd17a  AMBARI-23368. Initialize 'topologyHolder', 
'hostLevelParamsHolder', 'recoveryConfigHelper' in HostResourceProvider.
 add 493f660  Revert "[AMBARI-23191] Use service config API (#691)"
 new b714142  Revert "[AMBARI-23191] Use service config API (#691)"

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../server/orm/entities/RepoDefinitionEntity.java  |  2 +-
 .../app/controllers/wizard/step8_controller.js | 36 +-
 ambari-web/app/routes/installer.js |  6 ++--
 ambari-web/app/utils/ajax/ajax.js  | 12 
 ambari-web/test/controllers/wizard/step8_test.js   | 34 +++-
 5 files changed, 44 insertions(+), 46 deletions(-)

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


[ambari] 01/01: Revert "[AMBARI-23191] Use service config API (#691)"

2018-03-27 Thread swapan
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 b714142bbe9a521299917ce33ed68b63846f55a9
Merge: 7bfd17a 493f660
Author: swapanshridhar 
AuthorDate: Tue Mar 27 15:07:09 2018 -0700

Revert "[AMBARI-23191] Use service config API (#691)"

 .../server/orm/entities/RepoDefinitionEntity.java  |  2 +-
 .../app/controllers/wizard/step8_controller.js | 36 +-
 ambari-web/app/routes/installer.js |  6 ++--
 ambari-web/app/utils/ajax/ajax.js  | 12 
 ambari-web/test/controllers/wizard/step8_test.js   | 34 +++-
 5 files changed, 44 insertions(+), 46 deletions(-)

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


[ambari] 01/01: AMBARI-23368. Initialize 'topologyHolder', 'hostLevelParamsHolder', 'recoveryConfigHelper' in HostResourceProvider.

2018-03-27 Thread swapan
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 7bfd17abe3d60d05e3fc6cfaeb4564c5a4296258
Merge: a8b31c9 93237c6
Author: swapanshridhar 
AuthorDate: Tue Mar 27 12:21:43 2018 -0700

AMBARI-23368. Initialize 'topologyHolder', 'hostLevelParamsHolder', 
'recoveryConfigHelper' in HostResourceProvider.

 .../apache/ambari/server/controller/AmbariServer.java  |  7 +++
 .../controller/internal/HostResourceProvider.java  | 18 +++---
 2 files changed, 22 insertions(+), 3 deletions(-)

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


[ambari] branch branch-feature-AMBARI-14714 updated (a8b31c9 -> 7bfd17a)

2018-03-27 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from a8b31c9  AMBARI-22875. NPE at serviceType (#789)
 add 93237c6  AMBARI-23368. Initialize 'topologyHolder', 
'hostLevelParamsHolder', 'recoveryConfigHelper' in HostResourceProvider.
 new 7bfd17a  AMBARI-23368. Initialize 'topologyHolder', 
'hostLevelParamsHolder', 'recoveryConfigHelper' in HostResourceProvider.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../apache/ambari/server/controller/AmbariServer.java  |  7 +++
 .../controller/internal/HostResourceProvider.java  | 18 +++---
 2 files changed, 22 insertions(+), 3 deletions(-)

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


[ambari] 01/01: Merging Trunk to branch : 'branch-feature-AMBARI-14714'.

2018-03-26 Thread swapan
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 46a28971137cf572b1ca633d2d38a31eba35e6d9
Merge: 8e5b0de 65f010c
Author: swapanshridhar 
AuthorDate: Mon Mar 26 20:13:01 2018 -0700

Merging Trunk to branch : 'branch-feature-AMBARI-14714'.

 ambari-agent/pom.xml   |7 +-
 .../python/ambari_agent/ClusterTopologyCache.py|   12 +-
 .../ambari_agent/CustomServiceOrchestrator.py  |2 +-
 .../src/main/python/ambari_agent/FileCache.py  |   28 +-
 .../python/ambari_agent/TestAgentStompResponses.py |2 +-
 .../ambari_agent/TestAlertSchedulerHandler.py  |   10 +-
 .../src/test/python/ambari_agent/TestFileCache.py  |2 +-
 .../resource_management/TestPackageResource.py |  172 +-
 .../test/python/resource_management/TestScript.py  |   63 -
 .../main/python/ambari_commons/buffered_queue.py   |  100 ++
 .../python/ambari_commons/repo_manager/__init__.py |   71 +
 .../ambari_commons/repo_manager/apt_manager.py |  305 
 .../ambari_commons/repo_manager/apt_parser.py  |  144 ++
 .../repo_manager/choco_manager.py} |   66 +-
 .../ambari_commons/repo_manager/generic_manager.py |  245 +++
 .../ambari_commons/repo_manager/generic_parser.py  |   63 +
 .../repo_manager/yum_manager.py}   |  324 ++--
 .../ambari_commons/repo_manager/yum_parser.py  |  147 ++
 .../ambari_commons/repo_manager/zypper_manager.py  |  285 +++
 .../ambari_commons/repo_manager/zypper_parser.py   |  149 ++
 .../src/main/python/ambari_commons/shell.py|  695 +--
 .../src/main/python/ambari_ws4py/__init__.py   |4 +-
 .../main/python/ambari_ws4py/client/__init__.py|   25 +-
 .../python/ambari_ws4py/client/geventclient.py |   14 +-
 .../python/ambari_ws4py/client/threadedclient.py   |4 +-
 .../python/ambari_ws4py/client/tornadoclient.py|4 +-
 .../src/main/python/ambari_ws4py/compat.py |2 +-
 .../src/main/python/ambari_ws4py/manager.py|   10 +-
 .../src/main/python/ambari_ws4py/messaging.py  |2 +-
 .../main/python/ambari_ws4py/server/__init__.py|0
 .../python/ambari_ws4py/server/cherrypyserver.py   |  382 
 .../python/ambari_ws4py/server/geventserver.py |  121 ++
 .../python/ambari_ws4py/server/wsgirefserver.py|  157 ++
 .../main/python/ambari_ws4py/server/wsgiutils.py   |  162 ++
 .../src/main/python/ambari_ws4py/streaming.py  |   22 +-
 .../src/main/python/ambari_ws4py/websocket.py  |   18 +-
 .../resource_management/core/providers/__init__.py |   58 +-
 .../core/providers/package/__init__.py |  384 
 .../core/providers/package/apt.py  |  430 -
 .../core/providers/package/zypper.py   |  276 ---
 .../core/providers/packaging.py|   60 +
 .../main/python/resource_management/core/shell.py  |   36 +-
 .../libraries/functions/namenode_ha_utils.py   |   25 +-
 .../libraries/providers/hdfs_resource.py   |   16 +-
 .../resource_management/libraries/script/script.py |   32 +-
 ambari-funtest/pom.xml |  335 
 .../src/main/python/migrationHelper.py |2 +-
 .../src/main/package/deb/logfeeder/postinst|2 +-
 .../src/main/package/deb/portal/postinst   |2 +-
 .../src/main/package/rpm/logfeeder/postinstall.sh  |2 +-
 .../main/package/rpm/logfeeder/postremove.sh~HEAD  |   21 -
 .../main/package/rpm/logfeeder/postremove.sh~trunk |   21 -
 .../src/main/package/rpm/portal/postinstall.sh |2 +-
 .../src/main/package/rpm/portal/postremove.sh~HEAD |   21 -
 .../main/package/rpm/portal/postremove.sh~trunk|   21 -
 .../ambari/logfeeder/conf/LogFeederProps.java  |   12 +-
 .../logfeeder/conf/LogFeederSecurityConfig.java|4 +-
 .../logsearch/auth/filter/AbstractJWTFilter.java   |   30 +-
 .../ambari/logsearch/conf/SecurityConfig.java  |2 +-
 .../logsearch/conf/SolrAuditLogPropsConfig.java|6 +-
 .../logsearch/conf/SolrConnectionPropsConfig.java  |6 +-
 .../filters/LogsearchAuthenticationEntryPoint.java |   11 +-
 .../security/LogsearchAuthenticationProvider.java  |2 +-
 .../docker/knox/logsearch/1.0.0/rewrite.xml|   47 +-
 .../docker/knox/logsearch/1.0.0/service.xml|   41 +-
 ambari-project/pom.xml |   10 +-
 ambari-server/pom.xml  |   11 +-
 ambari-server/src/main/assemblies/server.xml   |9 +-
 .../server/agent/stomp/AgentHostDataHolder.java|7 +
 .../server/agent/stomp/HostLevelParamsHolder.java  |   25 +
 .../ambari/server/agent/stomp/MetadataHolder.java  |   14 +
 .../ambari/server/agent/stomp/TopologyHolder.java  |   53 +-
 .../server/agent/stomp/dto/TopologyComponent.java  |   10 +-
 .../server/api/services/AlertTargetService.java

[ambari] branch branch-feature-AMBARI-14714 updated (8e5b0de -> 46a2897)

2018-03-26 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from 8e5b0de  AMBARI-23350. UI. ServiceConfig API call uses 
MpackName-Vesion for SG instead of just MpackName.
 add 1f8c873  AMBARI-23271 Make HDFS widgets namespace-scoped. (ababiichuk)
 add c897c68  [AMBARI-23252] Update service metainfo to declare SSO 
integration support
 add 10a1e8b  [AMBARI-23264] Fix TestMySqlServer error while executing unit 
tests on MacOS/Darwin
 add 408a436  fixing DB script
 add 6f223af  [AMBARI-23232] Set full name (cn) when creating user accounts 
in FreeIPA server
 add 0f4a990  AMBARI-22868.Add ability to configure done-flag element of 
dataset in Workflow Manager View(Venkata Sairam)
 add 6ff45af  Merge pull request #671 from apache/AMBARI-22868-trunk
 add e44d5ac  AMBARI-23276. Maven cleanup (#699)
 add 6a10b04  AMBARI-23257. Address stack changes to create apps and user 
directories on nameservices (aonishuk)
 add 844b8ca  AMBARI-23202 Websocket client should use secure endpoint when 
connected over https
 add e1b9530  AMBARI-23213. New CLI options for setup-sso tool
 add f5569da  [AMBARI-23262] Create sso-configuration category in Ambari 
Configurations data
 add 611c60d  AMBARI-23220 Customise Services : Alignment not proper for 
Select Config group Pop up and overriden text box
 add 702b5b6  AMBARI-23247. Ambari Setup with external postgres db failed 
on configuring database. (mpapirkovskyy)
 add 471602e  AMBARI-23267. Add more logging for config update process. 
(mpapirkovskyy)
 add 5764498  AMBARI-23266. Wrong service_package_folder in 
serviceLevelParams during Express Upgrade from HDP 2.6 to HDP 3.0. 
(mpapirkovskyy)
 add ee0784a  AMBARI-21008. Integrate AlertTargetService and subresources 
with swagger (#619)
 add d7b9399  AMBARI-23305. Grafana install fails with "KeyError: 
'getpwnam(): name not found: ams'" (aonishuk)
 add b3f7779  [AMBARI-23292] livy.superusers is not getting configured 
correctly when Spark2 and Zeppelin are added as a service later on (#710)
 add b71c9ae  AMBARI-23303 - Use NameNode Upgrade Timeout Override In All 
Upgrade Packs
 add ef2b0ae  AMBARI-23305. Grafana install fails with "KeyError: 
'getpwnam(): name not found: ams'" (aonishuk)
 add d1c547d  AMBARI-23230 Upgrade Solr configuration while upgrading 
Ambari 2.6.1 -> 2.7.0 (#730)
 add 62d14a0  AMBARI-23284. Add Ambari configuration data to stack/service 
advisor input data (amagyar)
 add b149d12  AMBARI-23097. Log Search: knox proxy support (#733)
 add 77f358a  AMBARI-23307. Rename AMBARI_INFRA to AMBARI_INFRA_SOLR in 
upgrade helper script. (#735)
 add e751205  AMBARI-23315 Incorrect text for Druid and Superset kerberos 
property names (mgergely)
 add 2caa282  AMBARI-23263. hdfs-site.xml is not getting updated after 
config change and restart via Ambari. (mpapirkovskyy)
 add 34cea57  AMBARI-23316. Infra Solr - migrationHelper script should work 
in unsecure mode. (#743)
 add 1b1cc6d  AMBARI-23282. Setting a non-world-readable permission for 
atlas-application.properties file (#703)
 add 6f76826  AMBARI-23300. nstall Wizard/Customise Services clear filters 
button is not visible while input is focused
 add 1ffa7d7  Merge pull request #722 from hiveww/AMBARI-23300-trunk
 add 8e63fd4  AMBARI-23301. Add Service wizards succesfully completes with 
warning
 add 0a726e4  Merge pull request #723 from hiveww/AMBARI-23301-trunk
 add 22adaed  AMBARI-23302 Ambari Upgrade from 2.6.0.0 - 2.7.0.0 - 
Dashboard is unable to load and spinner keeps spinning. (ababiichuk)
 add 21f72d4  AMBARI-23321. Move SOLR znode opertations out from configure 
(#749)
 add 466b7aa  AMBARI-23278 Description for yarn.nodemanager.bind-host under 
YARN Configs needs to be improved (asnaik) (#700)
 add 64ae9e8  AMBARI-23323. Locking configure to single process causes 
deadlock (aonishuk)
 add e7c4ed7  [AMBARI-21738] OS specific package manager logic need to be 
moved out from Package provider to ambari_commons (dgrinenko)
 add c838077  AMBARI-23230 ADDENDUM - Upgrade Solr configuration while 
upgrading Ambari 2.6.1 -> 2.7.0 (#750)
 add 71915a4  AMBARI-23256 Ambari-agent setting permission of .hash files 
to 666  (#681)
 add 5a75b79  AMBARI-23330. Bump up ws4py websocket lib version from 0.4.2 
to 0.5.1 to fix connection drop (aonishuk)
 add 75670a8  AMBARI-23306. Make sure we have container-executor after 
Ambari upgrade (#728)
 add 8b7422c  AMBARI-23243. Adding missing properties to OneFS mpack 
(amagyar)
 add 79f0cc3  AMBARI-23337. Remove python3 files from ws4py since they can 
cause build failure (aonishuk)
 add 4109c0e  [AMBARI-23310] Add SSO-related configuration recommendations 
to the stack advi

[ambari] branch branch-feature-AMBARI-14714 updated (17e3a1d -> 8e5b0de)

2018-03-26 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from 17e3a1d  [AMBARI-23032] Support for Blueprint exports for MPack-based 
clusters (#716)
 add 189d25d  AMBARI-23350. UI. ServiceConfig API call uses 
MpackName-Vesion for SG instead of just MpackName.
 new 8e5b0de  AMBARI-23350. UI. ServiceConfig API call uses 
MpackName-Vesion for SG instead of just MpackName.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ambari-web/app/controllers/wizard/step8_controller.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


[ambari] 01/01: AMBARI-23350. UI. ServiceConfig API call uses MpackName-Vesion for SG instead of just MpackName.

2018-03-26 Thread swapan
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 8e5b0de7437ac03c1211a08ff0c4d09628738d41
Merge: 17e3a1d 189d25d
Author: swapanshridhar 
AuthorDate: Mon Mar 26 14:26:55 2018 -0700

AMBARI-23350. UI. ServiceConfig API call uses MpackName-Vesion for SG 
instead of just MpackName.

 ambari-web/app/controllers/wizard/step8_controller.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


[ambari] 01/01: AMBARI-23293. Fix the following : 1. Host Component deletes are broken 2. Use resourceType for getting resources from Mpack Modules.

2018-03-21 Thread swapan
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 b5a1149a0402265bbca6f5fe1c1b793bbbd46177
Merge: 430b544 628ea12
Author: swapanshridhar 
AuthorDate: Wed Mar 21 10:53:18 2018 -0700

AMBARI-23293. Fix the following : 1. Host Component deletes are broken 2. 
Use resourceType for getting resources from Mpack Modules.

 .../actionmanager/ExecutionCommandWrapper.java |  5 ++-
 .../alerts/ComponentVersionAlertRunnable.java  |  4 +--
 .../controller/AmbariManagementController.java | 19 --
 .../controller/AmbariManagementControllerImpl.java | 42 +++---
 .../internal/AbstractProviderModule.java   |  2 +-
 .../internal/ComponentResourceProvider.java|  4 +--
 .../internal/HostComponentResourceProvider.java|  4 +--
 .../logging/LoggingSearchPropertyProvider.java |  2 +-
 .../ambari/server/state/ServiceComponentImpl.java  |  3 +-
 .../apache/ambari/server/state/ServiceImpl.java|  2 +-
 .../alerts/ComponentVersionAlertRunnableTest.java  | 10 +++---
 .../internal/ComponentResourceProviderTest.java| 14 
 .../HostComponentResourceProviderTest.java |  4 +--
 .../controller/internal/JMXHostProviderTest.java   |  2 +-
 .../logging/LoggingSearchPropertyProviderTest.java |  6 ++--
 15 files changed, 79 insertions(+), 44 deletions(-)


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


[ambari] branch branch-feature-AMBARI-14714 updated (430b544 -> b5a1149)

2018-03-21 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from 430b544  Merge pull request #711 from mradha25/MergeTrunk_Feature14714
 add 628ea12  AMBARI-23293. Fix the following : 1. Host Component deletes 
are broken 2. Use resourceType for getting resources from Mpack Modules.
 new b5a1149  AMBARI-23293. Fix the following : 1. Host Component deletes 
are broken 2. Use resourceType for getting resources from Mpack Modules.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../actionmanager/ExecutionCommandWrapper.java |  5 ++-
 .../alerts/ComponentVersionAlertRunnable.java  |  4 +--
 .../controller/AmbariManagementController.java | 19 --
 .../controller/AmbariManagementControllerImpl.java | 42 +++---
 .../internal/AbstractProviderModule.java   |  2 +-
 .../internal/ComponentResourceProvider.java|  4 +--
 .../internal/HostComponentResourceProvider.java|  4 +--
 .../logging/LoggingSearchPropertyProvider.java |  2 +-
 .../ambari/server/state/ServiceComponentImpl.java  |  3 +-
 .../apache/ambari/server/state/ServiceImpl.java|  2 +-
 .../alerts/ComponentVersionAlertRunnableTest.java  | 10 +++---
 .../internal/ComponentResourceProviderTest.java| 14 
 .../HostComponentResourceProviderTest.java |  4 +--
 .../controller/internal/JMXHostProviderTest.java   |  2 +-
 .../logging/LoggingSearchPropertyProviderTest.java |  6 ++--
 15 files changed, 79 insertions(+), 44 deletions(-)

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


[ambari] branch branch-feature-AMBARI-14714 updated (1523f80 -> 68d6e53)

2018-03-12 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from 1523f80  Merge pull request #627 from 
ishanbha/branch-feature-AMBARI-14714
 add b609d6f  AMBARI-23215. Update logic to skip *_CLIENT services Service 
Checks (SC), as there is no SC defined for them.
 new 68d6e53  AMBARI-23215. Update logic to skip *_CLIENT services Service 
Checks (SC), as there is no SC defined for them.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../ambari/server/controller/AmbariManagementControllerImpl.java  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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


[ambari] 01/01: AMBARI-23215. Update logic to skip *_CLIENT services Service Checks (SC), as there is no SC defined for them.

2018-03-12 Thread swapan
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 68d6e5328405489b27715268811451662868984c
Merge: 1523f80 b609d6f
Author: swapanshridhar 
AuthorDate: Mon Mar 12 17:10:15 2018 -0700

AMBARI-23215. Update logic to skip *_CLIENT services Service Checks (SC), 
as there is no SC defined for them.

 .../ambari/server/controller/AmbariManagementControllerImpl.java  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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


[ambari] 01/01: AMBARI-23196. Add reverted changes back (reverted in : AMBARI-23183) after merging branch 'branch-feature-AMBARI-14714-ui' into 'branch-feature-AMBARI-14714' (AMBARI-23193).

2018-03-09 Thread swapan
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 eda1a2a56e438cb03d7f2b4507ee7fd24d128dc2
Merge: a954a3a 547b5ac
Author: swapanshridhar 
AuthorDate: Fri Mar 9 16:57:39 2018 -0800

AMBARI-23196. Add reverted changes back (reverted in : AMBARI-23183) after 
merging branch 'branch-feature-AMBARI-14714-ui' into 
'branch-feature-AMBARI-14714' (AMBARI-23193).

 .../functions/get_not_managed_resources.py |  4 +--
 .../app/controllers/wizard/step8_controller.js | 33 +-
 ambari-web/app/models/stack_service.js |  5 ++--
 3 files changed, 25 insertions(+), 17 deletions(-)

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


[ambari] branch branch-feature-AMBARI-14714 updated (a954a3a -> eda1a2a)

2018-03-09 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from a954a3a  Ambari 23193. Merge UI branch 
'branch-feature-AMBARI-14714-ui' into 'branch-feature-AMBARI-14714'.
 add 547b5ac  AMBARI-23196. Add reverted changes back (reverted in : 
AMBARI-23183) after merging branch 'branch-feature-AMBARI-14714-ui' into 
'branch-feature-AMBARI-14714' (AMBARI-23193).
 new eda1a2a  AMBARI-23196. Add reverted changes back (reverted in : 
AMBARI-23183) after merging branch 'branch-feature-AMBARI-14714-ui' into 
'branch-feature-AMBARI-14714' (AMBARI-23193).

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../functions/get_not_managed_resources.py |  4 +--
 .../app/controllers/wizard/step8_controller.js | 33 +-
 ambari-web/app/models/stack_service.js |  5 ++--
 3 files changed, 25 insertions(+), 17 deletions(-)

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


[ambari] branch branch-feature-AMBARI-14714 updated (5be3604 -> a954a3a)

2018-03-09 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from 5be3604  [Ambari-22990] Provide Bootstrap test connection feature 
(#530)
 add fe57de6  AMBARI-22180. [Modular Deployment][MVP] Download 
Configuration. (Ishan via Jaimin)
 add 88dd726  AMBARI-22239. [Modular Deployment][MVP] Download Products. 
(Ishan via Jaimin)
 add cce1043  AMBARI-22247 : Return display name when requesting mpack info 
(mradhakrishnan)
 add 964227d  AMBARI-22247 : Return display name when requesting mpack info 
(mradhakrishnan) - Addendum
 add bec566f  AMBARI-22067 : Registry API should sort versions with latest 
at index 0 (mradhakrishnan)
 add 87538bc  AMBARI-22283 : Add stack name and version to mpack API 
(mradhakrishnan)
 add 1578226b AMBARI-22294 UI styling for the Mpack Installer wizard (Ishan 
Bhatt via atkach)
 add 1534774  AMBARI-22311 - Initial implementation of mpack install wizard 
(Jason Golieb via jonathanhurley)
 add 96959e9  AMBARI-22330. Additional UI work for Mpack installer wizard 
(Ishan Bhatt)
 add 272e500  Merge branch 'branch-feature-AMBARI-14714' into 
branch-feature-AMBARI-14714-ui
 add 0d39eb4  AMBARI-22380 : Add stack name and version to registry API 
(mradhakrishnan)
 add 4087a11  AMBARI-22420 - Enable mpack version selection (Jason Golieb 
via jonathanhurley)
 add 0b915f2  AMBARI-22482 - Use case and service based mpack selection 
(Jason Golieb via jonathanhurley)
 add c72a3bf  AMBARI-22569 - Implemented additional functionality on the 
Configure Download screen. (Jason Golieb via jonathanhurley)
 add 50e28df  AMBARI-22695 - Implement download configuration options and 
custom (i.e. local) repo support (Jason Golieb via jonathanhurley)
 add 071c2c4  Merge branch 'branch-feature-AMBARI-14714' into UI-refresh
 add 2685a0e  Merge pull request #157 from jgolieb/UI-refresh
 add 52a447c  [AMBARI-22802] Styling for install wizard (#134)
 add efae1bc  [AMBARI-22826] Mpack related changes to Add Hosts Page. (#200)
 add 9c930c4  [AMBARI-22804] Install Wizard final deployment of services 
from multiple mpacks (#199)
 add 6c23fb9  [AMBARI-22844] Install wizard mpack/service filter on 
selection screen (#232)
 add 95d5d19  [AMBARI-22872] Register/Confirm Host for modular deployment. 
(#225)
 add d2d1773  [AMBARI-22901] View Log feature for failed mpack downloads 
(#251)
 add 430285d  Bug fixes (#257)
 add 1fb2c62  Merge branch-feature-AMBARI-14714 (#345)
 add d4f42be  [AMBARI-22925] mpack admin (#343)
 add 1384106  AMBARI-23007. Create Upgrade Plan menu item and popup
 add 29e8ccd  Merging branch-feature-ambari-14714 into 
branch-feature-ambari-14714-ui (#462)
 add 37a7f14  [AMBARI-23006] upgrade admin (#471)
 add 561d654  [AMBARI-23134] Install wizard revision (#531)
 add c5c58d6  [AMBARI-23087] Upgrade Plan Wizard framework. (#549)
 add 11ca525  Implemented the use of the cluster settings API instead of 
cluster-env. (#594)
 add 3e1e19e  Merge branch-feature-ambari-14714 into 
branch-feature-ambari-14714-ui (#610)
 add ab121da  Merge UI branch 'branch-feature-AMBARI-14714-ui' into 
'branch-feature-AMBARI-14714'.
 new a954a3a  Ambari 23193. Merge UI branch 
'branch-feature-AMBARI-14714-ui' into 'branch-feature-AMBARI-14714'.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .gitignore |1 +
 .../server/orm/entities/RepoDefinitionEntity.java  |1 +
 .../KAFKA/0.8.1/package/scripts/kafka_broker.py|2 +-
 .../ZEPPELIN/0.6.0.3.0/metainfo.xml|  103 ++
 ambari-web/app/app.js  |3 +-
 .../app/assets/data/users/privileges_admin.json|   58 +-
 ambari-web/app/assets/index.html   |8 +-
 ambari-web/app/assets/test/tests.js|   19 +
 ambari-web/app/controllers.js  |   15 +
 ambari-web/app/controllers/installer.js|  461 +--
 .../mpackUpgrade/downloadMpacks_controller.js} |   23 +-
 .../mpackUpgrade/downloadOptions_controller.js}|   23 +-
 .../mpackUpgrade/reviewConfigs_controller.js}  |   23 +-
 .../selectUpgradeOptions_controller.js}|   23 +-
 .../mpackUpgrade/selectUpgradeType_controller.js}  |   23 +-
 .../mpackUpgrade/upgradeSummary_controller.js} |   23 +-
 .../main/admin/mpack_upgrade_controller.js |  176 +++
 .../main/admin/serviceGroups_controller.js |  253 
 .../app/controllers/main/host/add_controller.js|2 +-
 .../app/controller

[ambari] 01/01: Ambari 23193. Merge UI branch 'branch-feature-AMBARI-14714-ui' into 'branch-feature-AMBARI-14714'.

2018-03-09 Thread swapan
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 a954a3ad4aa9308f5cc8082d50abebe3eae28f2e
Merge: 5be3604 ab121da
Author: swapanshridhar 
AuthorDate: Fri Mar 9 16:26:09 2018 -0800

Ambari 23193. Merge UI branch 'branch-feature-AMBARI-14714-ui' into 
'branch-feature-AMBARI-14714'.

 .gitignore |1 +
 .../server/orm/entities/RepoDefinitionEntity.java  |1 +
 .../KAFKA/0.8.1/package/scripts/kafka_broker.py|2 +-
 .../ZEPPELIN/0.6.0.3.0/metainfo.xml|  103 ++
 ambari-web/app/app.js  |3 +-
 .../app/assets/data/users/privileges_admin.json|   58 +-
 ambari-web/app/assets/index.html   |8 +-
 ambari-web/app/assets/test/tests.js|   19 +
 ambari-web/app/controllers.js  |   15 +
 ambari-web/app/controllers/installer.js|  461 +--
 .../mpackUpgrade/downloadMpacks_controller.js} |   23 +-
 .../mpackUpgrade/downloadOptions_controller.js}|   23 +-
 .../mpackUpgrade/reviewConfigs_controller.js}  |   23 +-
 .../selectUpgradeOptions_controller.js}|   23 +-
 .../mpackUpgrade/selectUpgradeType_controller.js}  |   23 +-
 .../mpackUpgrade/upgradeSummary_controller.js} |   23 +-
 .../main/admin/mpack_upgrade_controller.js |  176 +++
 .../main/admin/serviceGroups_controller.js |  253 
 .../app/controllers/main/host/add_controller.js|2 +-
 .../app/controllers/main/service/add_controller.js |4 +-
 ambari-web/app/controllers/wizard.js   |   78 +-
 .../wizard/configureDownload_controller.js |   82 ++
 .../wizard/customMpackRepos_controller.js  |   50 +
 .../wizard/customProductRepos_controller.js|  285 +
 .../wizard/downloadMpacks_controller.js|  157 +++
 .../controllers/wizard/selectMpacks_controller.js  |  612 ++
 .../app/controllers/wizard/step0_controller.js |5 +-
 .../app/controllers/wizard/step10_controller.js|7 +-
 .../app/controllers/wizard/step1_controller.js |5 +-
 .../app/controllers/wizard/step2_controller.js |  212 +++-
 .../app/controllers/wizard/step3_controller.js |   26 +-
 .../app/controllers/wizard/step4_controller.js |9 +-
 .../app/controllers/wizard/step5_controller.js |   13 +-
 .../app/controllers/wizard/step6_controller.js |   24 +-
 .../app/controllers/wizard/step7_controller.js |   28 +-
 .../app/controllers/wizard/step8_controller.js |  208 ++--
 .../app/controllers/wizard/step9_controller.js |   25 +-
 .../wizard/verifyProducts_controller.js|  162 +++
 ...tep5_controller.js => wizardStep_controller.js} |   37 +-
 .../data/configs/wizards/kerberos_identities.js|6 +-
 ambari-web/app/mappers.js  |3 +-
 .../configs/stack_config_properties_mapper.js  |   36 +-
 ambari-web/app/mappers/mpack_service_mapper.js |  114 ++
 ambari-web/app/mappers/stack_mapper.js |   14 +-
 ambari-web/app/messages.js |  679 +-
 .../app/mixins/common/configs/enhanced_configs.js  |   36 +-
 .../hosts/host_component_recommendation_mixin.js   |   16 +-
 .../hosts/host_component_validation_mixin.js   |   16 +-
 .../app/mixins/wizard/assign_master_components.js  |   43 +-
 ambari-web/app/mixins/wizard/wizard_menu_view.js   |   74 +-
 ambari-web/app/models/repository.js|8 +-
 ambari-web/app/models/stack.js |2 -
 ambari-web/app/router.js   |   25 +-
 ambari-web/app/routes/installer.js |  581 +++--
 ambari-web/app/routes/main.js  |   25 +-
 ambari-web/app/routes/mpack_upgrade_routes.js  |  225 
 ambari-web/app/styles/application.less |  469 ++-
 ambari-web/app/styles/bootstrap_overrides.less |  147 ++-
 ambari-web/app/styles/common.less  |8 +-
 ambari-web/app/styles/dashrow.less |   98 ++
 ambari-web/app/styles/modal_popups.less|   12 +
 ambari-web/app/styles/stack_versions.less  |2 +-
 ambari-web/app/styles/theme/bootstrap-ambari.css   |   28 +-
 ambari-web/app/styles/widgets.less |4 +-
 ambari-web/app/styles/wizard.less  |  474 +--
 ambari-web/app/templates.js|1 +
 .../templates/common/assign_master_components.hbs  |   10 +-
 ambari-web/app/templates/common/dashrow.hbs|   61 +
 ambari-web/app/templates/common/modal_popup.hbs|2 +-
 .../app/templates/common/mpackComparison.hbs   |   39 +
 ambari-web/app/templates/common/pagination.hbs |2 +-
 ambari-web/app/templates/common/timeline.hbs   |   34 +
 ambari-web/app/

[ambari] branch branch-feature-AMBARI-14714 updated (154266f -> 4375329)

2018-03-08 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from 154266f  [AMBARI-23177] Yarn-MR separation and minor deployment fixes 
(#588)
 add 79a4eb6  AMBARI-23183. Revert UI changes made to branch : 
branch-feature-AMBARI-14714.
 new 4375329  AMBARI-23183. Revert UI changes made to branch : 
branch-feature-AMBARI-14714

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../app/controllers/wizard/step8_controller.js | 34 +-
 ambari-web/app/models/stack_service.js |  5 ++--
 2 files changed, 15 insertions(+), 24 deletions(-)

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


[ambari] 01/01: AMBARI-23183. Revert UI changes made to branch : branch-feature-AMBARI-14714

2018-03-08 Thread swapan
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 4375329d07c00deb349df7d6b3c0c823c14ddd14
Merge: 154266f 79a4eb6
Author: swapanshridhar 
AuthorDate: Thu Mar 8 15:24:20 2018 -0800

AMBARI-23183. Revert UI changes made to branch : branch-feature-AMBARI-14714

 .../app/controllers/wizard/step8_controller.js | 34 +-
 ambari-web/app/models/stack_service.js |  5 ++--
 2 files changed, 15 insertions(+), 24 deletions(-)

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


[ambari] 01/01: AMBARI-23175. Fix for PUT Host Component API failing because validation check fails. (#586).

2018-03-07 Thread swapan
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 364cf4a116a48d2d805c08df9ed0e249d607bbac
Merge: 47cb5b6 842b847
Author: swapanshridhar 
AuthorDate: Wed Mar 7 15:40:41 2018 -0800

AMBARI-23175. Fix for PUT Host Component API failing because validation 
check fails. (#586).

AMBARI-23175. Fix for PUT Host Component API failing because validation 
check fails. (#586).

 .../server/controller/internal/HostComponentResourceProvider.java   | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

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


[ambari] branch branch-feature-AMBARI-14714 updated (47cb5b6 -> 364cf4a)

2018-03-07 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from 47cb5b6  AMBARI-23167 - StackOverflowError thrown during cluster 
creation
 add 842b847  AMBARI-23175. Fix for PUT Host Component API failing because 
validation check fails.
 new 364cf4a  AMBARI-23175. Fix for PUT Host Component API failing because 
validation check fails. (#586).

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../server/controller/internal/HostComponentResourceProvider.java   | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

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


[ambari] 01/01: Merge pull request #566 from swapanshridhar/AMBARI-23158-branch-feature-AMBARI-14714

2018-03-06 Thread swapan
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 ae041c9c0b22be365c9138112bdb8c8954f42d82
Merge: 91b2116 655e7c7
Author: swapanshridhar 
AuthorDate: Tue Mar 6 13:40:29 2018 -0800

Merge pull request #566 from 
swapanshridhar/AMBARI-23158-branch-feature-AMBARI-14714

AMBARI-23158. Fix NPE in Host Components query.

 .../controller/internal/HostComponentResourceProvider.java   | 9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

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


[ambari] branch branch-feature-AMBARI-14714 updated (91b2116 -> ae041c9)

2018-03-06 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from 91b2116  AMBARI-23147 - Expose Repository CRUD via the Mpack Endpoint 
(#552)
 add 655e7c7  AMBARI-23158. Fix NPE in Host Components query.
 new ae041c9  Merge pull request #566 from 
swapanshridhar/AMBARI-23158-branch-feature-AMBARI-14714

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../controller/internal/HostComponentResourceProvider.java   | 9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

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


[ambari] branch branch-feature-AMBARI-14714 updated (9839aa3 -> 49fa0ac)

2018-03-05 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


from 9839aa3  AMBARI-22883. Let HostSummaryRenderer add Hosts/os_type 
property to the query (#539)
 add 2c844e8  AMBARI-22945. Enhance host components API to support multiple 
host component instances.
 new 49fa0ac  Merge pull request #477 from 
swapanshridhar/AMBARI-22945-branch-feature-AMBARI-14714

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../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/DefaultServiceCalculatedSt

[ambari] 01/01: Merge pull request #477 from swapanshridhar/AMBARI-22945-branch-feature-AMBARI-14714

2018-03-05 Thread swapan
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 
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

[ambari] branch AMBARI-22945-branch-feature-AMBARI-14714 deleted (was df4aa4b)

2018-03-02 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


 was df4aa4b  AMBARI-22945. Enhance host components API to support multiple 
host component instances.

This change permanently discards the following revisions:

 discard df4aa4b  AMBARI-22945. Enhance host components API to support multiple 
host component instances.

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


[ambari] branch AMBARI-22945-branch-feature-AMBARI-14714 updated (724d37f -> a9d7fe4)

2018-02-26 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


omit 724d37f  AMBARI-22945. Enhance host components API to support multiple 
host component instances.
 add a9d7fe4  AMBARI-22945. Enhance host components API to support multiple 
host component instances.

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (724d37f)
\
 N -- N -- N   refs/heads/AMBARI-22945-branch-feature-AMBARI-14714 
(a9d7fe4)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 .../controller/AmbariManagementControllerImpl.java | 15 +--
 .../internal/ComponentResourceProvider.java|  8 +++-
 .../internal/HostComponentResourceProvider.java| 10 ++---
 .../internal/StackDefinedPropertyProvider.java |  1 -
 .../metrics/MetricsCollectorHAClusterState.java| 29 +---
 .../metrics/MetricsPropertyProvider.java   | 52 --
 .../ganglia/GangliaComponentPropertyProvider.java  | 37 ++-
 .../GangliaHostComponentPropertyProvider.java  | 37 ---
 .../metrics/ganglia/GangliaPropertyProvider.java   | 16 +++
 .../timeline/AMSComponentPropertyProvider.java | 37 ---
 .../timeline/AMSHostComponentPropertyProvider.java | 37 ---
 .../orm/dao/HostComponentDesiredStateDAO.java  |  4 --
 .../server/orm/dao/HostComponentStateDAO.java  | 33 --
 .../entities/HostComponentDesiredStateEntity.java  |  4 +-
 .../orm/entities/HostComponentStateEntity.java | 15 +++
 .../apache/ambari/server/utils/PasswordUtils.java  |  2 +-
 .../src/main/resources/Ambari-DDL-Derby-CREATE.sql |  3 +-
 .../src/main/resources/Ambari-DDL-MySQL-CREATE.sql |  3 +-
 .../main/resources/Ambari-DDL-Oracle-CREATE.sql|  3 +-
 .../main/resources/Ambari-DDL-Postgres-CREATE.sql  |  3 +-
 .../resources/Ambari-DDL-SQLAnywhere-CREATE.sql|  3 +-
 .../main/resources/Ambari-DDL-SQLServer-CREATE.sql |  3 +-
 22 files changed, 114 insertions(+), 241 deletions(-)

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


[ambari] branch AMBARI-22945-branch-feature-AMBARI-14714 created (now 724d37f)

2018-02-25 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


  at 724d37f  AMBARI-22945. Enhance host components API to support multiple 
host component instances.

This branch includes the following new commits:

 new 724d37f  AMBARI-22945. Enhance host components API to support multiple 
host component instances.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


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


[ambari] branch AMBARI-22945-branch-feature-AMBARI-14714 created (now 8c06873)

2018-02-25 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


  at 8c06873  AMBARI-22945. Enhance host components API to support multiple 
host component instances.

This branch includes the following new commits:

 new 8c06873  AMBARI-22945. Enhance host components API to support multiple 
host component instances.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


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


[ambari] 01/01: AMBARI-22945. Enhance host components API to support multiple host component instances.

2018-02-08 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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

commit e47d34d867fa626776a000d8e84a86e68eed08cc
Author: Swapan Shridhar 
AuthorDate: Thu Feb 8 14:09:12 2018 -0800

AMBARI-22945. Enhance host components API to support multiple host 
component instances.
---
 .../server/api/services/HostComponentService.java  | 51 +++---
 .../controller/AmbariManagementControllerImpl.java | 29 +++-
 .../controller/ServiceComponentHostRequest.java| 18 +++-
 .../controller/ServiceComponentHostResponse.java   | 29 ++--
 .../server/controller/ServiceComponentRequest.java | 28 +---
 .../controller/ServiceComponentResponse.java   | 25 ++-
 .../internal/AbstractProviderModule.java   | 18 +---
 .../internal/ClientConfigResourceProvider.java |  2 +
 .../internal/ComponentResourceProvider.java| 19 +---
 .../internal/HostComponentResourceProvider.java| 15 +--
 .../controller/internal/HostResourceProvider.java  |  1 +
 .../controller/internal/HostStatusHelper.java  |  8 ++--
 .../internal/StackDefinedPropertyProvider.java | 19 +---
 .../server/controller/jmx/JMXHostProvider.java |  3 +-
 .../server/controller/jmx/JMXPropertyProvider.java | 32 +-
 .../metrics/MetricPropertyProviderFactory.java |  5 ++-
 .../metrics/MetricsCollectorHAClusterState.java| 10 ++---
 .../metrics/RestMetricsPropertyProvider.java   |  9 +++-
 .../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  |  1 -
 .../server/orm/dao/HostComponentStateDAO.java  |  8 ++--
 .../orm/dao/ServiceComponentDesiredStateDAO.java   |  7 +--
 .../entities/HostComponentDesiredStateEntity.java  | 24 --
 .../orm/entities/HostComponentStateEntity.java | 31 ++---
 .../ServiceComponentDesiredStateEntity.java| 18 +++-
 .../org/apache/ambari/server/state/Service.java|  2 +-
 .../ambari/server/state/ServiceComponent.java  |  3 ++
 .../server/state/ServiceComponentFactory.java  |  4 +-
 .../ambari/server/state/ServiceComponentHost.java  |  6 +++
 .../ambari/server/state/ServiceComponentImpl.java  | 49 +
 .../apache/ambari/server/state/ServiceImpl.java|  4 +-
 .../ambari/server/state/cluster/ClusterImpl.java   |  1 -
 .../svccomphost/ServiceComponentHostImpl.java  | 17 ++--
 .../ambari/server/topology/AmbariContext.java  |  5 ++-
 .../apache/ambari/server/utils/PasswordUtils.java  | 10 ++---
 .../main/resources/Ambari-DDL-Postgres-CREATE.sql  |  6 ++-
 .../app/controllers/wizard/step8_controller.js |  5 ++-
 ambari-web/app/utils/ajax/ajax.js  |  3 +-
 44 files changed, 385 insertions(+), 154 deletions(-)

diff --git 
a/ambari-server/src/main/java/org/apache/ambari/server/api/services/HostComponentService.java
 
b/ambari-server/src/main/java/org/apache/ambari/server/api/services/HostComponentService.java
index a5e9aec..c07742f 100644
--- 
a/ambari-server/src/main/java/org/apache/ambari/server/api/services/HostComponentService.java
+++ 
b/ambari-server/src/main/java/org/apache/ambari/server/api/services/HostComponentService.java
@@ -71,19 +71,19 @@ public class HostComponentService extends BaseService {
   }
 
   /**
-   * Handles GET 
/clusters/{clusterID}/hosts/{hostID}/host_components/{hostComponentID}
+   * Handles GET 
/clusters/{clusterName}/hosts/{hostID}/host_components/{hostComponentID}
* Get a specific host_component.
*
* @param headers   http headers
* @param uiuri info
-   * @param hostComponentName host_component id
-   * @return host_component resource representation
+   * @param hostComponentId   host_component id
+   * @return host_component   resource representation
*/
   @GET @ApiIgnore // until documented
-  @Path("{hostComponentName}")
+  @Path("{hostComponentId}")
   @Produces("text/plain")
   public Response getHostComponent(String body, @Context HttpHeaders headers, 
@Context UriInfo ui,
-   @PathParam("hostComponentName") String 
hostComponentName, @QueryParam("format") String format) {
+   @PathParam("hostComponentId") String 
hostComponentId, @QueryParam("format") String format) {
 
 //todo: needs to be refactored when properly handling exceptions
 if (m_hostName == null) {
@@ 

[ambari] branch AMBARI-22945-branch-feature-AMBARI-14714 created (now e47d34d)

2018-02-08 Thread swapan
This is an automated email from the ASF dual-hosted git repository.

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


  at e47d34d  AMBARI-22945. Enhance host components API to support multiple 
host component instances.

This branch includes the following new commits:

 new e47d34d  AMBARI-22945. Enhance host components API to support multiple 
host component instances.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


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


ambari git commit: AMBARI-22649. Library for querying cluster_settings and stack_settings in command*.json.

2017-12-19 Thread swapan
Repository: ambari
Updated Branches:
  refs/heads/branch-feature-AMBARI-14714 4e575a59a -> 61f02394c


AMBARI-22649. Library for querying cluster_settings and stack_settings in 
command*.json.


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/61f02394
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/61f02394
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/61f02394

Branch: refs/heads/branch-feature-AMBARI-14714
Commit: 61f02394cb5d84d6e9034bc3e9855ba9a6c14879
Parents: 4e575a5
Author: Swapan Shridhar 
Authored: Tue Dec 19 05:55:04 2017 -0800
Committer: Swapan Shridhar 
Committed: Tue Dec 19 06:04:40 2017 -0800

--
 .../libraries/functions/cluster_settings.py |  60 ++
 .../libraries/functions/settings.py | 112 ++
 .../libraries/functions/stack_features.py   |  15 +-
 .../libraries/functions/stack_select.py |  13 +-
 .../libraries/functions/stack_settings.py   |  71 ++
 .../libraries/functions/stack_tools.py  |  15 +-
 ambari-server/src/test/python/TestSettings.py   | 216 +++
 7 files changed, 490 insertions(+), 12 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/ambari/blob/61f02394/ambari-common/src/main/python/resource_management/libraries/functions/cluster_settings.py
--
diff --git 
a/ambari-common/src/main/python/resource_management/libraries/functions/cluster_settings.py
 
b/ambari-common/src/main/python/resource_management/libraries/functions/cluster_settings.py
new file mode 100644
index 000..610aed5
--- /dev/null
+++ 
b/ambari-common/src/main/python/resource_management/libraries/functions/cluster_settings.py
@@ -0,0 +1,60 @@
+#!/usr/bin/env python
+"""
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+"""
+
+SECURITY_ENABLED_SETTING_NAME = "security_enabled"
+
+
+from resource_management.core.logger import Logger
+from resource_management.libraries.functions import settings
+
+def get_cluster_setting_entries(setting_names):
+"""
+Retrieves the passed-in cluster setting entr(y/ies) and their values as a 
map.
+If 'setting_names' is passed-in as None : all the settings names and their 
corresponding values
+will be returned as map.
+If 'setting_names' is passed-in as empty set : None will be returned.
+
+:argument setting_names: A set/frozenset/tuple/list of settings passed-in 
for retrieval
+:return map of setting_names and their respective values or None.
+
+:type setting_names: set
+"""
+return settings.get_setting_type_entries(settings.CLUSTER_SETTINGS_TYPE, 
setting_names)
+
+
+
+def get_cluster_setting_value(setting_name):
+"""
+Retrieves the passed-in cluster setting entry's value.
+
+:argument setting_name: cluster setting to be retrieved.
+:return value of the passed-in 'setting_name'
+
+:type setting_name: string.
+"""
+return settings.get_setting_value(settings.CLUSTER_SETTINGS_TYPE, 
setting_name)
+
+def is_security_enabled():
+"""
+Retrieves the cluster's security status.
+
+:return cluster's security status
+"""
+return settings.get_setting_value(settings.CLUSTER_SETTINGS_TYPE, 
SECURITY_ENABLED_SETTING_NAME)

http://git-wip-us.apache.org/repos/asf/ambari/blob/61f02394/ambari-common/src/main/python/resource_management/libraries/functions/settings.py
--
diff --git 
a/ambari-common/src/main/python/resource_management/libraries/functions/settings.py
 
b/ambari-common/src/main/python/resource_management/libraries/functions/settings.py
new file mode 100644
index 000..42be6d6
--- /dev/null
+++ 
b/ambari-common/src/main/python/resource_management/libraries/functions/settings.py
@@ -0,0 +1,112 @@
+#!/usr/bin/env python
+"""
+Licensed to the Apache

ambari git commit: Updating Ambari docs for Ambari 2.6.1 and Ambari 2.6.0

2017-12-18 Thread swapan
Repository: ambari
Updated Branches:
  refs/heads/trunk be0e87bef -> 90554f381


Updating Ambari docs for Ambari 2.6.1 and Ambari 2.6.0


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/90554f38
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/90554f38
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/90554f38

Branch: refs/heads/trunk
Commit: 90554f3810c140787cf4550358952c4438ca78e0
Parents: be0e87b
Author: Swapan Shridhar 
Authored: Mon Dec 18 22:39:17 2017 -0800
Committer: Swapan Shridhar 
Committed: Mon Dec 18 22:40:15 2017 -0800

--
 docs/pom.xml|  2 +-
 docs/src/site/apt/index.apt |  2 +-
 docs/src/site/apt/whats-new.apt | 14 +-
 docs/src/site/site.xml  |  4 
 4 files changed, 19 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/ambari/blob/90554f38/docs/pom.xml
--
diff --git a/docs/pom.xml b/docs/pom.xml
index f3de652..e24a340 100644
--- a/docs/pom.xml
+++ b/docs/pom.xml
@@ -28,7 +28,7 @@
 4.0.0
 
 org.apache.ambari
-2.5.2
+2.6.1
 ambari
 pom
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/90554f38/docs/src/site/apt/index.apt
--
diff --git a/docs/src/site/apt/index.apt b/docs/src/site/apt/index.apt
index d9bbe6d..3ffe78e 100644
--- a/docs/src/site/apt/index.apt
+++ b/docs/src/site/apt/index.apt
@@ -52,7 +52,7 @@ Introduction
 
 Getting Started with Ambari
 
-  Follow the 
{{{https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.5.2}
 installation guide for Ambari 2.5.2}}.
+  Follow the 
{{{https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1}
 installation guide for Ambari 2.6.1}}.
 
   Note: Ambari currently supports the 64-bit version of the following 
Operating Systems:
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/90554f38/docs/src/site/apt/whats-new.apt
--
diff --git a/docs/src/site/apt/whats-new.apt b/docs/src/site/apt/whats-new.apt
index a1625ce..6ab75a1 100644
--- a/docs/src/site/apt/whats-new.apt
+++ b/docs/src/site/apt/whats-new.apt
@@ -16,7 +16,19 @@
 
 What's New with Ambari?
 
-  * The latest release of Ambari is Ambari 2.5.2.
+  * The latest release of Ambari is Ambari 2.6.1.
+
+  * Ambari 2.6.1 added the following feature:
+
+* Conditionally Install LZO packages through Ambari (AMBARI-22457)
+
+  * Ambari 2.6.0 added the following features:
+
+* Ambari Metrics System's (AMS) distributed mode with multiple Collectors 
(General Availability) (AMBARI-15901)
+
+* Improvements in Host Recovery (Restart only), moving masters with 
minimum impact and scale testing (AMBARI-21898, AMBARI-21929, AMBARI-21834)
+
+* Improvement in Data Archival & Purging in Ambari Infra (AMBARI-21810)
 
   * Ambari 2.5.2 added the following features:
   

http://git-wip-us.apache.org/repos/asf/ambari/blob/90554f38/docs/src/site/site.xml
--
diff --git a/docs/src/site/site.xml b/docs/src/site/site.xml
index f2d0d07..66d7ad4 100644
--- a/docs/src/site/site.xml
+++ b/docs/src/site/site.xml
@@ -107,6 +107,8 @@
   https://cwiki.apache.org/confluence/display/AMBARI/Quick+Start+Guide"/>
   https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=30755705"/>
   https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/index.md"/>
+  https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1"/>
+  https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.0"/>
   https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.5.2"/>
   https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.5.1"/>
   https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.5.0"/>
@@ -142,6 +144,8 @@
 
 
 
+  http://www.apache.org/dyn/closer.cgi/ambari/ambari-2.6.1"/>
+  http://www.apache.org/dyn/closer.cgi/ambari/ambari-2.6.0"/>
   http://www.apache.org/dyn/closer.cgi/ambari/ambari-2.5.2"/>
   http://www.apache.org/dyn/closer.cgi/ambari/ambari-2.5.1"/>
   http://www.apache.org/dyn/closer.cgi/ambari/ambari-2.5.0"/>



svn commit: r1818638 - in /ambari/site: index.html install-0.9.html install.html irc.html issue-tracking.html license.html mail-lists.html privacy-policy.html project-info.html team-list.html whats-ne

2017-12-18 Thread swapan
Author: swapan
Date: Tue Dec 19 06:13:11 2017
New Revision: 1818638

URL: http://svn.apache.org/viewvc?rev=1818638&view=rev
Log:
Updating site for Ambari-2.6.1

Modified:
ambari/site/index.html
ambari/site/install-0.9.html
ambari/site/install.html
ambari/site/irc.html
ambari/site/issue-tracking.html
ambari/site/license.html
ambari/site/mail-lists.html
ambari/site/privacy-policy.html
ambari/site/project-info.html
ambari/site/team-list.html
ambari/site/whats-new.html

Modified: ambari/site/index.html
URL: 
http://svn.apache.org/viewvc/ambari/site/index.html?rev=1818638&r1=1818637&r2=1818638&view=diff
==
--- ambari/site/index.html (original)
+++ ambari/site/index.html Tue Dec 19 06:13:11 2017
@@ -1,13 +1,13 @@
 
 
 http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
   
 
 
-
+
 
 Ambari - 
 
@@ -113,6 +113,9 @@
 https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/index.md";
  title="API Reference">API Reference
 
   
+https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1";
  title="Install Guide for 2.6.1">Install Guide for 2.6.1
+
+  
 https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.0";
  title="Install Guide for 2.6.0">Install Guide for 2.6.0
 
   
@@ -217,6 +220,9 @@
 Releases 
 
 
+http://www.apache.org/dyn/closer.cgi/ambari/ambari-2.6.1";  
title="2.6.1">2.6.1
+
+  
 http://www.apache.org/dyn/closer.cgi/ambari/ambari-2.6.0";  
title="2.6.0">2.6.0
 
   
@@ -365,8 +371,8 @@
 
 
 
-  Last Published: 
2017-10-30 |
-  Version: 2.6.0
+  Last Published: 
2017-12-18 |
+  Version: 2.6.1
 
 
   
@@ -465,6 +471,13 @@
   
   
 
+  https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1";
 class="externalLink" title="Install Guide for 2.6.1">
+  
+Install Guide for 2.6.1
+
+  
+  
+
   https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.0";
 class="externalLink" title="Install Guide for 2.6.0">
   
 Install Guide for 2.6.0
@@ -697,6 +710,13 @@
 
   
 
+  http://www.apache.org/dyn/closer.cgi/ambari/ambari-2.6.1"; 
class="externalLink" title="2.6.1">
+  
+2.6.1
+
+  
+  
+
   http://www.apache.org/dyn/closer.cgi/ambari/ambari-2.6.0"; 
class="externalLink" title="2.6.0">
   
 2.6.0
@@ -969,7 +989,7 @@
 Easily integrate Hadoop provisioning, management, and monitoring 
capabilities to their own applications with the https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/index.md";>
 Ambari REST APIs.
 
 Getting Started with Ambari
-Follow the https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.0";>
 installation guide for Ambari 2.6.0.
+Follow the https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1";>
 installation guide for Ambari 2.6.1.
 Note: Ambari currently supports the 64-bit version of the following 
Operating Systems:
 
 RHEL (Redhat Enterprise Linux) 6 and 7

Modified: ambari/site/install-0.9.html
URL: 
http://svn.apache.org/viewvc/ambari/site/install-0.9.html?rev=1818638&r1=1818637&r2=1818638&view=diff
==
--- ambari/site/install-0.9.html (original)
+++ ambari/site/install-0.9.html Tue Dec 19 06:13:11 2017
@@ -1,13 +1,13 @@
 
 
 http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
   
 
 
-
+
 
 Ambari - 
 
@@ -113,6 +113,9 @@
 https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/index.md";
  title="API Reference">API Reference
 
   
+https://cwiki.apache.org/confluence/display/AMBARI/Installation+Guide+for+Ambari+2.6.1";
  title="Install Guide for 2.6.1">Install Guide for 2.6.1
+
+  

[ambari] Git Push Summary

2017-12-17 Thread swapan
Repository: ambari
Updated Tags:  refs/tags/release-2.6.1 [created] 9017d7858


svn commit: r23760 - in /release/ambari: ambari-2.4.3/ ambari-2.6.1/

2017-12-17 Thread swapan
Author: swapan
Date: Sun Dec 17 08:58:11 2017
New Revision: 23760

Log:
Committing Release 2.6.1

Added:
release/ambari/ambari-2.6.1/
release/ambari/ambari-2.6.1/apache-ambari-2.6.1-src.tar.gz   (with props)
release/ambari/ambari-2.6.1/apache-ambari-2.6.1-src.tar.gz.asc
release/ambari/ambari-2.6.1/apache-ambari-2.6.1-src.tar.gz.md5
release/ambari/ambari-2.6.1/apache-ambari-2.6.1-src.tar.gz.sha1
Removed:
release/ambari/ambari-2.4.3/

Added: release/ambari/ambari-2.6.1/apache-ambari-2.6.1-src.tar.gz
==
Binary file - no diff available.

Propchange: release/ambari/ambari-2.6.1/apache-ambari-2.6.1-src.tar.gz
--
svn:mime-type = application/octet-stream

Added: release/ambari/ambari-2.6.1/apache-ambari-2.6.1-src.tar.gz.asc
==
--- release/ambari/ambari-2.6.1/apache-ambari-2.6.1-src.tar.gz.asc (added)
+++ release/ambari/ambari-2.6.1/apache-ambari-2.6.1-src.tar.gz.asc Sun Dec 17 
08:58:11 2017
@@ -0,0 +1,11 @@
+-BEGIN PGP SIGNATURE-
+
+iQEzBAABCAAdFiEEIC+QKneR09EnEC9kvMXqJdAgOxgFAlowO1wACgkQvMXqJdAg
+OxiBXwf+NxPS/882+TerEbZUvX9kJrGjO0SO2fZ7U1E3OVWYBjaBLESVBR0/kwj/
+kVIs5xs6JLBF8K8n5G+/SWKZakeYhCCYhdjLqYGTz+VEvhYWts2tlWTfVp/PlB5y
+GnjpOWKrR81DyUdjyDFViWhkTfFeUzA44cQurZBlpS3DPPnv4Gs89+qnPDbujtR7
+ngoS3DImDQgIzoBk5vJfR7vnJmZg28zWjjCEAg3cGnFwRliad0a/hgxWxy875qHx
+3vbof8Fu38f/nEKH2Z4IfxglPEVe+RGnqzhnyaSOZfPPzX4752hgGIjHgcH7r/1U
+HESnb4KFkmNZFWeNPXBbh0deA/Gvpg==
+=AOjJ
+-END PGP SIGNATURE-

Added: release/ambari/ambari-2.6.1/apache-ambari-2.6.1-src.tar.gz.md5
==
--- release/ambari/ambari-2.6.1/apache-ambari-2.6.1-src.tar.gz.md5 (added)
+++ release/ambari/ambari-2.6.1/apache-ambari-2.6.1-src.tar.gz.md5 Sun Dec 17 
08:58:11 2017
@@ -0,0 +1 @@
+08b3194aca86c999c30fede23fd2b456  apache-ambari-2.6.1-src.tar.gz

Added: release/ambari/ambari-2.6.1/apache-ambari-2.6.1-src.tar.gz.sha1
==
--- release/ambari/ambari-2.6.1/apache-ambari-2.6.1-src.tar.gz.sha1 (added)
+++ release/ambari/ambari-2.6.1/apache-ambari-2.6.1-src.tar.gz.sha1 Sun Dec 17 
08:58:11 2017
@@ -0,0 +1 @@
+f7d6f16ddc42046ceaa47bee81eeeb86dc95ea56  apache-ambari-2.6.1-src.tar.gz




[ambari] Git Push Summary

2017-12-12 Thread swapan
Repository: ambari
Updated Tags:  refs/tags/release-2.6.1-rc1 [created] 803876121


ambari git commit: AMBARI-22602. Add 'clusterSettings' and 'stackSettings' parameters in Execution Commannd.

2017-12-11 Thread swapan
Repository: ambari
Updated Branches:
  refs/heads/branch-feature-AMBARI-14714 bcbacf0c7 -> 982ac4bae


AMBARI-22602. Add 'clusterSettings' and 'stackSettings' parameters in Execution 
Commannd.


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/982ac4ba
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/982ac4ba
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/982ac4ba

Branch: refs/heads/branch-feature-AMBARI-14714
Commit: 982ac4bae9bf199e8415326780522917c61e76b0
Parents: bcbacf0
Author: Swapan Shridhar 
Authored: Mon Dec 11 16:37:54 2017 -0800
Committer: Swapan Shridhar 
Committed: Mon Dec 11 20:08:43 2017 -0800

--
 .../ambari/server/agent/ExecutionCommand.java   | 23 
 .../server/api/services/AmbariMetaInfo.java | 16 ++
 .../AmbariCustomCommandExecutionHelper.java | 10 +
 .../AmbariManagementControllerImpl.java |  9 
 .../internal/ClientConfigResourceProvider.java  | 15 +
 .../resources/RootLevelSettingsManager.java |  2 --
 .../org/apache/ambari/server/state/Cluster.java |  8 +++
 .../server/state/cluster/ClusterImpl.java   | 10 +
 8 files changed, 91 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/ambari/blob/982ac4ba/ambari-server/src/main/java/org/apache/ambari/server/agent/ExecutionCommand.java
--
diff --git 
a/ambari-server/src/main/java/org/apache/ambari/server/agent/ExecutionCommand.java
 
b/ambari-server/src/main/java/org/apache/ambari/server/agent/ExecutionCommand.java
index 5ee4bf6..977ff93 100644
--- 
a/ambari-server/src/main/java/org/apache/ambari/server/agent/ExecutionCommand.java
+++ 
b/ambari-server/src/main/java/org/apache/ambari/server/agent/ExecutionCommand.java
@@ -54,6 +54,12 @@ public class ExecutionCommand extends AgentCommand {
   @SerializedName("clusterName")
   private String clusterName;
 
+  @SerializedName("clusterSettings")
+  private Map clusterSettings;
+
+  @SerializedName("stackSettings")
+  private Map stackSettings;
+
   @SerializedName("requestId")
   private long requestId;
 
@@ -278,6 +284,23 @@ public class ExecutionCommand extends AgentCommand {
 hostLevelParams = params;
   }
 
+  public Map getClusterSettings() {
+return clusterSettings;
+  }
+
+  public void setClusterSettings(Map clusterSettings) {
+this.clusterSettings = clusterSettings;
+  }
+
+
+  public Map getStackSettings() {
+return stackSettings;
+  }
+
+  public void setStackSettings(Map stackSettings) {
+this.stackSettings = stackSettings;
+  }
+
   public Map> getClusterHostInfo() {
 return clusterHostInfo;
   }

http://git-wip-us.apache.org/repos/asf/ambari/blob/982ac4ba/ambari-server/src/main/java/org/apache/ambari/server/api/services/AmbariMetaInfo.java
--
diff --git 
a/ambari-server/src/main/java/org/apache/ambari/server/api/services/AmbariMetaInfo.java
 
b/ambari-server/src/main/java/org/apache/ambari/server/api/services/AmbariMetaInfo.java
index fd43edf..af291f6 100644
--- 
a/ambari-server/src/main/java/org/apache/ambari/server/api/services/AmbariMetaInfo.java
+++ 
b/ambari-server/src/main/java/org/apache/ambari/server/api/services/AmbariMetaInfo.java
@@ -22,6 +22,7 @@ import static 
org.apache.ambari.server.controller.spi.Resource.InternalType.Comp
 import static 
org.apache.ambari.server.controller.spi.Resource.InternalType.HostComponent;
 import static 
org.apache.ambari.server.controller.utilities.PropertyHelper.AGGREGATE_FUNCTION_IDENTIFIERS;
 
+import com.google.common.collect.Maps;
 import java.io.File;
 import java.io.FileReader;
 import java.io.IOException;
@@ -37,6 +38,7 @@ import java.util.Map;
 import java.util.Scanner;
 import java.util.Set;
 
+import java.util.stream.Collectors;
 import javax.xml.bind.JAXBException;
 
 import org.apache.ambari.server.AmbariException;
@@ -848,6 +850,20 @@ public class AmbariMetaInfo {
   }
 
   /*
+  Returns read only 'Stack Settings' name and value as map.
+  If stack settings are not fond, returns an Empty Map.
+  */
+  public Map getStackSettingsNameValueMap(StackId stackId)
+  throws AmbariException {
+Set stackSettings = getStackSettings(stackId.getStackName(), 
stackId.getStackVersion());
+if (stackSettings != null) {
+  return stackSettings.stream().collect(
+  Collectors.toMap(PropertyInfo::getName, PropertyInfo::getValue));
+}
+return Maps.newHashMap();
+  }
+
+  /*
   Returns specific read only 'Stack Setting'.
   */
   public Set getStackSettingsByName(String stackName, String 
version, String settingName)

http:

[ambari] Git Push Summary

2017-12-09 Thread swapan
Repository: ambari
Updated Tags:  refs/tags/release-2.6.1-rc0 [created] 3451ecaa8


ambari git commit: Updating 'grafana.folder' version back to 2.6.0.

2017-12-08 Thread swapan
Repository: ambari
Updated Branches:
  refs/heads/branch-2.6 c2e4afe9e -> 59b0b0c7f


Updating 'grafana.folder' version back to 2.6.0.


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/59b0b0c7
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/59b0b0c7
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/59b0b0c7

Branch: refs/heads/branch-2.6
Commit: 59b0b0c7f2e705047504fa48e2cfca54100cdfe7
Parents: c2e4afe
Author: Swapan Shridhar 
Authored: Fri Dec 8 19:44:19 2017 -0800
Committer: Swapan Shridhar 
Committed: Fri Dec 8 19:44:19 2017 -0800

--
 ambari-metrics/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/ambari/blob/59b0b0c7/ambari-metrics/pom.xml
--
diff --git a/ambari-metrics/pom.xml b/ambari-metrics/pom.xml
index 84c7849..3f3c0b2 100644
--- a/ambari-metrics/pom.xml
+++ b/ambari-metrics/pom.xml
@@ -47,7 +47,7 @@
 
hbase-0.98.4.2.2.4.2-0002-hadoop2
 
https://msibuilds.blob.core.windows.net/hdp/2.x/2.2.4.2/2/hadoop-2.6.0.2.2.4.2-0002.winpkg.zip
 hadoop-2.6.0.2.2.4.2-0002
-grafana-2.6.1
+grafana-2.6.0
 
https://grafanarel.s3.amazonaws.com/builds/grafana-2.6.0.linux-x64.tar.gz
 
http://private-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.3.4.0-3347/tars/phoenix-4.4.0.2.3.4.0-3347.tar.gz
 phoenix-4.4.0.2.3.4.0-3347



[ambari] Git Push Summary

2017-12-08 Thread swapan
Repository: ambari
Updated Tags:  refs/tags/release-2.6.1-rc0 [deleted] bc17a2cb3


[ambari] Git Push Summary

2017-12-08 Thread swapan
Repository: ambari
Updated Tags:  refs/tags/release-2.6.1-rc0 [created] bc17a2cb3


ambari git commit: Updated Ambari version to 2.6.1.0.0.

2017-12-08 Thread swapan
Repository: ambari
Updated Branches:
  refs/heads/branch-2.6 bb47934b0 -> c2e4afe9e


Updated Ambari version to 2.6.1.0.0.


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/c2e4afe9
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/c2e4afe9
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/c2e4afe9

Branch: refs/heads/branch-2.6
Commit: c2e4afe9e1192c0d6ae80b31a4d75c39d12573da
Parents: bb47934
Author: Swapan Shridhar 
Authored: Fri Dec 8 17:00:07 2017 -0800
Committer: Swapan Shridhar 
Committed: Fri Dec 8 17:00:07 2017 -0800

--
 ambari-admin/pom.xml| 4 ++--
 ambari-agent/pom.xml| 4 ++--
 ambari-client/groovy-client/pom.xml | 4 ++--
 ambari-client/pom.xml   | 4 ++--
 ambari-client/python-client/pom.xml | 4 ++--
 ambari-funtest/pom.xml  | 4 ++--
 ambari-logsearch/ambari-infra-solr-plugin/pom.xml   | 2 +-
 ambari-logsearch/ambari-logsearch-appender/pom.xml  | 4 ++--
 ambari-logsearch/ambari-logsearch-assembly/pom.xml  | 2 +-
 ambari-logsearch/ambari-logsearch-it/pom.xml| 2 +-
 ambari-logsearch/ambari-logsearch-logfeeder/pom.xml | 4 ++--
 ambari-logsearch/ambari-logsearch-portal/pom.xml| 4 ++--
 ambari-logsearch/ambari-logsearch-solr-client/pom.xml   | 2 +-
 ambari-logsearch/pom.xml| 4 ++--
 ambari-metrics/ambari-metrics-assembly/pom.xml  | 4 ++--
 ambari-metrics/ambari-metrics-common/pom.xml| 2 +-
 ambari-metrics/ambari-metrics-flume-sink/pom.xml| 4 ++--
 ambari-metrics/ambari-metrics-grafana/pom.xml   | 2 +-
 ambari-metrics/ambari-metrics-hadoop-sink/pom.xml   | 4 ++--
 ambari-metrics/ambari-metrics-host-monitoring/pom.xml   | 4 ++--
 ambari-metrics/ambari-metrics-kafka-sink/pom.xml| 4 ++--
 ambari-metrics/ambari-metrics-storm-sink-legacy/pom.xml | 4 ++--
 ambari-metrics/ambari-metrics-storm-sink/pom.xml| 4 ++--
 ambari-metrics/ambari-metrics-timelineservice/pom.xml   | 6 +++---
 ambari-metrics/pom.xml  | 4 ++--
 ambari-project/pom.xml  | 4 ++--
 ambari-server/pom.xml   | 4 ++--
 ambari-shell/ambari-groovy-shell/pom.xml| 6 +++---
 ambari-shell/ambari-python-shell/pom.xml| 4 ++--
 ambari-shell/pom.xml| 4 ++--
 ambari-views/examples/calculator-view/pom.xml   | 4 ++--
 ambari-views/examples/cluster-view/pom.xml  | 6 +++---
 ambari-views/examples/favorite-view/pom.xml | 4 ++--
 ambari-views/examples/hello-servlet-view/pom.xml| 6 +++---
 ambari-views/examples/hello-spring-view/pom.xml | 6 +++---
 ambari-views/examples/helloworld-view/pom.xml   | 6 +++---
 ambari-views/examples/phone-list-upgrade-view/pom.xml   | 6 +++---
 ambari-views/examples/phone-list-view/pom.xml   | 4 ++--
 ambari-views/examples/pom.xml   | 4 ++--
 ambari-views/examples/property-validator-view/pom.xml   | 6 +++---
 ambari-views/examples/property-view/pom.xml | 6 +++---
 ambari-views/examples/restricted-view/pom.xml   | 4 ++--
 ambari-views/examples/simple-view/pom.xml   | 6 +++---
 ambari-views/examples/weather-view/pom.xml  | 4 ++--
 ambari-views/pom.xml| 4 ++--
 ambari-web/pom.xml  | 4 ++--
 contrib/ambari-log4j/pom.xml| 2 +-
 contrib/ambari-scom/ambari-scom-server/pom.xml  | 4 ++--
 contrib/ambari-scom/metrics-sink/pom.xml| 2 +-
 contrib/ambari-scom/pom.xml | 2 +-
 contrib/management-packs/microsoft-r_mpack/pom.xml  | 2 +-
 contrib/management-packs/pom.xml| 2 +-
 contrib/views/ambari-views-package/pom.xml  | 4 ++--
 contrib/views/capacity-scheduler/pom.xml| 4 ++--
 contrib/views/commons/pom.xml   | 6 +++---
 contrib/views/files/pom.xml | 6 +++---
 contrib/views/hawq/pom.xml  | 4 ++--
 contrib/views/hive-next/pom.xml | 8 
 contrib/views/hive20/pom.xml| 8 
 contrib/views/hueambarimigration/pom.xml| 4 ++--
 contrib/views/jobs/pom.xml  | 4 ++--
 contrib/views/pig/pom.xml   | 8 
 contrib/views/pom.xml   | 8 
 contrib/views/slider/pom.xml| 6 +++---
 contrib/views/storm/pom.xml 

ambari git commit: AMBARI-22595. Livy2 keytabs are not getting configured automatically in zeppelin. (prabhjyotsingh via sshridhar).

2017-12-07 Thread swapan
Repository: ambari
Updated Branches:
  refs/heads/trunk f4d27390f -> 367dd174a


AMBARI-22595. Livy2 keytabs are not getting configured automatically in 
zeppelin. (prabhjyotsingh via sshridhar).


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/367dd174
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/367dd174
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/367dd174

Branch: refs/heads/trunk
Commit: 367dd174a5b84eb1764d148da3b29c6c55c58a94
Parents: f4d2739
Author: Swapan Shridhar 
Authored: Thu Dec 7 14:02:58 2017 -0800
Committer: Swapan Shridhar 
Committed: Thu Dec 7 14:02:58 2017 -0800

--
 .../common-services/ZEPPELIN/0.7.0/package/scripts/master.py   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/ambari/blob/367dd174/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/master.py
--
diff --git 
a/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/master.py
 
b/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/master.py
index 5efc277..bb4c5b2 100644
--- 
a/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/master.py
+++ 
b/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/master.py
@@ -403,7 +403,7 @@ class Master(Script):
 interpreter_settings = config_data['interpreterSettings']
 for interpreter_setting in interpreter_settings:
   interpreter = interpreter_settings[interpreter_setting]
-  if interpreter['group'] == 'livy' and params.livy_livyserver_host:
+  if interpreter['group'] == 'livy':
 if params.zeppelin_kerberos_principal and 
params.zeppelin_kerberos_keytab and params.security_enabled:
   interpreter['properties']['zeppelin.livy.principal'] = 
params.zeppelin_kerberos_principal
   interpreter['properties']['zeppelin.livy.keytab'] = 
params.zeppelin_kerberos_keytab



ambari git commit: AMBARI-22595. Livy2 keytabs are not getting configured automatically in zeppelin. (prabhjyotsingh via sshridhar).

2017-12-07 Thread swapan
Repository: ambari
Updated Branches:
  refs/heads/branch-2.6 8eba6adf0 -> a63ee0e58


AMBARI-22595. Livy2 keytabs are not getting configured automatically in 
zeppelin. (prabhjyotsingh via sshridhar).


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/a63ee0e5
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a63ee0e5
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a63ee0e5

Branch: refs/heads/branch-2.6
Commit: a63ee0e5896f2a21a0602018c4a7af0d8f6154bc
Parents: 8eba6ad
Author: Swapan Shridhar 
Authored: Thu Dec 7 14:02:58 2017 -0800
Committer: Swapan Shridhar 
Committed: Thu Dec 7 14:03:43 2017 -0800

--
 .../common-services/ZEPPELIN/0.7.0/package/scripts/master.py   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/ambari/blob/a63ee0e5/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/master.py
--
diff --git 
a/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/master.py
 
b/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/master.py
index 5efc277..bb4c5b2 100644
--- 
a/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/master.py
+++ 
b/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/master.py
@@ -403,7 +403,7 @@ class Master(Script):
 interpreter_settings = config_data['interpreterSettings']
 for interpreter_setting in interpreter_settings:
   interpreter = interpreter_settings[interpreter_setting]
-  if interpreter['group'] == 'livy' and params.livy_livyserver_host:
+  if interpreter['group'] == 'livy':
 if params.zeppelin_kerberos_principal and 
params.zeppelin_kerberos_keytab and params.security_enabled:
   interpreter['properties']['zeppelin.livy.principal'] = 
params.zeppelin_kerberos_principal
   interpreter['properties']['zeppelin.livy.keytab'] = 
params.zeppelin_kerberos_keytab



  1   2   3   4   5   6   >