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

Python 2 and 3 compatible topology_script.py

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • ambari-sever

    Description

      The topology_script.py included with ambari is not Python 3 compatible. With support for Python 2 ending in just over 1 year (https://pythonclock.org/) and many commonly used Python projects moving to Python 3-only before then (http://python3statement.org/), it would be good to have a script compatible with both versions included in Ambari.

      I'm opening this Jira ahead of sending a PR with a proposed fix right after.

      Attachments

        Activity

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

          People

            Unassigned Unassigned Assign to me
            parente Peter Parente

            Dates

              Created:
              Updated:

              Time Tracking

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

              Slack

                Issue deployment