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."

St.Ack

On Wed, Oct 13, 2010 at 5:51 AM, Bjoern Schiessle <[email protected]> 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
>

Reply via email to