From a63b0dd539940ffb041777d4719fe3f931c16d4f Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 3 Sep 2019 01:01:52 -0700 Subject: [PATCH] Updated Hadoop Compatible File System (markdown) --- Hadoop-Compatible-File-System.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Hadoop-Compatible-File-System.md b/Hadoop-Compatible-File-System.md index b46e528..88fabb3 100644 --- a/Hadoop-Compatible-File-System.md +++ b/Hadoop-Compatible-File-System.md @@ -126,7 +126,10 @@ And modify the configuration at runntime: ``` # 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`: ``` @@ -134,9 +137,14 @@ If HBase is used, create a folder and configure the HBase root directory in `etc hbase.rootdir seaweedfs://localhost:8888/hbase + + fs.seaweedfs.impl + seaweed.hdfs.SeaweedFileSystem + ``` -# Supported Operations + +# Supported HDFS Operations ``` bin/hdfs dfs -appendToFile README.txt /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 ``` + # 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.