<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
How about <a
href="http://www.freebase.com/view/base/mqlerrors/mql_error?domain=/base/mqlerrors">a
base</a> of MQL error handling tips? I think this could be useful for
all those folks maintaining Freebase libraries in various programming
languages. I know I've come to recognize some of the common error
messages over time but I never really got around to writing down how to
deal with each one. With a little work it turn into a valuable
programming resource.<br>
<br>
Shawn<br>
<br>
Tom Morris wrote:
<blockquote
cite="mid:c5f3f16f0908072006o5d38742fpeccce71c98e7e851@mail.gmail.com"
type="cite">
<pre wrap="">As I've done bulk data loads over the past few days I've run into an
assortment of different errors which have killed long running jobs.
I've got a placeholder in my code where I could insert a retry
strategy, but I'm a little leery about being too aggressive and
leaving jobs stuck in a loop retrying things which are never going to
succeed.
Is there a summary somewhere of what errors are should be retried,
what the retry period backoff algorithm should be, how many retries
should be attempted before giving up entirely, etc?
One specific problem I've seen multiple times is an HTTP 200 Bad
Request with message saying authentication required. I'm guessing
that this occurs when a server gets rebooted in the middle of a run,
invalidating the login cookie. Is this an accurate assumption? Any
problem with attempting to retry this immediately (after re-logging
in, of course)? Any other common cases for which there are known
retry patterns established?
Tom
_______________________________________________
Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Developers@freebase.com">Developers@freebase.com</a>
<a class="moz-txt-link-freetext" href="http://lists.freebase.com/mailman/listinfo/developers">http://lists.freebase.com/mailman/listinfo/developers</a>
</pre>
</blockquote>
<br>
</body>
</html>