Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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