-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
Description
What question do you want to ask?
- [ Y ] ✋ I have searched the open/closed issues and my issue is not listed.
Similar issue found: Unable to use S3 File as mainApplicationFile #996
Error
│ Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.hadoop.fs.s3a.S3AFileSystem not found │
│ at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2688) │
│ at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:3431) │
│ at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3466) │
│ at org.apache.hadoop.fs.FileSystem.access$300(FileSystem.java:174) │
│ at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3574) │
│ at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3521) │
│ at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:540) │
│ at org.apache.spark.util.Utils$.getHadoopFileSystem(Utils.scala:1831) │
│ at org.apache.spark.util.Utils$.doFetchFile(Utils.scala:727) │
│ at org.apache.spark.util.DependencyUtils$.downloadFile(DependencyUtils.scala:264) │
│ at org.apache.spark.deploy.k8s.KubernetesUtils$.loadPodFromTemplate(KubernetesUtils.scala:103) │
│ ... 18 more │
│ Caused by: java.lang.ClassNotFoundException: Class org.apache.hadoop.fs.s3a.S3AFileSystem not found │
│ at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2592) │
│ at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2686) │
Additional context
This is happening because spark-operator image doesn't have hadoop-aws jar. Is there a recommended way to pull jars from S3?
No response
Have the same question?
Give it a 👍 We prioritize the question with most 👍
nownikhil, psantacl, matschaffer-roblox, ujjawal-khare, rparme and 3 more