mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Hadoop Compatible File System (markdown)
parent
e4bd36f458
commit
19c88c2fbf
|
@ -160,6 +160,20 @@ If HBase is used, create a folder and configure the HBase root directory in `etc
|
||||||
```
|
```
|
||||||
|
|
||||||
# Notes
|
# Notes
|
||||||
|
## Atomicity
|
||||||
|
SeaweedFS satisfies the HCFS [requirements](https://hadoop.apache.org/docs/r2.7.2/hadoop-project-dist/hadoop-common/filesystem/introduction.html) that the following operations to be atomic, when using MySql/Postgres database transactions.
|
||||||
|
|
||||||
|
1. Creating a file. If the overwrite parameter is false, the check and creation MUST be atomic.
|
||||||
|
1. Deleting a file.
|
||||||
|
1. Renaming a file.
|
||||||
|
1. Renaming a directory.
|
||||||
|
1. Creating a single directory with mkdir().
|
||||||
|
|
||||||
|
Among these, except file or directory renaming, the following operations are all atomic for any filer store.
|
||||||
|
1. Creating a file
|
||||||
|
1. Deleting a file
|
||||||
|
1. Creating a single directory with mkdir().
|
||||||
|
|
||||||
## No native shared libraries
|
## No native shared libraries
|
||||||
The SeaweedFS hadoop client is a pure java library. There are no native libraries to install if you already have Hadoop running.
|
The SeaweedFS hadoop client is a pure java library. There are no native libraries to install if you already have Hadoop running.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue