Recovering after a failed resizing operation
Recover from a failed resizing operation using the recovery command in the CDP CLI.
You can recover from a failed resizing operation by returning a Data Lake to its original state before the resize operation was started. Be sure that this is what you want to do before proceeding.
Data Lake recovery simply reattaches and starts the original Data Lake in the environment. The original Data Lake could be light or medium duty. All of the instances, disks, and databases are unchanged from their original state.
If recovery cannot be started, or fails for any reason, reach out to the Cloudera support team, who can manually recover your Data Lake.
cdp datalake recover-datalake --datalake-name <mydatalake>
If the resize error is because of the final step in the restore operation, you can manually restore the Data Lake, and then delete the original Data Lake using the following steps:
- Identify the Data Lake name using the Event History tab. The
Datalake detach started. Original datalake renamed to
error message contains the Data Lake name that needs to be deleted. - Run the following force delete command to remove the original Data
Lake:
cdp datalake delete-datalake --datalake-name [***DATA LAKE NAME FROM STEP 1***] --force