You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2021/10/12 02:32:52 UTC

[GitHub] [hudi] xiaogaozi commented on a change in pull request #3780: [DOCS] Update JuiceFS doc

xiaogaozi commented on a change in pull request #3780:
URL: https://github.com/apache/hudi/pull/3780#discussion_r726713961



##########
File path: website/docs/jfs_hoodie.md
##########
@@ -1,59 +1,65 @@
 ---
-title: JuiceFS 
-keywords: [ hudi, hive, jfs, spark, flink]
-summary: On this page, we go over how to configure Hudi with JuiceFS.
-last_modified_at: 2021-09-30T17:24:24-10:00
+title: JuiceFS
+keywords: [ hudi, hive, juicefs, jfs, spark, flink ]
+summary: In this page, we go over how to configure Hudi with JuiceFS file system.
+last_modified_at: 2021-10-11T15:50:00+08:00
 ---
-On this page, we explain how to use Hudi with JuiceFS.
 
-## JuiceFS Preparing
+In this page, we explain how to use Hudi with JuiceFS.
 
-JuiceFS is a high-performance distributed file system. Any data stored into JuiceFS, the data itself will be persisted in object storage (e.g. Amazon S3), and the metadata corresponding to the data can be persisted in various database engines such as Redis, MySQL, and TiKV according to the needs of the scene.
+## JuiceFS configs
+
+[JuiceFS](https://github.com/juicedata/juicefs) is a high-performance distributed file system. Any data stored into JuiceFS, the data itself will be persisted in object storage (e.g. Amazon S3), and the metadata corresponding to the data can be persisted in various database engines such as Redis, MySQL, and TiKV according to the needs of the scene.
 
 There are three configurations required for Hudi-JuiceFS compatibility:
 
-- Creating JuiceFS
-- Adding JuiceFS configuration for Hudi
-- Adding required jar to `classpath`
+1. Creating JuiceFS file system
+2. Adding JuiceFS configuration for Hudi
+3. Adding required JAR to `classpath`
+
+### Creating JuiceFS file system
 
-### Creating JuiceFS
+JuiceFS supports multiple metadata engines such as Redis, MySQL, SQLite, and TiKV.
 
-JuiceFS supports multiple engines such as Redis, MySQL, SQLite, and TiKV.
+This example uses Redis as "Metadata Engine" and Amazon S3 as "Data Storage" in Linux environment.
 
-This example uses Redis as Meta Engine and AWS S3 as Data Storage in Linux env.
+#### Download JuiceFS client
 
-- Download
 ```shell
-JFS_LATEST_TAG=$(curl -s https://api.github.com/repos/juicedata/juicefs/releases/latest | grep 'tag_name' | cut -d '"' -f 4 | tr -d 'v')
-wget "https://github.com/juicedata/juicefs/releases/download/v${JFS_LATEST_TAG}/juicefs-${JFS_LATEST_TAG}-linux-amd64.tar.gz"
+$ JFS_LATEST_TAG=$(curl -s https://api.github.com/repos/juicedata/juicefs/releases/latest | grep 'tag_name' | cut -d '"' -f 4 | tr -d 'v')
+$ wget "https://github.com/juicedata/juicefs/releases/download/v${JFS_LATEST_TAG}/juicefs-${JFS_LATEST_TAG}-linux-amd64.tar.gz"
 ```
 
-- Install
+#### Install JuiceFS client
+
 ```shell
-mkdir juice && tar -zxvf "juicefs-${JFS_LATEST_TAG}-linux-amd64.tar.gz" -C juice
-sudo install juice/juicefs /usr/local/bin
+$ mkdir juice && tar -zxvf "juicefs-${JFS_LATEST_TAG}-linux-amd64.tar.gz" -C juice
+$ sudo install juice/juicefs /usr/local/bin
 ```
 
-- Format a filesystem
+#### Format a JuiceFS file system
+
 ```shell
-juicefs format \
+$ juicefs format \
     --storage s3 \

Review comment:
       No, JuiceFS supports almost all object storage, see [here](https://github.com/juicedata/juicefs/blob/main/docs/en/how_to_setup_object_storage.md#supported-object-storage) with full support list.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org