java.util.ServiceConfigurationError: org.apache.hadoop.fs.FileSystem: Provider org.apache.hadoop.fs.s3a.S3AFileSystem could not be instantiated

lens-dev | anji (JIRA) | 1 year ago
  1. 0

    [jira] [Closed] (LENS-746) org.apache.hadoop.fs.s3a.S3AFileSystem could not be instantiated

    lens-dev | 1 year ago | anji (JIRA)
    java.util.ServiceConfigurationError: org.apache.hadoop.fs.FileSystem: Provider org.apache.hadoop.fs.s3a.S3AFileSystem could not be instantiated
  2. 0

    Flume sink to s3 using ec2 instance IAM credentials

    Stack Overflow | 8 months ago | Saravanan sathyamoorthy
    java.util.ServiceConfigurationError: org.apache.hadoop.fs.FileSystem: Provider org.apache.hadoop.fs.s3a.S3AFileSystem could not be instantiated
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Spark and Cassandra Java Application Exception Provider org.apache.hadoop.fs.s3.S3FileSystem not found

    Stack Overflow | 2 months ago | Hasson
    java.util.ServiceConfigurationError: org.apache.hadoop.fs.FileSystem: Provider org.apache.hadoop.fs.s3.S3FileSystem not found
  5. 0

    {CODE} Exception in thread "main" java.util.ServiceConfigurationError: org.apache.hadoop.fs.FileSystem: Provider org.apache.hadoop.fs.s3a.S3AFileSystem could not be instantiated at java.util.ServiceLoader.fail(ServiceLoader.java:224) at java.util.ServiceLoader.access$100(ServiceLoader.java:181) at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:377) at java.util.ServiceLoader$1.next(ServiceLoader.java:445) at org.apache.hadoop.fs.FileSystem.loadFileSystems(FileSystem.java:2563) at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2574) at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2591) at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:91) at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2630) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2612) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:370) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:169) at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:345) at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:293) at org.apache.hive.service.cli.session.SessionManager.applyAuthorizationConfigPolicy(SessionManager.java:128) at org.apache.hive.service.cli.session.SessionManager.init(SessionManager.java:76) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.hive.service.cli.CLIService.init(CLIService.java:112) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.lens.server.LensServices.init(LensServices.java:186) at org.apache.lens.server.LensServer.startServices(LensServer.java:113) at org.apache.lens.server.LensServer.<init>(LensServer.java:73) at org.apache.lens.server.LensServer.main(LensServer.java:168) Caused by: java.lang.NoClassDefFoundError: com/amazonaws/services/s3/AmazonS3 at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2532) at java.lang.Class.getConstructor0(Class.java:2842) at java.lang.Class.newInstance(Class.java:345) at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:373) ... 20 more Caused by: java.lang.ClassNotFoundException: com.amazonaws.services.s3.AmazonS3 at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 25 more {CODE}

    Apache's JIRA Issue Tracker | 2 years ago | Raghavendra Singh
    java.util.ServiceConfigurationError: org.apache.hadoop.fs.FileSystem: Provider org.apache.hadoop.fs.s3a.S3AFileSystem could not be instantiated

  1. kid 1 times, last 1 month ago
  2. Handemelindo 2 times, last 2 months ago
54 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.util.ServiceConfigurationError

    org.apache.hadoop.fs.FileSystem: Provider org.apache.hadoop.fs.s3a.S3AFileSystem could not be instantiated

    at java.util.ServiceLoader.fail()
  2. Java RT
    ServiceLoader$1.next
    1. java.util.ServiceLoader.fail(ServiceLoader.java:224)
    2. java.util.ServiceLoader.access$100(ServiceLoader.java:181)
    3. java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:377)
    4. java.util.ServiceLoader$1.next(ServiceLoader.java:445)
    4 frames
  3. Hadoop
    Path.getFileSystem
    1. org.apache.hadoop.fs.FileSystem.loadFileSystems(FileSystem.java:2623)
    2. org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2634)
    3. org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2651)
    4. org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:92)
    5. org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2687)
    6. org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2669)
    7. org.apache.hadoop.fs.FileSystem.get(FileSystem.java:371)
    8. org.apache.hadoop.fs.Path.getFileSystem(Path.java:295)
    8 frames