Coder Social home page Coder Social logo

leo-project / leofs Goto Github PK

View Code? Open in Web Editor NEW
1.5K 1.5K 155.0 30.72 MB

The LeoFS Storage System

Home Page: https://leo-project.net/leofs/

License: Apache License 2.0

Makefile 0.59% Shell 8.42% Erlang 87.67% Batchfile 0.75% Java 0.17% Roff 0.55% RPC 1.33% Dockerfile 0.54%
datalake distributed-file-system distributed-storage erlang leofs nfs nfs-server s3 s3-storage

leofs's People

Contributors

egisatoshi avatar epoll avatar essen avatar getong avatar gitter-badger avatar hiroaki-iwase avatar kevinmeziere avatar kunaltyagi avatar licenser avatar maxkochubey avatar mmasaki avatar mocchira avatar shuichiro-makigaki avatar trociny avatar vstax avatar windkit avatar yosukehara 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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  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  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  avatar  avatar

leofs's Issues

basho_bench

Could you detail a bit how you got the bash_bench driver working?

  • ibrowse is up and running
  • basho_bench http raw driver works

but the leofs driver gives me:

10:21:59.096 [debug] Supervisor folsom_sup started folsom_sample_slide_sup:start_link() at pid <0.70.0>
10:21:59.097 [debug] Supervisor folsom_sup started folsom_meter_timer_server:start_link() at pid <0.71.0>
10:21:59.098 [debug] Supervisor folsom_sup started folsom_metrics_histogram_ets:start_link() at pid <0.72.0>
10:21:59.098 [info] Application folsom started on node nonode@nohost
10:21:59.111 [debug] Supervisor basho_bench_sup started basho_bench_stats:start_link() at pid <0.65.0>
10:21:59.114 [debug] ID 1 generating range 0 to 20833
10:21:59.209 [error] Failed to initialize driver basho_bench_driver_leofs: {'EXIT',{undef,[{basho_bench_driver_leofs,new,[1],[]},{basho_bench_worker,worker_idle_loop,1,[{file,"src/basho_bench_worker.erl"},{line,201}]}]}}

Support for "s3cmd (s3-client/tool)"

  • Results:
    New settings:
      Access Key: 05236
      Secret Key: 802562235
      Encryption password: 
      Path to GPG program: /usr/bin/gpg
      Use HTTPS protocol: False
      HTTP Proxy server name: 
      HTTP Proxy server port: 0

    Test access with supplied credentials? [Y/n] Y
    Please wait, attempting to list all buckets...
    ERROR: Test failed: no element found: line 1, column 0

Benchmark docs unclear

A bit unsure on how to explain these things so I'll put the few issues we discussed here:

  • The bucket must be created before tests are ran, using the special test user (command and key should be given from the documentation directly)
  • The bucket name cannot contain _ (underscore), so the "test_bucket" provided as example plain doesn't work, and it's not obvious from this page alone that it isn't
  • The benchmark file given as an example at the end doesn't work without extra configuration, you have to edit the file to set the right port and bucket name first

build error following quick start

I am writing an installer for my dev env using information found on the quickstart guide.

#!/bin/bash
#http://www.leofs.org/docs/getting_started.html
#http://www.erlang.org/download_release/16
#https://github.com/leo-project/leofs

sudo apt-get install libncurses5-dev
http://www.erlang.org/download/otp_src_R14B04.tar.gz
tar xzf otp_src_R14B04.tar.gz
cd otp_src_R14B04
./configure --prefix=/usr/local/erlang/R14B04 --enable-smp-support --enable-m64-build --enable-halfword-emulator --enable-kernel-poll --without-javac --disable-native-libs --disable-hipe --disable-sctp --enable-threads
make
sudo make install

git clone https://github.com/leo-project/leofs.git
cd leofs
make
make release

the second last line of code produces this output

==> leo_commons (get-deps)
==> proper (get-deps)
==> jiffy (get-deps)
==> leo_logger (get-deps)
WARNING: deprecated port_envs option used
Option 'port_envs' has been deprecated
in favor of 'port_env'.
'port_envs' will be removed soon.

==> meck (get-deps)
WARNING: deprecated port_envs option used
Option 'port_envs' has been deprecated
in favor of 'port_env'.
'port_envs' will be removed soon.

==> bitcask (get-deps)
WARNING: deprecated port_envs option used
Option 'port_envs' has been deprecated
in favor of 'port_env'.
'port_envs' will be removed soon.

==> eleveldb (get-deps)
==> leo_backend_db (get-deps)
==> leo_object_storage (get-deps)
==> leo_mq (get-deps)
==> leo_redundant_manager (get-deps)
==> bear (get-deps)
==> folsom (get-deps)
==> leo_statistics (get-deps)
==> leo_s3_libs (get-deps)
==> leo_manager (get-deps)
==> lz4 (get-deps)
==> leo_ordning_reda (get-deps)
==> leo_storage (get-deps)
WARNING: deprecated port_envs option used
Option 'port_envs' has been deprecated
in favor of 'port_env'.
'port_envs' will be removed soon.

==> cherly (get-deps)
==> ecache (get-deps)
==> cowboy (get-deps)
==> leo_gateway (get-deps)
==> rel (get-deps)
==> leofs (get-deps)
==> leo_commons (compile)
ERROR: OTP release R15B01 does not match required regex R14B04|R15B02|R15B03
ERROR: compile failed while processing /home/paul/leofs/deps/leo_commons: rebar_abort
make: *** [compile] Error 1

Improve re-launch storage process

  • When regularly stop the storage-process, It writes current status in a file. Then it restarts the storage-process when reading the file.

Gateway always responds with 403

Can't get a simple developer model deployment to run. Everything comes up, but spits out a 403 Forbidden when I access using s3cmd or DragonFS. Any logs I can look at to figure why it's failing ? I'm new to Erlang, but have loads of dev experience otherwise.

Improve compaction mechanism

  • Able to gradually compact data
    • Assignable data-compaction target raw-file(s)
  • Able to suspend/resume compaction
    • Need to implement commands of compact status, compact suspend, compact resume and compact start in LeoFS-Manager

Make compaction's control(suspend/resume) finer granularities

  • ASIS: per AVS(a raw file on OS filesystem)
  • TOBE: per some time unit ( ex. 5sec/1min ... )
  • TODO
    • To prevent gen_server from blocking, must do compaction on another process.
    • To realize time unit controlable, a compaction process must invoke receive regulaly.
  • Files to be modified
    • leo_object_storage_server
    • leo_compaction_manager_fsm
    • leo_object_storage_api

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.