diff --git a/s3-extensions/src/main/java/io/druid/storage/s3/S3DataSegmentPuller.java b/s3-extensions/src/main/java/io/druid/storage/s3/S3DataSegmentPuller.java index 12312cb0e52..ff286e262ac 100644 --- a/s3-extensions/src/main/java/io/druid/storage/s3/S3DataSegmentPuller.java +++ b/s3-extensions/src/main/java/io/druid/storage/s3/S3DataSegmentPuller.java @@ -93,7 +93,7 @@ public class S3DataSegmentPuller implements DataSegmentPuller S3Object s3Obj = null; try { - s3Obj = s3Client.getObject(new S3Bucket(s3Coords.bucket), s3Coords.path); + s3Obj = s3Client.getObject(s3Coords.bucket, s3Coords.path); InputStream in = null; try {