Permalink
Browse files

[split] merged bq import stuff

  • Loading branch information...
Kyle Maxwell
Kyle Maxwell committed Feb 7, 2012
2 parents 742e01d + 2004763 commit ac1e222e0b7b8a33da4905d3973d0201329f421a
Showing with 2 additions and 1 deletion.
  1. +2 −1 cassie-hadoop/src/main/scala/com/twitter/cassie/hadoop/CassieReducer.scala
@@ -107,7 +107,8 @@ class CassieReducer extends Reducer[BytesWritable, ColumnWritable, BytesWritable
case t: Throwable => {
t.printStackTrace
val toSleep = minBackoff * (1 << consecutiveFailures)
- if (toSleep < maxBackoff) {
+ if(toSleep < maxBackoff) {
+ context.progress()
Thread.sleep(toSleep)
context.getCounter(CassieCounters.Counters.RETRY).increment(1)
execute(context)

0 comments on commit ac1e222

Please sign in to comment.