Recently I upgraded my cluster from HDP2.6.5 to 3.1. Ambari does not recognize 3.1 as the currently deployed version, however when I go to each node and use hdp-select it shows 3.1 as the current version for all components. Additionally Ambari does not display the config for any component, and any component metric is stuck at the spinning/waiting icon. The metrics are working for general node information (cpu, mem, disk).
When I try to use ambari-server set-current I get a 500 return. In the logs I see
java.lang.UnsupportedOperationException: If updateResources is not overwritten, then updateResourcesAuthorized must be overwritten associated with the request to set-current.
Does anyone have any ideas on how to fix this so that the stack version can be properly set? I am thinking that that is the main reason that the rest of ambari is behaving oddly.