Skip to content

bug caused by logger: not support binary rowKey! #28

@JohnHerry

Description

@JohnHerry

HBase RowKeys are bytearray, So it support binary rowkeys. But when I use binary rowKey with this PyBase to put data to HBase, there will be error occurred. This problem is triggered by pybase/client.py Line 305
logger.debug(
'Region cache miss! Table: %s, Key: %s', table, key)
...

logger will crash when the key is binary here.

Waiting for bugfix version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions