我想在spark会话中使用spark服务器级加密我的示例代码是
enter code here
val hadoopConf = sc.hadoopConfiguration;
hadoopConf.set("fs.s3.impl", "org.apache.hadoop.fs.s3native.NativeS3FileSystem")
hadoopConf.set("fs.s3.awsAccessKeyId", "xyz")
hadoopConf.set("fs.s3.awsSecretAccessKey", "xyz")
hadoopConf.set("fs.s3.enableServerSideEncryption", "true")
hadoopConf.set("fs.s3.serverSideEncryptionAlgorithm","AES256")
但它不起作用
暂无答案!
目前还没有任何答案,快来回答吧!