Updating cdap-site property

This document describes how to update cdap-site property. The procedure listed in this document requires instance restart, and therefore will have some down time.

Prerequisite

Gcloud CLI must be installed

Steps

  1. Send a curl query to update the Cloud Data Fusion instance

curl -X PATCH -H "Authorization: Bearer $(gcloud auth print-access-token)" -H 'Content-Type: application/json' 'https://datafusion.googleapis.com/v1beta1/projects/[PROJECT_NAME]/locations/[REGION]/instances/[INSTANCE_ID]' -d '{"options":{"[PROPERTY_NAME": "[PROPERTY_VALUE"}, "type": [CDF_Edition}'

some common property value is to enable the ability to delete namespace:

"enable.unrecoverable.reset": "true"

Valid CDF Editions: DEVELOPER | BASIC | ENTERPRISE

 

2. Restart CDF instance

gcloud beta data-fusion instances restart [INSTANCE_ID] --location=[REGION] --async

Â