Skip to content

Commit

Permalink
HADOOP-16437 documentation typo fix: fs.s3a.experimental.input.fadvise
Browse files Browse the repository at this point in the history
Fix fs.s3a.experimental.fadvise to fs.s3a.experimental.input.fadvise 

Contributed by: Josh Rosen
  • Loading branch information
JoshRosen authored and steveloughran committed Jul 18, 2019
1 parent d5ef38b commit d545f9c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ of `FileSystem`.

```java
out = fs.openFile(path)
.opt("fs.s3a.experimental.fadvise", "random")
.opt("fs.s3a.experimental.input.fadvise", "random")
.must("fs.s3a.readahead.range", 256 * 1024)
.build()
.get();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ killer.
`fs.s3a.threads.max` and `fs.s3a.connection.maximum`.

1. Make sure that the bucket is using `sequential` or `normal` fadvise seek policies,
that is, `fs.s3a.experimental.fadvise` is not set to `random`
that is, `fs.s3a.experimental.input.fadvise` is not set to `random`

1. Perform listings in parallel by setting `-numListstatusThreads`
to a higher number. Make sure that `fs.s3a.connection.maximum`
Expand Down Expand Up @@ -314,7 +314,7 @@ the S3 bucket/shard.
</property>

<property>
<name>fs.s3a.experimental.fadvise</name>
<name>fs.s3a.experimental.input.fadvise</name>
<value>normal</value>
</property>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,7 @@ shows that it is generally more efficient to abort the TCP connection and initia
a new one than read to the end of a large file.

Note: the threshold when data is read rather than the stream aborted can be tuned
by `fs.s3a.readahead.range`; seek policy in `fs.s3a.experimental.fadvise`.
by `fs.s3a.readahead.range`; seek policy in `fs.s3a.experimental.input.fadvise`.

### <a name="no_such_bucket"></a> `FileNotFoundException` Bucket does not exist.

Expand Down

0 comments on commit d545f9c

Please sign in to comment.