Skip to content

hbase-rpc-client sometimes fails getting region info #106

@mspertus

Description

@mspertus

client.prototype._parseRegionInfo sometimes crashes because it gets the row of the meta table containing table:state instead of the one containing info:regioninfo. I worked around this by inserting

        if(res.cols['info:regioninfo'] === undefined)
            return undefined;

before

          regionInfo = res.cols['info:regioninfo'].value;

although I don't understand the code (or node!) well enough to know if that is correct or optimal. Does that look right?
Thanks,
Mike

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions