Changes between Initial Version and Version 1 of waue/2009/1005


Ignore:
Timestamp:
Oct 5, 2009, 5:21:21 PM (15 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • waue/2009/1005

    v1 v1  
     1 = fuse hdfs 0.20.1 繼續加油 =
     2
     3= 環境 =
     4 * ubuntu 9.04
     5 * kernel 2.6.24-24-generic (原本預設為 2.6.28-15 )
     6   * 請重新開機於grub 切換成第三個kernel,否則無法 modprobe fuse
     7 * hadoop 0.20.1 (安裝於/opt/hadoop)
     8 * fuse 版本
     9   * tarball 版為 2.7.4
     10   * 而'''/lib/modules/2.6.24-24-generic/kernel/fs/fuse/fuse.ko''' 此fuse模組檔為安裝 '''linux-image-2.6.24-24-generic'''.deb時就有
     11
     12 = 需求 =
     13
     14 * Hadoop with compiled libhdfs.so
     15 * Linux kernel > 2.6.9 with fuse, which is the default or Fuse 2.7.x, 2.8.x installed. See: [http://fuse.sourceforge.net/]
     16 * modprobe fuse to load it
     17 * fuse-dfs executable (see below)
     18 * fuse_dfs_wrapper.sh installed in /bin or other appropriate location (see below)
     19
     20 = 方法 =
     21 ==  1. build ==
     22改 build.xml 的 1046行左右,去掉 doc相關敘述,如下:
     23{{{
     24#!text
     25  <target name="package" depends="compile, jar, examples, tools-jar, jar-test, ant-tasks, package-librecordio"
     26}}}
     27
     28{{{
     29$ cd /opt/hadoop
     30$ ant compile-c++-libhdfs -Dlibhdfs=1