Browse Source
The issue: Fixed 5-second sleep was too short - files not written yet The solution: Poll every second for up to 30 seconds - Check if files exist in employees directory - Download immediately when they appear - Log progress every 5 seconds This gives us a 30-second window to catch the file between: - Write (file appears) - Read (EOF error) The file should appear within a few seconds of SparkSQLTest starting, and we'll grab it immediately!pull/7526/head
1 changed files with 28 additions and 16 deletions
Loading…
Reference in new issue