Skip to content

Conversation

@sojin-lim
Copy link

The exception handling here can cause a stack overflow, so we'll prevent that and throw a general Exception to be caught here https://github.com/Flipboard/py-services/blob/4858a51f48e094c4b2bdca4a9534465e936260ae/packages/flipboard/flipboard/hbase1x.py#L112, which will be treated like a general HBase get failure.

return self.get(table, key, families=families, filters=filters)
call_number += 1
if call_number > max_recursion_depth:
raise Exception

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

an exception description could help find this later:

                raise Exception("hbase get recursion call limit reached")

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants