수요: 정해진 날짜의 최고 온도를 구합니다
보류 중인 데이터 내용:
201701082.6
201701066
2017020810
2017030816.33
2017060833.0
행당 상위 8위는 날짜, 8위에서 뒤로 온도
코드
import java.io.IOException;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.mapreduce.Mapper;
import org.apache.hadoop.mapreduce.Reducer;
import org.apache.hadoop.mapreduce.lib.input.FileInputFormat;
import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat;
/**
*
* @author lyd
*
* :
*
* 201701082.6
* 201701066
* 2017020810
* 2017030816.33
* 2017060833.0
* 2017050126.6
* 2017050320.9
*
*/
public class HighTem {
public static class MyMapper extends Mapper
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
Java 함수 프로그래밍(7): MapReduce
예를 들어 우리는 모든 이름을 두루 훑어보고 가장 긴 이름을 출력한다.만약 가장 긴 이름이 여러 개 있다면, 우리는 처음에 찾은 것을 인쇄해 낼 것이다.한 가지 방법은 우리가 가장 큰 길이를 계산한 후에 이 길이에 ...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.