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

[PluggableStackDefinition] Fix python 2.6 compatibility issue in GenerateStackDefinition.py

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.1.1
    • Component/s: ambari-agent, ambari-server
    • Labels:
      None

      Description

      Fix str.encode() and str.decode() to not use keyword arguments as support for keyword arguments was added in Python 2.7. This caused build break with Python 2.6
      https://docs.python.org/2/library/stdtypes.html
      Changed in version 2.7: Support for keyword arguments added.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jluniya Jayush Luniya
                Reporter:
                jluniya Jayush Luniya
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: