public void setup(Context context) throws IOException, InterruptedException { ipParser = new IpParser(); channelIdInfo = new ChannelIdInfo(); try { ipParser.init("ip_table"); channelIdInfo.init("dm_client_channel_dimension"); qudaoIdMap = channelIdInfo.getChannelIdMap(); Configuration conf = context.getConfiguration(); dateId = conf.get("stat_date"); } catch (IOException e) { e.printStackTrace(); System.exit(0); } }