SEARCH
TOOLBOX
LANGUAGES
EMR

EMR

From Chaehyun

(Difference between revisions)
Jump to: navigation, search
Xlos (Talk | contribs)
(Created page with "== EMR 에서 외부 lib jar 사용하기 == * download.sh 파일 생성 <pre> #!/bin/bash set -e bucket=chaehyuntest path=mahout.jar wget -S -T 10 -t 5 http://$bucket.s3.amazona...")

Latest revision as of 15:37, 19 April 2012

EMR 에서 외부 lib jar 사용하기

  • download.sh 파일 생성
#!/bin/bash
set -e
bucket=chaehyuntest
path=mahout.jar
wget -S -T 10 -t 5 http://$bucket.s3.amazonaws.com/$path
mkdir -p /home/hadoop/lib
cp $path /home/hadoop/lib/$path
export HADOOP_CLASSPATH=/home/hadoop/lib/$path
  • s3://chaehyuntest/download.sh 로 업로드
  • boot strapping action 지정
Retrieved from "http://chaehyun.kr/w/EMR"