Thrift Client: BaseException.message deprecation warning in Python 2.6
----------------------------------------------------------------------
Key: HIVE-851
URL: https://issues.apache.org/jira/browse/HIVE-851
Project: Hadoop Hive
Issue Type: Bug
Components: Clients
Reporter: Matt Pestritto
Priority: Minor
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.
-
You can reply to this email to add a comment to the issue online.