hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: Hbase thrift interface and non ascii characters
Date Wed, 13 Oct 2010 23:23:05 GMT
I asked our thrift expert Bryan and he thinks it could be because of
old python bindings:

"I think the summary is that you want to use a more recent version of
Python Thrift and generate your clientside with the "utf8strings"
option. This causes strings to be utf8-encoded and -decoded when
communicating with servers."


On Wed, Oct 13, 2010 at 5:51 AM, Bjoern Schiessle <bjoern@schiessle.org> wrote:
> Hi,
> I'm trying to access Hbase with Python via the thrift interface.
> Therefore I'm using this python package:
> http://pypi.python.org/pypi/hbase-thrift/0.20.4
> Everything works fine, except if I try to write some non asccii character
> to Hbase. Than I get this error message:
> "'ascii' codec can't encode character u'\xe4' in position 9: ordinal not
> in range(128)"
> I have already tried to find some information about this problem, but I
> couldn't find anything useful.
> Does someone know how I could solve this problem?
> Thanks a lot!
> Björn

View raw message