-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
41 lines (32 loc) · 1.59 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
The zookeeper-fuse project is a libfuse compatible userspace filesystem backended by zookeeper. It allows a user to mount the entire zoo or a specific node within the zoo as a filesystem.
Features:
- Mount the entire zoo or a subset
- Writes to the filesystem gets synched to the zoo
- Reads from the filesystem are not cached
- Supports authentication
Building:
autoreconf -fi
./configure
make
make install
Mounting:
zookeper-fuse /mnt/zoo -- --zooHosts localhost:2181
Limitations:
- Displaying Leaf Nodes: In the Zookeeper, even directories can have contents. An aspect which is difficult to represent within the constraints of a fuse filesystem. As such, two leaf display modes are supported: DIR and FILE. In both modes the contents of directories are stored in special "_zoo_data_" files. The differences between the display modes are as follows:
1. DIR: Display all leaf nodes as directories, has the side-effect that new files can only be created using mkdir.
2. FILE: Display all leaf nodes as files, has the side-effect that directories cannot be created.
- mv is not yet implemented in any leaf display mode
- cp is not fully supported...
- When leaf display mode is FILE, files can be copied accurately but directories aren't
- When leaf display mode is DIR, nodes are created but contents aren't copied
For development using Ubuntu 16.04 (Xenial Xerus)
Required Packages for compilation:
- libzookeeper-mt-dev
- libfuse-dev
- zookeeper
Optional Packages:
- liblog4cpp5-dev
Zookeeper Package:
- zookeeperd
Useful packages for testing and debugging:
- zooinspector