Hi @Jun_NN , I understand that you accidentally deleted the AWS S3 bucket associated with your Databricks metastore.
Let’s explore the steps to resolve this situation:
Recreating the S3 Bucket:
- You can indeed re-create the S3 bucket. Follow these steps:
- Create a new S3 bucket in your AWS account with the same name or a similar name as the original bucket.
- Ensure that the bucket configuration (such as region, permissions, and IAM roles) matches the original one.
- Once the bucket is created, you can proceed to re-create the Databricks metastore and link it to this new bucket.
Re-generating the Metastore:
- If you don’t have much data in the metastore, you can consider deleting the existing metastore and creating a fresh one:
- Delete the existing metastore from the Databricks console.
- Create a new S3 bucket (as mentioned in the first option) or use an existing one.
- Create a new Databricks metastore, ensuring that it is assigned to your workspace.
- Update any relevant configurations in your workspace to point to the new metastore.
Workspace Restart:
Remember to back up any critical data before making changes. If you encounter any further issues, feel free to ask for additional assistance! 😊