Skip to content

Commit 81a7387

Browse files
committed
HADOOP-13327 review usages of "must" in lower case
Change-Id: Id38cf27639215abdd0d8c3578ddf72ed7adca8c5
1 parent 111c7bb commit 81a7387

File tree

1 file changed

+5
-5
lines changed
  • hadoop-common-project/hadoop-common/src/site/markdown/filesystem

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ than `close()`; they MAY fail with `IOException` or `RuntimeException`.
152152
Stream' = (path, false, [])
153153
```
154154

155-
The `close()` operation must be idempotent with the sole attempt to write the
155+
The `close()` operation MUST be idempotent with the sole attempt to write the
156156
data made in the first invocation.
157157

158158
1. If `close()` succeeds, subsequent calls are no-ops.
@@ -197,8 +197,8 @@ has made such a call on this in the past
197197
As the HDFS implementation is considered the de-facto specification of
198198
the FileSystem APIs, the fact that `write()` is thread-safe is significant.
199199

200-
For compatibility, not only must other FS clients be thread-safe,
201-
but new HDFS featues, such as encryption and Erasure Coding must also
200+
For compatibility, not only SHOULD other FS clients be thread-safe,
201+
but new HDFS featues, such as encryption and Erasure Coding SHOULD also
202202
implement consistent behavior with the core HDFS output stream.
203203

204204
Put differently:
@@ -477,7 +477,7 @@ There is no requirement or guarantee that clients with an existing
477477
data, nor is there a guarantee that they *will not* in a current or subsequent
478478
read.
479479

480-
Implementation note: as a correct `hsync()` implementation must also
480+
Implementation note: as a correct `hsync()` implementation MUST also
481481
offer all the semantics of an `hflush()` call, implementations of `hflush()`
482482
may just invoke `hsync()`:
483483

@@ -796,7 +796,7 @@ and materialization of the final output.
796796
This significantly change's their behaviour compared to that of
797797
POSIX filesystems and that specified in this document.
798798

799-
#### Visibility of newly created files
799+
#### Visibility of newly created objects
800800

801801
There is no guarantee that any file will be visible at the path of an output
802802
stream after the output stream is created .

0 commit comments

Comments
 (0)