SEARCH
TOOLBOX
LANGUAGES
EMR

EMR

From Chaehyun

Revision as of 15:37, 19 April 2012 by Xlos (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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"