MapReducer清洗实操JSON格式转字符串
需求源数据{“date”:“2020-02-03”.“city”:“beijing”}目标数据2020/02/03,beijingMapper部分package weatherdata3;import net.sf.json.JSONObject;import org.apache.hadoop.io.LongWritable;import org.apache.hadoop.io.NullWritable;import org.apache.hadoop.io.Text;i