在终端中启动Spark Shell时如何在Spark配置中指定“签名版本4”?
我用三个参数配置了spark:
spark.sparkContext.hadoopConfiguration.set("fs.s3a.endpoint","s3.us-east-2.amazonaws.com")
spark.sparkContext.hadoopConfiguration.set("fs.s3a.access.key", "");
spark.sparkContext.hadoopConfiguration.set("fs.s3a.secret.key", "");
我遇到以下错误:
java.lang.NoClassDefFoundError:无法初始化com.amazonaws.services.s3.internal.AWSS3V4Signer类