Missing time synchronization, scm console cannot start properly. Because of time sync, I installed ntpdate like below;

2011/10/07 - [Programming] - CentOS: time syncronization in local network / setting timezone

However time sync is broken after 2 months. So, to prohibit this problem, I wrote 'crontab' on every server.

0 0 * * * /sbin/ntpdate [ntp server] > /dev/null 2>&1

저작자 표시 비영리 변경 금지

1. unset current HADOOP_CONF_DIR if set

2.
$ sudo mv [conf dir path] /etc/hadoop-0.20/

3.
$ sudo update-alternatives --install /etc/hadoop-0.20/conf hadoop-0.20-conf /etc/hadoop-0.20/[conf dir name] [priority]

4. (Not sure) restart your machine (Testing on my machine with reboot, it is applied while on server without reboot, it isn't)

5. To query Hadoop configuration alternatives
$ sudo update-alternatives --display hadoop-0.20-conf 

6. When running a test from eclipse, add the "-conf <path to conf dir>" option.
7. Run an example (hadoop must be installed locally)
    @$ hadoop jar /usr/lib/hadoop/hadoop-*-examples.jar pi 10 100000000@
    Follow the progress of the example on the console, on the cluster's "MapReduce administration page":http://[namenode]:50030/ or using the Job Browser provided by "Hue":http://[namenode]:8088/
저작자 표시 비영리 변경 금지
http://dylankernel.tistory.com/17

Exception in thread "main" java.lang.NoClassDefFoundError: ...
이 발생하는 경우 HADOOP_CLASSPATH에 해당 jar가 설정되었는지 확인
테스트 후 실행시마다 필요하다면 hadoop_env.sh에 추가할 것

카테고리

JH & HJ (434)
Travel (102)
idea (0)
Lecture (2)
Life (132)
Programming (189)
career (0)

달력

«   2012/05   »
    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