Git Product home page Git Product logo

hcfsfuse's Introduction

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 -Dlog4j.configuration=file:<LOG4j_FILE_PATH> -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.

hcfsfuse's People

Contributors

captainzmc avatar dependabot[bot] avatar maobaolong avatar symious avatar tartarus0zm avatar xushaohong avatar yyoudlm avatar zuston avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

hcfsfuse's Issues

How to mount to a S3 endpoint

I have a S3 bucket and I want to use hcfsfuse to mount a local directory to the bucket.
But I can't find the way to this thing. Please give me some help.
Thank you

Problems to Fuse a COS bucket

As the README.md said, after
mvn clean package
command, hcfsfuse--jar-with-dependencies.jar was generated in the folder target.
However, when I try
$ 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 https://fuse-optimize-xxx.cos.ap-chengdu.myqcloud.com
, in which the url is the address of COS bucket. There occurs ERRORS:
[main] WARN util.NativeCodeLoader (NativeCodeLoader.java:<clinit>) - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable [main] INFO fuse.HCFSFuse (HCFSFuse.java:main) - mounting to /Users/mbl/fusefs [Thread-6] ERROR fuse.AlluxioFuseUtils (AlluxioFuseUtils.java:getIdInfo) - Failed to get id from with option -u [Thread-6] ERROR fuse.AlluxioFuseUtils (AlluxioFuseUtils.java:getGidFromGroupName) - Failed to get gid from group name .
while the process is NOT interrupted, the shell is stuck and finally the connection to server shutdown.
How can I solve this problem? Is something wrong with the URL of my COS or the access authority need to be changed?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.