Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
jortiz16 committed Apr 23, 2016
1 parent 2c73786 commit 9fd3035
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/edu/washington/escience/myria/io/UriSource.java
Expand Up @@ -16,7 +16,7 @@
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;

import com.amazonaws.auth.DefaultAWSCredentialsProviderChain;
import com.amazonaws.auth.AnonymousAWSCredentials;
import com.amazonaws.services.s3.AmazonS3;
import com.amazonaws.services.s3.AmazonS3Client;
import com.amazonaws.services.s3.model.GetObjectRequest;
Expand All @@ -39,7 +39,7 @@ public class UriSource implements DataSource, Serializable {

/** The Uniform Resource Indicator (URI) of the data source. */
private URI parsedUri;
private static final AmazonS3 s3Client = new AmazonS3Client(new DefaultAWSCredentialsProviderChain());
private static final AmazonS3 s3Client = new AmazonS3Client(new AnonymousAWSCredentials());

/**
* Construct a source of data from the specified URI. The URI may be: a path on the local file system; an HDFS link; a
Expand Down

0 comments on commit 9fd3035

Please sign in to comment.