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

Hive view: Fails to come up in firefox with the JS error in console.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Component/s: ambari-views
    • Labels:
      None

      Description

      In firefox, Hive view throws the following javascript error:

      SyntaxError: let is a reserved identifier
      

      In chrome it works fine.

      The 'let' keywords were used in the hive view in one of the javascript helper function and it is not yet supported in firefox (https://kangax.github.io/compat-table/es6/). So, it needs to be changed to var.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dipayanb DIPAYAN BHOWMICK
                Reporter:
                dipayanb DIPAYAN BHOWMICK
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: