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

Druid-superset install fails with ambari running on python 2.6.6

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • trunk, 2.5.0
    • None
    • None

    Description

      StackTrace -
      Traceback (most recent call last):
      File "/var/lib/ambari-agent/cache/common-services/DRUID/0.9.2/package/scripts/superset.py", line 153, in <module>
      Superset().execute()
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 313, in execute
      method(env)
      File "/var/lib/ambari-agent/cache/common-services/DRUID/0.9.2/package/scripts/superset.py", line 91, in start
      self.configure(env)
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 116, in locking_configure
      original_configure(obj, *args, **kw)
      File "/var/lib/ambari-agent/cache/common-services/DRUID/0.9.2/package/scripts/superset.py", line 71, in configure
      properties=quote_string_values(superset_config),
      File "/var/lib/ambari-agent/cache/common-services/DRUID/0.9.2/package/scripts/superset.py", line 141, in quote_string_values
      rv[key] = quote_string_value(value)
      File "/var/lib/ambari-agent/cache/common-services/DRUID/0.9.2/package/scripts/superset.py", line 148, in quote_string_value
      return "'{}'".format(value)
      ValueError: zero length field name in format

      Attachments

        1. ambari-20037.patch
          1 kB
          Nishant Bangarwa

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            nishantbangarwa Nishant Bangarwa
            nishantbangarwa Nishant Bangarwa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment