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.

Caused by: org.apache.ambari.server.AmbariException: Stack Definition Service at '/var/lib/ambari-server/resources/common-services/PXF/3.0.0/metainfo.xml' doesn't contain a metainfo.xml file

Solved Go to solution

Caused by: org.apache.ambari.server.AmbariException: Stack Definition Service at '/var/lib/ambari-server/resources/common-services/PXF/3.0.0/metainfo.xml' doesn't contain a metainfo.xml file

Expert Contributor

Caused by: org.apache.ambari.server.AmbariException: Stack Definition Service at '/var/lib/ambari-server/resources/common-services/PXF/3.0.0/metainfo.xml' doesn't contain a metainfo.xml file

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Caused by: org.apache.ambari.server.AmbariException: Stack Definition Service at '/var/lib/ambari-server/resources/common-services/PXF/3.0.0/metainfo.xml' doesn't contain a metainfo.xml file

Expert Contributor

Hi ,

Issue got resolved by completely removing ambari-server and ambari-agent, Also by moving /var/lib/ambari-server and /var/lib/ambari-agent and reinstalling both and importing the backup db's of ambari and ambarirca.

5 REPLIES 5

Re: Caused by: org.apache.ambari.server.AmbariException: Stack Definition Service at '/var/lib/ambari-server/resources/common-services/PXF/3.0.0/metainfo.xml' doesn't contain a metainfo.xml file

What version of Ambari is this? Did you go through an Ambari upgrade?

Re: Caused by: org.apache.ambari.server.AmbariException: Stack Definition Service at '/var/lib/ambari-server/resources/common-services/PXF/3.0.0/metainfo.xml' doesn't contain a metainfo.xml file

Expert Contributor

@smohanty yes, went for an upgrade and due to some issues had to roll back and after roll back I imported the backup of DB , after restoring the DB Can't start ambari-server due to the exception as above.

Re: Caused by: org.apache.ambari.server.AmbariException: Stack Definition Service at '/var/lib/ambari-server/resources/common-services/PXF/3.0.0/metainfo.xml' doesn't contain a metainfo.xml file

What was the original version and what did you upgrade to/downgrade from. Is there a backup of PXF folder under /var/lib/ambari-server - possibly leftover from upgrade or downgrade?

Re: Caused by: org.apache.ambari.server.AmbariException: Stack Definition Service at '/var/lib/ambari-server/resources/common-services/PXF/3.0.0/metainfo.xml' doesn't contain a metainfo.xml file

Expert Contributor

Unfortunately , no backup of PFX folder, only had backup of ambari and ambarirca DB.

Re: Caused by: org.apache.ambari.server.AmbariException: Stack Definition Service at '/var/lib/ambari-server/resources/common-services/PXF/3.0.0/metainfo.xml' doesn't contain a metainfo.xml file

Expert Contributor

Hi ,

Issue got resolved by completely removing ambari-server and ambari-agent, Also by moving /var/lib/ambari-server and /var/lib/ambari-agent and reinstalling both and importing the backup db's of ambari and ambarirca.

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