Github user steveloughran commented on a diff in the pull request:

    https://github.com/apache/spark/pull/14371#discussion_r72451554
  
    --- Diff: 
core/src/main/scala/org/apache/spark/rdd/ReliableCheckpointRDD.scala ---
    @@ -240,7 +248,7 @@ private[spark] object ReliableCheckpointRDD extends 
Logging {
           val bufferSize = sc.conf.getInt("spark.buffer.size", 65536)
           val partitionerFilePath = new Path(checkpointDirPath, 
checkpointPartitionerFileName)
           val fs = partitionerFilePath.getFileSystem(sc.hadoopConfiguration)
    -      if (fs.exists(partitionerFilePath)) {
    +      try {
    --- End diff --
    
    Seems to me that it can be pulled into the existing try/catch...its the 
only place in the codepath which can raise an FNFE; all existing failure modes 
(permissions, not a file, etc) would be caught there and log at warning...this 
just converts the FNFE to a log at debug event. 
    
    -going to do that but adding the stack trace printing in the debug logs. 
Noisy, but your support team will love you on the one day it finally happens.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to