Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-36354

EventLogFileReaders should not complain in case of no event log files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.2, 3.2.0
    • 3.2.0, 3.1.3
    • Spark Core
    • None

    Description

      21/07/30 07:38:26 WARN FsHistoryProvider: Error while reading new log s3a://.../eventlog_v2_spark-95b5c736c8e44037afcf152534d08771
      java.lang.IllegalArgumentException: requirement failed: Log directory must contain at least one event log file!
              at scala.Predef$.require(Predef.scala:281)
              at org.apache.spark.deploy.history.RollingEventLogFilesFileReader.files$lzycompute(EventLogFileReaders.scala:216)
      
      $ aws s3 ls s3://.../eventlog_v2_spark-95b5c736c8e44037afcf152534d08771/
      2021-06-26 22:31:40          0 appstatus_spark-95b5c736c8e44037afcf152534d08771.inprogress
      

      Attachments

        Activity

          People

            dongjoon Dongjoon Hyun
            dongjoon Dongjoon Hyun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: