use of io.trino.plugin.hive.s3.TrinoS3ConfigurationInitializer in project trino by trinodb.
the class AbstractTestHiveFileSystemS3 method createHdfsConfiguration.
private HdfsConfiguration createHdfsConfiguration() {
ConfigurationInitializer s3Config = new TrinoS3ConfigurationInitializer(new HiveS3Config().setS3AwsAccessKey(awsAccessKey).setS3AwsSecretKey(awsSecretKey));
HdfsConfigurationInitializer initializer = new HdfsConfigurationInitializer(new HdfsConfig(), ImmutableSet.of(s3Config));
return new HiveHdfsConfiguration(initializer, ImmutableSet.of());
}
Aggregations