You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (Resolved) (JIRA)" <ji...@apache.org> on 2011/10/25 06:00:32 UTC

[jira] [Resolved] (HIVE-851) Thrift Client: BaseException.message deprecation warning in Python 2.6

     [ https://issues.apache.org/jira/browse/HIVE-851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashutosh Chauhan resolved HIVE-851.
-----------------------------------

    Resolution: Invalid

This is in thrift generated code. Needs to be fixed in Thrift project.
                
> Thrift Client: BaseException.message deprecation warning in Python 2.6
> ----------------------------------------------------------------------
>
>                 Key: HIVE-851
>                 URL: https://issues.apache.org/jira/browse/HIVE-851
>             Project: Hive
>          Issue Type: Bug
>          Components: Clients
>            Reporter: Matt Pestritto
>            Priority: Minor
>         Attachments: hive_851.patch
>
>
> In Python 2.6 BaseException.message has been deprecated.  This is a patch to remove these warnings.
> src/thrift/Thrift.py:62: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
>   self.message = message
> Also note.  I could only replicate this error in two clases and there were other classes that inherited (Exception). 
> Patch is only attached for those two classes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira