2009年4月20日 星期一

hadoop cluster and eclipse plugin

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月18日 星期六

memo

1, cvs check, user upload
2, month

2009年4月17日 星期五

2009年4月16日 星期四

funwish todo

一、月份不是從 1 月開始
二、csv 上傳時需要自動 insert,actual,expect,digital_output,
三、測試報告

memo

need to judge when to put final
but right now, only need to consider season

gogogo

second round, GO

what about digital?

16 2 3 7 8 10 1

2009年4月14日 星期二

TODO

要做的事有:
一、申請簽證,明天早上九點半
二、訂 Frankfurt YH,
三、準備 Hadoop worksheet
四、setup hadoop machines
五、research,pin,dynamoRIO,XED2,qemu。

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

2009年4月6日 星期一

我是不是有病

我是不是有病

要很認真的思考這個問題,我是不是有病!

無法專心,無法完成一件事,
整個頭腦亂成一團,我需要整理我的腦袋。
定期的