Support Questions

Find answers, ask questions, and share your expertise

Is there a collaborative document for service "Custom commands"?

avatar
Expert Contributor

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?

1 ACCEPTED SOLUTION

avatar

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

View solution in original post

2 REPLIES 2

avatar

@sbhat

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.

avatar

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