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

Grafana dashboard shows "Cannot read property 'lastIndexOf' of undefined"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.4.1
    • None
    • ambari-metrics
    • None
    • All

    Description

      • After upgrading ambari from 2.4.0.1 to ambari 2.4.1.0 it shows the following error while accessing the Grafana WebUI:
      Message:
      			Cannot read property 'lastIndexOf' of undefined
      		
      Stack trace:
      			TypeError: Cannot read property 'lastIndexOf' of undefined
          at AmbariMetricsDatasource.query (http://hdp25b:3000/public/app/plugins/datasource/ambari-metrics/datasource.js?bust=1475491283316:423:55)
          at issueMetricQuery (http://hdp25b:3000/public/app/app.ca0ab6f9.js:42:14189)
          at n.a.refreshData (http://hdp25b:3000/public/app/app.ca0ab6f9.js:48:18026)
          at http://hdp25b:3000/public/app/app.ca0ab6f9.js:42:11552
          at i (http://hdp25b:3000/public/app/app.ca0ab6f9.js:13:5845)
          at http://hdp25b:3000/public/app/app.ca0ab6f9.js:13:6017
          at n.$eval (http://hdp25b:3000/public/app/app.ca0ab6f9.js:13:13637)
          at n.$digest (http://hdp25b:3000/public/app/app.ca0ab6f9.js:13:12068)
          at n.$apply (http://hdp25b:3000/public/app/app.ca0ab6f9.js:13:13904)
          at http://hdp25b:3000/public/app/app.ca0ab6f9.js:13:21240
      

      Attachments

        1. Grafana_Error.png
          504 kB
          Jay SenSharma
        2. Grafana_Error_After_Login.png
          505 kB
          Jay SenSharma

        Activity

          People

            vivekratnavel Vivek Ratnavel Subramanian
            jaysensharma Jay SenSharma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: