Created 06-07-2016 03:06 PM
Some of the custom commands I know are :
DECOMMISSION/RECOMMISSION and
CLEAN for hive.
Is there an API to get all the custom commands? Or a doc with details of custom commands that can be run for services?
Created 06-08-2016 09:26 PM
The custom commands are actually defined at the service-level in the metainfo.xml file. E.g.,
HDFS: DECOMMISSION, REBALANCEHDFS Hbase: DECOMMISSION YARN: REFRESHQUEUES, CREATE_YARN_DIRECTORIES (needed for LLAP in a Kerberized cluster) Knox: STARTDEMOLDAP, STOPDEMOLDAP Hive: CLEAN, RESTART_LLAP Kerberos: SET_KEYTAB, REMOVE_KEYTAB
Created 06-07-2016 03:49 PM
I've not seen a comprehensive document that details which commands are available for which services, but the Ambari CWiki page has some great usage scenarios and FAQs that may help.
Created 06-08-2016 09:26 PM
The custom commands are actually defined at the service-level in the metainfo.xml file. E.g.,
HDFS: DECOMMISSION, REBALANCEHDFS Hbase: DECOMMISSION YARN: REFRESHQUEUES, CREATE_YARN_DIRECTORIES (needed for LLAP in a Kerberized cluster) Knox: STARTDEMOLDAP, STOPDEMOLDAP Hive: CLEAN, RESTART_LLAP Kerberos: SET_KEYTAB, REMOVE_KEYTAB