Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Minor updates.
  • Loading branch information
tdas committed Nov 13, 2014
commit 14630aaf06892494ade308c93ab1d18b3d8d5207
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ class ReliableKafkaReceiver[

ZkUtils.updatePersistentPath(zkClient, zkPath, offset.toString)
} catch {
case t: Throwable => logWarning(s"Exception during commit offset $offset for topic" +
case e: Exception => logWarning(s"Exception during commit offset $offset for topic" +
s"${topicAndPart.topic}, partition ${topicAndPart.partition}", t)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ private[streaming] class BlockGenerator(
} catch {
case ie: InterruptedException =>
logInfo("Block updating timer thread was interrupted")
case t: Throwable =>
reportError("Error in block updating thread", t)
case e: Exception =>
reportError("Error in block updating thread", e)
}
}

Expand All @@ -168,7 +168,7 @@ private[streaming] class BlockGenerator(
case ie: InterruptedException =>
logInfo("Block pushing thread was interrupted")
case e: Exception =>
reportError("Error in block updating thread", e)
reportError("Error in block pushing thread", e)
}
}

Expand Down