2012-08-17 7 views

답변

0

또한 설정 구성에 지역은 JobTracker의 JVM에 dev에 테스트를 실행할 수 있습니다 :

Configuration conf = new Configuration(); 
conf.set("fs.default.name", "file:///"); 
conf.set("mapred.job.tracker", "local"); 

Path input = new Path(getClass().getResource("/") + "testfile"); 
Path output = new Path(getClass().getResource("/") + "testfile_output"); 

당신은 책 "Hadoop Definitive Guide"의 제 5 장

을 참조 할 수 있습니다
관련 문제