You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jayush Luniya (JIRA)" <ji...@apache.org> on 2015/08/12 23:23:45 UTC
[jira] [Resolved] (AMBARI-12752) [PluggableStackDefinition] Fix
python 2.6 compatibility issue in GenerateStackDefinition.py
[ https://issues.apache.org/jira/browse/AMBARI-12752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jayush Luniya resolved AMBARI-12752.
------------------------------------
Resolution: Fixed
> [PluggableStackDefinition] Fix python 2.6 compatibility issue in GenerateStackDefinition.py
> -------------------------------------------------------------------------------------------
>
> Key: AMBARI-12752
> URL: https://issues.apache.org/jira/browse/AMBARI-12752
> Project: Ambari
> Issue Type: Bug
> Components: ambari-agent, ambari-server
> Affects Versions: 2.1.1
> Reporter: Jayush Luniya
> Assignee: Jayush Luniya
> Priority: Blocker
> Fix For: 2.1.1
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)