Eclipse : 3.3.2
Hadoop: 0.19.1
Hadoop-eclipse-plugin: 0.19.1, in contrib/eclipse-plugin
cluster environment:
grid01(cluster head) has two network interfaces:
140.112.30.240 --> external
192.168.77.1 --> internal
grid02~grid05 are in the private network:
192.168.77.2~5.
Since we need to contact the internal nodes when running hadoop applications,
we need to setup proxy to have grid02~grid05 accessible to people outside.
Setup proxy port 54088:
ssh -L 140.112.30.240:12345:192.168.77.1:22 140.112.30.240 -n -N &
ssh -D 140.112.30.240:54088 -p 12345 140.112.30.240 -n -N &
And then in hadoop-eclipse plugin, you can set proxy host/port as 140.112.30.240:54088
2009年4月20日 星期一
2009年4月16日 星期四
2009年4月14日 星期二
2009年4月10日 星期五
build UQBT
build uqbt
require libelfg0-dev package
1. tar xzf uqbt1.0alpha.tar.gz
2. ./configure --with-source=pent --with-target=sparc --disable-vpo --enable-remote --prefix=/home/tk/local
3. vim Makefile
change CPPFLAGS= -I/usr/bin/../include/linux to CPPFLAGS=
change CC=gcc to CC=gcc-2.95
change CXX=g++-2.95
pass '--traditional-format' option to linker
%s/-lstdc++/-Wl,--traditional-format -lstdc++/g
4. vim include/config.h
change #define HAVE_ELF_H 1 to #define HAVE_ELF_H 0
5. vim include/ElfBinaryFile.h
put #include to the top of #ifndef ELF32_R_SYM
6. vim loader/ElfBinaryFile.cc
elf_hash(pName) ==> elf_hash((unsigned char*)pName)
7. make
The processes goes fine until ld, there will be alot of errors shown, put we still can get the uqbtps executable file
however, it cannot translate the compiled program ...
require libelfg0-dev package
1. tar xzf uqbt1.0alpha.tar.gz
2. ./configure --with-source=pent --with-target=sparc --disable-vpo --enable-remote --prefix=/home/tk/local
3. vim Makefile
change CPPFLAGS= -I/usr/bin/../include/linux to CPPFLAGS=
change CC=gcc to CC=gcc-2.95
change CXX=g++-2.95
pass '--traditional-format' option to linker
%s/-lstdc++/-Wl,--traditional-format -lstdc++/g
4. vim include/config.h
change #define HAVE_ELF_H 1 to #define HAVE_ELF_H 0
5. vim include/ElfBinaryFile.h
put #include to the top of #ifndef ELF32_R_SYM
6. vim loader/ElfBinaryFile.cc
elf_hash(pName) ==> elf_hash((unsigned char*)pName)
7. make
The processes goes fine until ld, there will be alot of errors shown, put we still can get the uqbtps executable file
however, it cannot translate the compiled program ...
訂閱:
文章 (Atom)