mirror of https://github.com/apache/druid.git
some stuff
This commit is contained in:
parent
e7e119b559
commit
52598d3bca
|
@ -24,6 +24,7 @@ import com.amazonaws.ClientConfigurationFactory;
|
|||
import com.amazonaws.Protocol;
|
||||
import com.amazonaws.auth.AWSCredentialsProvider;
|
||||
import com.amazonaws.client.builder.AwsClientBuilder.EndpointConfiguration;
|
||||
import com.amazonaws.regions.Regions;
|
||||
import com.amazonaws.services.s3.AmazonS3Client;
|
||||
import com.amazonaws.services.s3.AmazonS3ClientBuilder;
|
||||
import com.fasterxml.jackson.core.Version;
|
||||
|
@ -141,8 +142,10 @@ public class S3StorageDruidModule implements DruidModule
|
|||
.withClientConfiguration(S3Utils.setProxyConfig(configuration, proxyConfig).withProtocol(protocol))
|
||||
.withChunkedEncodingDisabled(clientConfig.isDisableChunkedEncoding())
|
||||
.withPathStyleAccessEnabled(clientConfig.isEnablePathStyleAccess())
|
||||
.withRegion(Regions.US_WEST_2)
|
||||
.withForceGlobalBucketAccessEnabled(clientConfig.isForceGlobalBucketAccessEnabled());
|
||||
|
||||
|
||||
if (StringUtils.isNotEmpty(endpointConfig.getUrl())) {
|
||||
amazonS3ClientBuilder.setEndpointConfiguration(
|
||||
new EndpointConfiguration(endpointConfig.getUrl(), endpointConfig.getSigningRegion())
|
||||
|
|
|
@ -51,6 +51,7 @@ public class DiscovertModule extends AbstractModule {
|
|||
return null;
|
||||
}
|
||||
|
||||
|
||||
@Provides
|
||||
@LazySingleton
|
||||
public Properties getProps() {
|
||||
|
|
|
@ -99,7 +99,8 @@ public class Launcher
|
|||
chk1();
|
||||
chkStatus();
|
||||
|
||||
lifecycle.stop();
|
||||
lifecycle.join();
|
||||
// lifecycle.stop();
|
||||
} else {
|
||||
|
||||
}
|
||||
|
|
|
@ -30,5 +30,6 @@ public class QuidemCaptureModule implements Module
|
|||
public void configure(Binder binder)
|
||||
{
|
||||
Jerseys.addResource(binder, QuidemCapture.class);
|
||||
// Hook.CONVERTED.add(null)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue