Skip to content

Commit c44f869

Browse files
committed
HADOOP-17833. yetus complaints
Change-Id: Ia2fe020bb3672fefd42f1ceec8af0337c4f00b73
1 parent 69eedd9 commit c44f869

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

hadoop-common-project/hadoop-common/src/site/markdown/filesystem/fsdataoutputstreambuilder.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ files (`getFileStatus()`, `isFile()`) more likely to see the file.
215215
The exact form of the inconsistencies, and which operations/parameters
216216
trigger this are undefined and may change between even minor releases.
217217

218-
Using this option is the equivalent of pressing and holding down the
218+
Using this option is the equivalent of pressing and holding down the
219219
"Electronic Stability Control"
220220
button on a rear-wheel drive car for five seconds: the safety checks are off.
221221
Things wil be faster if the driver knew what they were doing.

hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/WriteOperations.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <T> T retry(String action,
7878
* @param destKey destination key
7979
* @param inputStream source data.
8080
* @param length size, if known. Use -1 for not known
81-
* @param options
81+
* @param options options for the request
8282
* @return the request
8383
*/
8484
PutObjectRequest createPutObjectRequest(String destKey,
@@ -90,7 +90,7 @@ PutObjectRequest createPutObjectRequest(String destKey,
9090
* Create a {@link PutObjectRequest} request to upload a file.
9191
* @param dest key to PUT to.
9292
* @param sourceFile source file
93-
* @param options
93+
* @param options options for the request
9494
* @return the request
9595
*/
9696
PutObjectRequest createPutObjectRequest(

hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/api/RequestFactory.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,12 @@ CopyObjectRequest newCopyObjectRequest(String srcKey,
142142
* Adds the ACL and metadata
143143
* @param key key of object
144144
* @param metadata metadata header
145-
* @param options
145+
* @param options options for the request
146146
* @param srcfile source file
147147
* @return the request
148148
*/
149149
PutObjectRequest newPutObjectRequest(String key,
150-
ObjectMetadata metadata, final PutObjectOptions options, File srcfile);
150+
ObjectMetadata metadata, PutObjectOptions options, File srcfile);
151151

152152
/**
153153
* Create a {@link PutObjectRequest} request.
@@ -194,7 +194,7 @@ AbortMultipartUploadRequest newAbortMultipartUploadRequest(
194194
/**
195195
* Start a multipart upload.
196196
* @param destKey destination object key
197-
* @param headers headers
197+
* @param options options for the request
198198
* @return the request.
199199
*/
200200
InitiateMultipartUploadRequest newMultipartUploadRequest(

hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/commit/AbstractS3ACommitter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1585,7 +1585,7 @@ public ActiveCommit(
15851585
* @param pendingFS source filesystem.
15861586
* @param statuses iterator of file status or subclass to use.
15871587
* @return the commit
1588-
* @throws if the iterator raises one.
1588+
* @throws IOException if the iterator raises one.
15891589
*/
15901590
public static ActiveCommit fromStatusIterator(
15911591
final FileSystem pendingFS,

hadoop-tools/hadoop-aws/src/test/resources/core-site.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
~ limitations under the License.
1919
-->
2020

21-
<!-- Values used when running unit tests. Specify any values in here that
21+
<!-- Values used when running unit tests. Specify any values$ in here that
2222
should override the default values. -->
2323

2424
<configuration>

0 commit comments

Comments
 (0)