Skip to content

Commit

Permalink
MINOR - fix typo in index corruption warning message
Browse files Browse the repository at this point in the history
Author: Dong Lin <[email protected]>

Reviewers: Ismael Juma, Guozhang Wang

Closes apache#606 from lindong28/minor-fix-typo
  • Loading branch information
lindong28 authored and guozhangwang committed Dec 1, 2015
1 parent 0264127 commit 4649c34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/kafka/log/Log.scala
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class Log(val dir: File,
segment.index.sanityCheck()
} catch {
case e: java.lang.IllegalArgumentException =>
warn("Found an corrupted index file, %s, deleting and rebuilding index...".format(indexFile.getAbsolutePath))
warn("Found a corrupted index file, %s, deleting and rebuilding index...".format(indexFile.getAbsolutePath))
indexFile.delete()
segment.recover(config.maxMessageSize)
}
Expand Down

0 comments on commit 4649c34

Please sign in to comment.