hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HIVE-851) Thrift Client: BaseException.message deprecation warning in Python 2.6
Date Tue, 25 Oct 2011 04:00:32 GMT

     [ 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

        

Mime
View raw message