MATLAB map 함수와 reduce 함수를 Hadoop MapReduce 작업에 통합
MATLAB map 함수와 reduce 함수를 Hadoop mapreduce 작업에 통합하려면, map 함수와 reduce 함수로부터 배포 가능한 아카이브를 만들고 이 아카이브를 Hadoop 클러스터에 제출되는 작업에 페이로드 인수로 전달합니다. 배포 가능한 아카이브에는 다음이 포함됩니다.
MATLAB에서 작성된 mapper 함수.
MATLAB에서 작성된 reducer 함수.
분석할 데이터와 변수의 구조를 설명하는 데이터저장소가 포함되어 있는 MAT 파일.
map 함수와 reduce 함수를 식별하는 Hadoop 설정 파일, 분석 대상인 데이터형, 기타 구성 세부 정보.
자세한 내용은 Workflow to Incorporate MATLAB Map and Reduce Functions into a Hadoop Job 항목을 참조하십시오.
함수
deploytool | 애플리케이션 배포 앱의 목록 열기 |
mcc | Compile MATLAB functions for deployment |
도움말 항목
- Workflow to Incorporate MATLAB Map and Reduce Functions into a Hadoop Job
Review workflow on how to create a deployable archive of MATLAB map and reduce functions and incorporate it into a Hadoop mapreduce job.
- Include MATLAB Map and Reduce Functions into Hadoop Job
Try an example on creating a deployable archive of MATLAB map and reduce functions, and incorporate it into a Hadoop mapreduce job.
- Configuration File for Creating Deployable Archive Using the mcc Command
Create a required configuration file that represents the characteristics of the payload to the Hadoop mapreduce job.