Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

ambari external metastore must be empty

Solved Go to solution
Highlighted

ambari external metastore must be empty

New Contributor

Hi,

 

After recreating hadoop cluster on HDInsight and connecting to the external metastore I get an error "Custom Ambari Metastore DB must be empty". Why I get this error? The goal was to keep all the metadata in external DB in case to preserve these data every time when I delete and recreate the cluster.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: ambari external metastore must be empty

Master Collaborator

@Damian_S You cannot delete and recreate a hadoop cluster in this manner.  The data in the metastore is very specific to the previous installation.   A proper migration will back up the required artifacts from the original cluster, and migrate them to a new existing ambari cluster that has already completed the initial cluster installation.  

 


 


If this answer resolves your issue or allows you to move forward, please choose to ACCEPT this solution and close this topic. If you have further dialogue on this topic please comment here or feel free to private message me. If you have new questions related to your Use Case please create separate topic and feel free to tag me in your post.  


 


Thanks,



Steven

View solution in original post

1 REPLY 1

Re: ambari external metastore must be empty

Master Collaborator

@Damian_S You cannot delete and recreate a hadoop cluster in this manner.  The data in the metastore is very specific to the previous installation.   A proper migration will back up the required artifacts from the original cluster, and migrate them to a new existing ambari cluster that has already completed the initial cluster installation.  

 


 


If this answer resolves your issue or allows you to move forward, please choose to ACCEPT this solution and close this topic. If you have further dialogue on this topic please comment here or feel free to private message me. If you have new questions related to your Use Case please create separate topic and feel free to tag me in your post.  


 


Thanks,



Steven

View solution in original post

Don't have an account?
Coming from Hortonworks? Activate your account here