@@ -42,7 +42,7 @@ or `FSDataOutputStreamBuilder.build()`.
42
42
These all return instances of ` FSDataOutputStream ` , through which data
43
43
can be written through various ` write() ` methods.
44
44
After a stream's ` close() ` method is called, all data written to the
45
- stream MUST BE persisted to the fileysystem and visible to oll other
45
+ stream MUST BE persisted to the filesystem and visible to oll other
46
46
clients attempting to read data from that path via ` FileSystem.open() ` .
47
47
48
48
As well as operations to write the data, Hadoop's ` OutputStream ` implementations
@@ -126,7 +126,7 @@ consistent with the data at the filesystem.
126
126
127
127
The output stream returned from a call of
128
128
` FileSystem.append(path, buffersize, progress) ` within a filesystem ` FS ` ,
129
- can be modelled as a stream whose ` buffer ` is intialized to that of
129
+ can be modelled as a stream whose ` buffer ` is initialized to that of
130
130
the original file:
131
131
132
132
``` python
@@ -184,7 +184,7 @@ This document covers the requirements of such implementations.
184
184
185
185
HDFS's ` FileSystem ` implementation, ` DistributedFileSystem ` , returns an instance
186
186
of ` HdfsDataOutputStream ` . This implementation has at least two behaviors
187
- which are not explicitly declared by the base Java implmentation
187
+ which are not explicitly declared by the base Java implementation
188
188
189
189
1 . Writes are synchronized: more than one thread can write to the same
190
190
output stream. This is a use pattern which HBase relies on.
@@ -648,7 +648,7 @@ in production.
648
648
1 . ` OutputStream.write() ` MAY persist the data, synchronously or asynchronously
649
649
1 . ` OutputStream.flush() ` flushes data to the destination. There
650
650
are no strict persistence requirements.
651
- 1 . ` Syncable.hflush() ` synchronously sends all outstaning data to the destination
651
+ 1 . ` Syncable.hflush() ` synchronously sends all outstanding data to the destination
652
652
filesystem. After returning to the caller, the data MUST be visible to other readers,
653
653
it MAY be durable. That is: it does not have to be persisted, merely guaranteed
654
654
to be consistently visible to all clients attempting to open a new stream reading
@@ -678,7 +678,7 @@ public void hflush() throws IOException {
678
678
```
679
679
680
680
This is perfectly acceptable as an implementation: the semantics of ` hflush() `
681
- are satisifed .
681
+ are satisfied .
682
682
What is not acceptable is downgrading ` hsync() ` to ` hflush() ` , as the durability guarantee is no longer met.
683
683
684
684
@@ -863,7 +863,7 @@ local data as can be written to full checksummed blocks of data.
863
863
That is , the hsync/ hflush operations are not guaranteed to write all the pending
864
864
data until the file is finally closed.
865
865
866
- For this reason, the local fileystem accessed via `file :// ` URLs
866
+ For this reason, the local filesystem accessed via `file :// ` URLs
867
867
does not support `Syncable` unless `setWriteChecksum(false)` was
868
868
called on that FileSystem instance so as to disable checksum creation.
869
869
After which, obviously, checksums are not generated for any file .
0 commit comments