public void reduce(Text key, Iterable<Text> values, Context context) throws IOException, InterruptedException {
            if (!se.equals(key.toString().split("--##")[0])) {
                se = key.toString().split("--##")[0];
                num = 0;
            }
            for (Text val : values) {
                num += 1;
                String[] valuelist = val.toString().split(Constant.MR_SEPARATION);
                if (valuelist.length < 22) {
                    //key.set(key.toString() + "--##error");
                    key.set("--##error");
                    context.write(key, val);
                    continue;
                }
                String re = "";
                //key.set(key.toString() + "--##" + valuelist[0]);
                valuelist[7] = "" + num;
                key.set(valuelist[0]);
                for (int i = 1; i < valuelist.length; i++) {
                    if (valuelist[i] == null || valuelist[i].isEmpty()) {
                        valuelist[i] = "-";
                    }
                    re += valuelist[i] + "\t";
                }
                val.set(re);

                context.write(key, val);
            }
        }