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:21:45 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14694188#comment-14694188 ] 

Jayush Luniya commented on AMBARI-12752:
----------------------------------------

Committed to trunk
commit 469a090c44d3de28afee23cbc923d8ad2a813cc2
Author: Jayush Luniya <jl...@hortonworks.com>
Date:   Wed Aug 12 14:20:07 2015 -0700

    AMBARI-12752: [PluggableStackDefinition] Fix python 2.6 compatibility issue in GenerateStackDefinition.py (jluniya)

> [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)