diff --git a/lang/java/mapred/src/main/java/org/apache/avro/hadoop/file/HadoopCodecFactory.java b/lang/java/mapred/src/main/java/org/apache/avro/hadoop/file/HadoopCodecFactory.java
index 1cba5ad818b..1843a2e5c59 100644
--- a/lang/java/mapred/src/main/java/org/apache/avro/hadoop/file/HadoopCodecFactory.java
+++ b/lang/java/mapred/src/main/java/org/apache/avro/hadoop/file/HadoopCodecFactory.java
@@ -35,7 +35,7 @@
*
{@code org.apache.hadoop.io.compress.SnappyCodec} will map to
* {@code snappy}
* {@code org.apache.hadoop.io.compress.BZip2Codec} will map to
- * {@code zbip2}
+ * {@code bzip2}
* {@code org.apache.hadoop.io.compress.GZipCodec} will map to
* {@code deflate}
*
@@ -61,7 +61,7 @@ public class HadoopCodecFactory {
* {@code org.apache.hadoop.io.compress.SnappyCodec} will map to
* {@code snappy}
* {@code org.apache.hadoop.io.compress.BZip2Codec} will map to
- * {@code zbip2}
+ * {@code bzip2}
* {@code org.apache.hadoop.io.compress.GZipCodec} will map to
* {@code deflate}
*