Managing recipes from CLI

You can manage recipes from CLI using cdp datahub commands.

  • Register a new recipe: cdp datahub create-recipe --recipe-name <value> --recipe-content <value> --type <value>

    Supported types:

    • PRE_CLOUDERA_MANAGER_START
    • POST_CLOUDERA_MANAGER_START
    • POST_CLUSTER_INSTALL
    • PRE_TERMINATION
  • List all available recipes: cdp datahub list-recipes
  • Describe a specific recipe: cdp datahub describe-recipe --recipe-name <value>
  • Delete one or more existing recipes: cdp datahub delete-recipes --recipe-name <value>