[ https://issues.apache.org/jira/browse/AMBARI-1426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sumit Mohanty updated AMBARI-1426: ---------------------------------- Description: While managing an HDP cluster, the admin may need to execute custom scripts etc. to perform house-keeping operations. Ambari support for smoke test can be viewed as one such operation, which has a first class support in Ambari. It is conceivable that in future releases several such operations need to be supported by Ambari. Some such requirements are: * Validate Kerberos settings * Perform metadata check/backup (e.g. fsck) prior to upgrade * Dump the list of datanodes Rather than designing each of these capabilities in a one-off fashion, it is useful to develop an infrastructure to execute such operations and then define new operations based on the infrastructure. was: * API changes for action definition * API changes to manage action results * DB changes for action definition and results ** Query support to get past results * Python template for actions * Server side support for creating an action ** POST handler for an action ** Validate the action parameters ** Create stage/task plan ** Return request/action id * Server side support for managing an action ** Monitor for action queue (enhance the request monitor) ** Evaluate host specific action results and update over-all action summary ** Handle timeouts * Agent support for executing an action ** Python script runner ** Provide default context ** Provide supplied inputs ** Reporting back the result and progress * Logging recommendations for custom actions * Modify setup to deploy custom-actions > Create cluster level Custom Action support > ------------------------------------------ > > Key: AMBARI-1426 > URL: https://issues.apache.org/jira/browse/AMBARI-1426 > Project: Ambari > Issue Type: Bug > Affects Versions: 1.2.3 > Reporter: Sumit Mohanty > Assignee: Sumit Mohanty > Fix For: 1.3.0 > > > While managing an HDP cluster, the admin may need to execute custom scripts > etc. to perform house-keeping operations. Ambari support for smoke test can > be viewed as one such operation, which has a first class support in Ambari. > It is conceivable that in future releases several such operations need to be > supported by Ambari. Some such requirements are: > * Validate Kerberos settings > * Perform metadata check/backup (e.g. fsck) prior to upgrade > * Dump the list of datanodes > Rather than designing each of these capabilities in a one-off fashion, it is > useful to develop an infrastructure to execute such operations and then > define new operations based on the infrastructure. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira