Skip to content

Commit

Permalink
SPARK-6569 [STREAMING] Down-grade same-offset message in Kafka stream…
Browse files Browse the repository at this point in the history
…ing to INFO

Reduce "is the same as ending offset" message to INFO level per JIRA discussion

Author: Sean Owen <[email protected]>

Closes apache#5366 from srowen/SPARK-6569 and squashes the following commits:

8a5b992 [Sean Owen] Reduce "is the same as ending offset" message to INFO level per JIRA discussion
  • Loading branch information
srowen committed Apr 6, 2015
1 parent 49f3882 commit 9fe4125
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class KafkaRDD[
val part = thePart.asInstanceOf[KafkaRDDPartition]
assert(part.fromOffset <= part.untilOffset, errBeginAfterEnd(part))
if (part.fromOffset == part.untilOffset) {
log.warn(s"Beginning offset ${part.fromOffset} is the same as ending offset " +
log.info(s"Beginning offset ${part.fromOffset} is the same as ending offset " +
s"skipping ${part.topic} ${part.partition}")
Iterator.empty
} else {
Expand Down

0 comments on commit 9fe4125

Please sign in to comment.