close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_core.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Oct 6, 2009, 5:32:34 PM (15 years ago)
- Author:
-
waue
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v6
|
v7
|
|
56 | 56 | |
57 | 57 | {{{ |
| 58 | $ ln -sf /opt/hadoop/build/contrib/fuse-dfs/fuse-dfs* /usr/local/bin/ |
58 | 59 | $ cd /opt/hadoop/build/contrib/fuse-dfs/ |
59 | | $ ./fuse_dfs_wrapper.sh |
| 60 | $ ./fuse_dfs_wrapper.sh |
| 61 | USAGE: /opt/hadoop/contrib/fuse-dfs/fuse_dfs [debug] [--help] [--version] [-oprotected=<colon_seped_list_of_paths] [rw] [-onotrash] [-ousetrash] [-obig_writes] [-oprivate (single user)] [ro] [-oserver=<hadoop_servername>] [-oport=<hadoop_port>] [-oentry_timeout=<secs>] [-oattribute_timeout=<secs>] [-odirect_io] [-onopoermissions] [-o<other fuse option>] <mntpoint> [fuse options] |
| 62 | NOTE: debugging option for fuse is -debug |
| 63 | |
60 | 64 | }}} |
| 65 | |
61 | 66 | == 3. == |
62 | 67 | |
63 | 68 | {{{ |
64 | 69 | $ mkdir /tmp/fusehdfs |
65 | | $ fuse_dfs_wrapper.sh dfs://secuse.nchc.org.tw:9000 /tmp/fusehdfs -d` |
| 70 | $ fuse_dfs_wrapper.sh dfs://secuse.nchc.org.tw:9000 /tmp/fusehdfs -d |
66 | 71 | }}} |
67 | 72 | |
… |
… |
|
71 | 76 | }}} |
72 | 77 | |
| 78 | = 4. = |
| 79 | |
| 80 | 加入以下內容到 /etc/fstab |
| 81 | {{{ |
| 82 | #!text |
| 83 | fuse_dfs#dfs://hadoop_server.foo.com:9000 /export/hdfs fuse -oallow_other,rw,-ousetrash,-oinitchecks 0 0 |
| 84 | }}} |
73 | 85 | = bug fix = |
74 | 86 | * check java5 |