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
fixed review comments
  • Loading branch information
sandeep-katta committed Jan 28, 2020
commit 532fd1ffbddcea866c1ff03724862126cfc7bea0
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class DataSourceRDD(
}
}

class PartitionIterator[T](reader: PartitionReader[T]) extends Iterator[T] {
private class PartitionIterator[T](reader: PartitionReader[T]) extends Iterator[T] {
private[this] var valuePrepared = false

override def hasNext: Boolean = {
Expand All @@ -90,7 +90,7 @@ class PartitionIterator[T](reader: PartitionReader[T]) extends Iterator[T] {
}
}

class MetricsHandler extends Logging with Serializable {
private class MetricsHandler extends Logging with Serializable {
private val inputMetrics = TaskContext.get().taskMetrics().inputMetrics
private val startingBytesRead = inputMetrics.bytesRead
private val getBytesRead = SparkHadoopUtil.get.getFSBytesReadOnThreadCallback()
Expand Down