[
https://issues.apache.org/jira/browse/AMBARI-17675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15375757#comment-15375757
]
Hudson commented on AMBARI-17675:
---------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #5296 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/5296/])
AMBARI-17675: Ability to execute hooks when a management pack is (jluniya:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=2e0a543f0608e0cef2baf4e9ba7521267af3d8b9])
* ambari-server/src/test/python/TestMpacks.py
* ambari-server/src/main/python/ambari_server/setupMpacks.py
*
ambari-server/src/test/python/mpacks/mystack-ambari-mpack-1.0.0.1/hooks/before_upgrade.py
*
ambari-server/src/test/python/mpacks/mystack-ambari-mpack-1.0.0.1/hooks/after_install.py
* ambari-server/src/test/python/mpacks/mystack-ambari-mpack-1.0.0.0/mpack.json
* contrib/management-packs/microsoft-r_mpack/src/main/resources/mpack.json
*
ambari-server/src/test/python/mpacks/mystack-ambari-mpack-1.0.0.1/hooks/after_upgrade.py
*
ambari-server/src/test/python/mpacks/mystack-ambari-mpack-1.0.0.1/hooks/before_install.py
* ambari-server/src/test/python/mpacks/mystack-ambari-mpack-1.0.0.1/mpack.json
*
ambari-server/src/test/python/mpacks/mystack-ambari-mpack-1.0.0.0/hooks/after_install.py
*
ambari-server/src/test/python/mpacks/mystack-ambari-mpack-1.0.0.0/hooks/before_install.py
> Ability to execute hooks when a management pack is installed
> ------------------------------------------------------------
>
> Key: AMBARI-17675
> URL: https://issues.apache.org/jira/browse/AMBARI-17675
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.4.0
> Reporter: Jayush Luniya
> Assignee: Jayush Luniya
> Priority: Critical
> Fix For: 2.4.0
>
> Attachments: AMBARI-17675.1.patch, AMBARI-17675.patch
>
>
> *Use Case:*
> Apache Ambari release bundles following views
> {code}
> ambari-admin-2.4.0.0.809.jar capacity-scheduler-2.4.0.0.809.jar
> files-2.4.0.0.809.jar hive-2.4.0.0.809.jar hive-jdbc-2.4.0.0.809.jar
> hueambarimigration-2.4.0.0.809.jar pig-2.4.0.0.809.jar
> slider-2.4.0.0.809.jar storm-view-2.4.0.0.809.jar tez-view-2.4.0.0.809.jar
> zeppelin-view-2.4.0.0.809.jar
> {code}
> A custom stack might not have the same services as HDP and thereby we need to
> prune down the list of views. Ideally, we should support adding views as
> another artifact in management pack, but we dont have support for view
> artifacts yet.
> *Solution:*
> Add hooks during management pack installation to execute such custom actions/
> cleanups.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)