JaySenSharma created AMBARI-23413:
-------------------------------------

             Summary: Moving Hive Metastore gets hanged in Ambari due to 
Uncaught TypeError: Cannot read property 'tag' of undefined
                 Key: AMBARI-23413
                 URL: https://issues.apache.org/jira/browse/AMBARI-23413
             Project: Ambari
          Issue Type: Bug
          Components: ambari-web
    Affects Versions: trunk, 2.7.0
            Reporter: JaySenSharma
            Assignee: JaySenSharma


In Ambari 2.7, when we try to move the Hive Metastore to a new host then at 
Wizard Step-3 it hangs. When we look at the  ambari UI Browser Developer 
Console then we notice the following error:
{code}
app.js:31183 Uncaught TypeError: Cannot read property 'tag' of undefined
    at app.js:31183
    at Array.forEach (<anonymous>)
    at Class.getConfigUrlParams (app.js:31182)
    at Class.onLoadConfigsTags (app.js:31167)
    at Class.opt.success (app.js:180694)
    at fire (vendor.js:1141)
    at Object.fireWith [as resolveWith] (vendor.js:1252)
    at done (vendor.js:8178)
    at XMLHttpRequest.callback (vendor.js:8702)
{code}

On further debugging it is found that when the site = webhcat-site then it 
shows this error because this site is not present inside the desired_configs. 
Hence there should be a check before attempting to read it's tag information.

*Steps to Reproduce the issue:*
- Install Hive Service to the cluster.
- Now attempt to move the Hive MetaStore to another host using ambari UI.





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to