Este contenido no está disponible en el idioma seleccionado.
27.3. Using the Hadoop Connector
InfinispanInputFormat and InfinispanOutputFormat
			In Hadoop, the InputFormat interface indicates how a specific data source is partitioned, along with how to read data from each of the partitions, while the OutputFormat interface specifies how to write data.
		
InpoutFormat interface: 
		- List<InputSplit> getSplits(JobContext context); - List<InputSplit> getSplits(JobContext context);- Copy to Clipboard Copied! - Toggle word wrap Toggle overflow 
- RecordReader<K,V> createRecordReader(InputSplit split,TaskAttemptContext context); - RecordReader<K,V> createRecordReader(InputSplit split,TaskAttemptContext context);- Copy to Clipboard Copied! - Toggle word wrap Toggle overflow 
getSplits method defines a data partitioner, returning one or more InputSplit instances that contain information regarding a certain section of the data. The InputSplit can then be used to obtain a RecordReader which will be used to iterate over the resulting dataset. These two operations allow for parallelization of data processing across multiple nodes, resulting in Hadoop's high throughput over large datasets.
	Example of configuring a Map Reduce job targeting a JBoss Data Grid cluster:
InfinispanInputFormat and InfinispanOutputFormat classes: