Skip to content

Commit d4e542e

Browse files
committed
Add comments
1 parent 96d0578 commit d4e542e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/scala/org/apache/spark/util/HadoopFSUtils.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,14 +333,14 @@ private[spark] object HadoopFSUtils extends Logging {
333333
}
334334
// scalastyle:on argcount
335335

336-
/** A serializable variant of HDFS's BlockLocation. */
336+
/** A serializable variant of HDFS's BlockLocation. This is required by Hadoop 2.7. */
337337
private case class SerializableBlockLocation(
338338
names: Array[String],
339339
hosts: Array[String],
340340
offset: Long,
341341
length: Long)
342342

343-
/** A serializable variant of HDFS's FileStatus. */
343+
/** A serializable variant of HDFS's FileStatus. This is required by Hadoop 2.7. */
344344
private case class SerializableFileStatus(
345345
path: String,
346346
length: Long,

0 commit comments

Comments
 (0)