Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.01 KB

README.md

File metadata and controls

38 lines (24 loc) · 1.01 KB

hcfsfuse

hcfsfuse is a fuse program which can access any hcfs implemented file system. Such as local filesystem, hdfs, ozone, alluxio, oss, cos, s3, and so on.

how to build

A fat jar will be generated in the target folder named hcfsfuse--jar-with-dependencies.jar after build the project successfully.

A Simple way like following

$ mvn clean package

If you want to specify the version of alluxio, hadoop or ozone, reference the following example.

 mvn clean package -Dhadoop.version=3.2.1 -Dozone.version=1.0.0

how to run

$ java -jar target/hcfsfuse-1.0.0-SNAPSHOT-jar-with-dependencies.jar -c core-site.xml -c another-site.xml -m /Users/mbl/fusefs -r file:///tmp/

Then, you can ls, touch, cp, rm, cat file or directory under /Users/mbl/fusefs.

If there are something wrong strangely, check if forgot unmount the mount point folder and unmount it manually as following.

umount /Users/mbl/fusefs

Notice

There are a lot of reference from Alluxio fuse.