Package co.gridport.kafka.hadoop

Examples of co.gridport.kafka.hadoop.HadoopJobMapper


        private HadoopJobMapper mapper;
        private Configuration conf;

        public MockMapTask(InputSplit split, Configuration conf) throws IOException, InterruptedException
        {
            this.mapper = new HadoopJobMapper();
            this.conf = conf;
            this.split = (KafkaInputSplit) split;
            info = this.split.getTopic() + "/"  + this.split.getBrokerHost() +":" + this.split.getPartition();
            realRecordReader = new KafkaInputRecordReader();
            realRecordReader.initialize(split, conf);
View Full Code Here

TOP

Related Classes of co.gridport.kafka.hadoop.HadoopJobMapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.