Uninstalling the Protector
The process of uninstalling the Big Data Protector involves the process of removing the user-defined functions.
Deleting the UDFs for the Application Protector REST Approach
Deleting the UDFs is an optional step and must be performed only to clean up the Databricks cluster. The configurator script is used to delete the UDFs. You must select the required approach and the operation ID to delete the UDFs using the Application Protector REST server. This section explains the process to delete the UDFs using the interactive method of installation.
To delete the UDFs:
Log in to the node having connectivity to ESA/PPC.
Navigate to the directory where the installation files are extracted.
To execute the configurator script, run the following command:
./BigDataProtector-Configurator_Linux-ALL-64_x86-64_Azure.Databricks-<DBR_version>-64_<BDP_version>.shPress ENTER.
The prompt to enter the operation ID appears.Creating installation files... Created installation files. The ID of the operation needs to be one of the following: ---------------------------------------------------------- | ID | Operation | ---------------------------------------------------------- | 1 | Get Application Protector REST's Server IP | | 2 | Create Databricks Unity Catalog Batch Python UDFs | | 3 | Delete Databricks Unity Catalog Batch Python UDFs | ---------------------------------------------------------- Enter the ID of the operation:To delete the UDFs, type
3.Press ENTER.
The prompt to enter the Databricks Workspace URL appears.Enter the URL of the Databricks Workspace:Enter the Databricks Workspace URL.
Press ENTER.
The prompt to enter the application ID of the Databricks Service Principal appears.Enter the Application ID of the Databricks Service Principal:Enter the Application ID of the Databricks Service Principal.
Press ENTER.
The prompt to enter the OAuth secret for the Service Principal appears.Enter the OAuth Secret of the Databricks Service Principal:Enter the OAuth secret.
Press ENTER.
The prompt to enter the cluster ID appears.Enter the ID of the Databricks Compute:Enter the Cluster ID.
Note: The Cluster ID can be either for Standard Compute or Dedicated Compute. For more information about identifying the Cluster ID, refer to Get identifiers for workspace objects.
Press ENTER.
The prompt to enter the name of the schema appears.Enter the name of the Databricks Unity Catalog Catalog-Schema:Enter the name of the catalog and the schema in the
<catalog_name.schema_name>format.Press ENTER.
The prompt to enter the ID of the approach appears.The ID of the approach needs to be one of the following: ----------------------------------- | ID | Approach | ----------------------------------- | 1 | Application Protector REST | | 2 | Cloud Protector | ----------------------------------- Enter the ID of the approach:To delete the UDFs using the APREST approach, type
1.Press ENTER.
The prompt to enter the path of the Databricks Unity Catalog Volume appears.Enter the path of the Databricks Unity Catalog Volume:Enter the complete location of the Databricks Unity Catalog Volume.
Press ENTER.
The script deletes the UDFs from the specified location.Executing specified operation... Deleting <catalog_name>.<schema_name>.pty_decrypt_string Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_decrypt_string Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_encrypt_string Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_encrypt_string Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_get_version Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_get_version Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_get_version_extended Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_get_version_extended Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_protect_binary Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_protect_binary Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_protect_date Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_protect_date Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_protect_int Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_protect_int Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_protect_smallint Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_protect_smallint Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_protect_string Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_protect_string Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_protect_string_fpe Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_protect_string_fpe Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_unprotect_binary Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_unprotect_binary Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_unprotect_date Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_unprotect_date Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_unprotect_int Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_unprotect_int Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_unprotect_smallint Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_unprotect_smallint Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_unprotect_string Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_unprotect_string Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_unprotect_string_fpe Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_unprotect_string_fpe Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_who_am_i Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_who_am_i Databricks Unity Catalog Batch Python UDF. Deleting /Volumes/<catalog_name>/<schema_name>/<volume_name>/azure_identity-1.25.3-py3-none-any.whl file... Deleted /Volumes/<catalog_name>/<schema_name>/<volume_name>/azure_identity-1.25.3-py3-none-any.whl file. Deleting /Volumes/<catalog_name>/<schema_name>/<volume_name>/azure_keyvault_secrets-4.11.0-py3-none-any.whl file... Deleted /Volumes/<catalog_name>/<schema_name>/<volume_name>/azure_keyvault_secrets-4.11.0-py3-none-any.whl file. Deleting /Volumes/<catalog_name>/<schema_name>/<volume_name>/BigDataProtector_Linux-ALL-64_x86-64_Azure.Databricks-<DBR_version>-64_<BDP_version>.tgz file... Deleted /Volumes/<catalog_name>/<schema_name>/<volume_name>/BigDataProtector_Linux-ALL-64_x86-64_Azure.Databricks-<DBR_version>-64_<BDP_version>.tgz file. Deleting /Volumes/<catalog_name>/<schema_name>/<volume_name>/BigDataProtector-Init-Script_Linux-ALL-64_x86-64_Azure.Databricks-<DBR_version>-64_<BDP_version>.sh file... Deleted /Volumes/<catalog_name>/<schema_name>/<volume_name>/BigDataProtector-Init-Script_Linux-ALL-64_x86-64_Azure.Databricks-<DBR_version>-64_<BDP_version>.sh file. Executed specified operation.
Deleting the UDFs for the Cloud Protector Approach
Deleting the UDFs is an optional step and must be performed only to clean up the Databricks cluster. The configurator script is used to delete the UDFs. Select the required approach and the operation ID to delete the UDFs using the Cloud Protector. This section explains the process to delete the UDFs using the interactive method of installation.
To delete the UDFs:
- Log in to the node having connectivity to ESA/PPC.
- Navigate to the directory where the installation files are extracted.
- To execute the configurator script, run the following command:
./BigDataProtector-Configurator_Linux-ALL-64_x86-64_Azure.Databricks-<DBR_version>-64_<BDP_version>.sh - Press ENTER.
The prompt to enter the operation ID appears.Creating installation files... Created installation files. The ID of the operation needs to be one of the following: ---------------------------------------------------------- | ID | Operation | ---------------------------------------------------------- | 1 | Get Application Protector REST's Server IP | | 2 | Create Databricks Unity Catalog Batch Python UDFs | | 3 | Delete Databricks Unity Catalog Batch Python UDFs | ---------------------------------------------------------- Enter the ID of the operation: - To delete the UDFs, type
3. - Press ENTER.
The prompt to enter the Databricks Workspace URL appears.Enter the URL of the Databricks Workspace: - Enter the Databricks Workspace URL.
- Press ENTER.
The prompt to enter the application ID of the Databricks Service Principal appears.Enter the Application ID of the Databricks Service Principal: - Enter the Application ID of the Databricks Service Principal.
- Press ENTER.
The prompt to enter the OAuth secret for the Service Principal appears.Enter the OAuth Secret of the Databricks Service Principal - Enter the OAuth secret.
- Press ENTER.
The prompt to enter the cluster ID appears.Enter the ID of the Databricks Compute: - Enter the Cluster ID.
Note: The Cluster ID can be either for SQL Warehouse, Standard Compute or Dedicated Compute. For more information about identifying the Cluster ID, refer to Get identifiers for workspace objects.
- Press ENTER.
The prompt to enter the name of the schema appears.Enter the name of the Databricks Unity Catalog Catalog-Schema: - Enter the name of the catalog and the schema in the
<catalog_name.schema_name>format. - Press ENTER.
The prompt to select the approach appears.The ID of the approach needs to be one of the following: ----------------------------------- | ID | Approach | ----------------------------------- | 1 | Application Protector REST | | 2 | Cloud Protector | ----------------------------------- Enter the ID of the approach: - To delete the UDFs using the Cloud Protector approach, type
2. - Press ENTER.
The prompt to enter the path of the Unity Catalog Volume appears.Enter the path of the Databricks Unity Catalog Volume: - Enter the path of the Databricks Unity Catalog Volume.
- Press ENTER.
The script deletes the UDFs from the specified location.Executing specified operation... Deleting <catalog_name>.<schema_name>.pty_decrypt_string Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_decrypt_string Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_encrypt_string Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_encrypt_string Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_get_version Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_get_version Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_get_version_extended Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_get_version_extended Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_protect_binary Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_protect_binary Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_protect_date Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_protect_date Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_protect_int Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_protect_int Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_protect_smallint Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_protect_smallint Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_protect_string Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_protect_string Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_protect_string_fpe Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_protect_string_fpe Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_unprotect_binary Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_unprotect_binary Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_unprotect_date Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_unprotect_date Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_unprotect_int Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_unprotect_int Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_unprotect_smallint Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_unprotect_smallint Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_unprotect_string Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_unprotect_string Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_unprotect_string_fpe Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_unprotect_string_fpe Databricks Unity Catalog Batch Python UDF. Deleting <catalog_name>.<schema_name>.pty_who_am_i Databricks Unity Catalog Batch Python UDF... Deleted <catalog_name>.<schema_name>.pty_who_am_i Databricks Unity Catalog Batch Python UDF. Deleting /Volumes/<catalog_name>/<schema_name>/<volume_name>/azure_identity-1.25.3-py3-none-any.whl file... Deleted /Volumes/<catalog_name>/<schema_name>/<volume_name>/azure_identity-1.25.3-py3-none-any.whl file. Deleting /Volumes/<catalog_name>/<schema_name>/<volume_name>/azure_keyvault_secrets-4.11.0-py3-none-any.whl file... Deleted /Volumes/<catalog_name>/<schema_name>/<volume_name>/azure_keyvault_secrets-4.11.0-py3-none-any.whl file. Executed specified operation.
Feedback
Was this page helpful?