Skip to content
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.

Commit

Permalink
Removing -1 as default port, falling back to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwanthkumar committed Oct 13, 2017
1 parent 4641db0 commit e4f3309
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/main/java/org/apache/hadoop/fs/s3nativefs/S3NativeFS.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ public S3NativeFS(URI theUri, Configuration conf) throws IOException, URISyntaxE
super(theUri, new NativeS3FileSystem(), conf, "s3n", true);
}

@Override
public int getUriDefaultPort() {
return -1; // No default port for s3
}

@Override
public FsServerDefaults getServerDefaults() throws IOException {
return SERVER_DEFAULTS;
Expand Down

0 comments on commit e4f3309

Please sign in to comment.