Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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