We're going to start on this enhancement refactoring next week, I just
want to see if anyone has any pointers to reference or sample code that
might give us a head-start.
-Daniel
On 2/25/10 1:58 PM, Daniel Einspanjer wrote:
We generated a python Thrift client and wrote a simple wrapper around
it, but as we move this into production, we need a couple of
enhancements:
1. Intelligently handle all the different types of exceptions that
might be generated
2. Possibly retry connections based on the determination from item #1
While we can certainly try to roll our own code here, I was hoping
that someone out there might have what they feel is a robust Thrift
client that they could share to help us out.
Here is a link to our current client code and the bug tracking these
improvements:
http://code.google.com/p/socorro/source/browse/trunk/socorro/collector/hbaseClient.py
https://bugzilla.mozilla.org/show_bug.cgi?id=548355
-Daniel