Skip to content
Closed
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
[SPARK-13569][STREAMING][KAFKA] spell logWarning correctly
  • Loading branch information
koeninger committed Jul 7, 2016
commit 723bf1cd37cc4deda059beef0761108f2f0114ca
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ private case class Subscribe[K, V](
consumer.poll(0)
} catch {
case x: NoOffsetForPartitionException if shouldSuppress =>
logWarn("Catching NoOffsetForPartitionException since " +
logWarning("Catching NoOffsetForPartitionException since " +
ConsumerConfig.AUTO_OFFSET_RESET_CONFIG + "is none. See KAFKA-3370")
}
toSeek.asScala.foreach { case (topicPartition, offset) =>
Expand Down Expand Up @@ -148,7 +148,7 @@ private case class SubscribePattern[K, V](
consumer.poll(0)
} catch {
case x: NoOffsetForPartitionException if shouldSuppress =>
Copy link
Contributor

Choose a reason for hiding this comment

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

same here. log as warn.

logWarn("Catching NoOffsetForPartitionException since " +
logWarning("Catching NoOffsetForPartitionException since " +
ConsumerConfig.AUTO_OFFSET_RESET_CONFIG + "is none. See KAFKA-3370")
}
toSeek.asScala.foreach { case (topicPartition, offset) =>
Expand Down