Skip to content

Commit

Permalink
Update NewHadoopRDD.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
nishkamravi2 committed Feb 20, 2015
1 parent 0ce2c32 commit 6f41a1d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions core/src/main/scala/org/apache/spark/rdd/NewHadoopRDD.scala
Expand Up @@ -174,8 +174,11 @@ class NewHadoopRDD[K, V](
}
}
} catch {
case e: Exception =>
logWarning("Exception in RecordReader.close()", e)
case e: Exception => {
- if (!Utils.inShutdown()) {
- logWarning("Exception in RecordReader.close()", e)
- }
- }
}
}
}
Expand Down

0 comments on commit 6f41a1d

Please sign in to comment.