mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Hadoop Compatible File System (markdown)
parent
e1dec20dc6
commit
a63b0dd539
|
@ -126,7 +126,10 @@ And modify the configuration at runntime:
|
||||||
```
|
```
|
||||||
|
|
||||||
# Installation for HBase
|
# Installation for HBase
|
||||||
If HBase is used, create a folder and configure the HBase root directory in `etc/hbase/conf/hbase-site.xml`:
|
|
||||||
|
Copy the seaweedfs-hadoop2-client-x.x.x.jar to `${HBASE_HOME}/lib`.
|
||||||
|
|
||||||
|
And add the following 2 properties in `${HBASE_HOME}/conf/hbase-site.xml`:
|
||||||
|
|
||||||
```
|
```
|
||||||
<configuration>
|
<configuration>
|
||||||
|
@ -134,9 +137,14 @@ If HBase is used, create a folder and configure the HBase root directory in `etc
|
||||||
<name>hbase.rootdir</name>
|
<name>hbase.rootdir</name>
|
||||||
<value>seaweedfs://localhost:8888/hbase</value>
|
<value>seaweedfs://localhost:8888/hbase</value>
|
||||||
</property>
|
</property>
|
||||||
|
<property>
|
||||||
|
<name>fs.seaweedfs.impl</name>
|
||||||
|
<value>seaweed.hdfs.SeaweedFileSystem</value>
|
||||||
|
</property>
|
||||||
</configuration>
|
</configuration>
|
||||||
```
|
```
|
||||||
# Supported Operations
|
|
||||||
|
# Supported HDFS Operations
|
||||||
```
|
```
|
||||||
bin/hdfs dfs -appendToFile README.txt /weedfs/weedfs.txt
|
bin/hdfs dfs -appendToFile README.txt /weedfs/weedfs.txt
|
||||||
bin/hdfs dfs -cat /weedfs/weedfs.txt
|
bin/hdfs dfs -cat /weedfs/weedfs.txt
|
||||||
|
@ -180,6 +188,7 @@ If HBase is used, create a folder and configure the HBase root directory in `etc
|
||||||
setrep
|
setrep
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
# Notes
|
# Notes
|
||||||
## Atomicity
|
## 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.
|
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.
|
||||||
|
|
Loading…
Reference in a new issue