Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-23413

Moving Hive Metastore gets hanged in Ambari due to Uncaught TypeError: Cannot read property 'tag' of undefined

    XMLWordPrintableJSON

Details

    Description

      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:

      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)
      

      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.

      Attachments

        Activity

          People

            jaysensharma Jay SenSharma
            jaysensharma Jay SenSharma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h