Here is my question.I have many txt files whose name are like
with the content like
.
The txt files were generated by some sensors every 6 senconds, so the name of them are YYYYMMDDHHIISS.txt. In the file "004A01;0.02;0" means the sensor "004A01" and its real-time value and state.
Now,I want to realize the classification by using MapReduce. The output of the Mapreduce will be like
,with the content
.
In other words, through Mapreduce, the name of the output file will be the name of each sensor, and the content of the output file will be "time;value;state".
How should I do this with Mapreduce?
Comments
Post a Comment