Buggy code:
public class AffinityMatrixInputMapper extends Mapper < LongWritable , Text , IntWritable , DistributedRowMatrix . MatrixEntryWritable > { private static final Logger log = LoggerFactory . getLogger ( AffinityMatrixInputMapper . class ) ; private static final Pattern COMMA_PATTERN = Pattern . compile ( "," ) ; @ Override protected void map ( LongWritable key , Text value , Context context ) throws IOException , InterruptedException { String [ ] elements = AffinityMatrixInputMapper . COMMA_PATTERN . split ( value . toString ( ) ) ; AffinityMatrixInputMapper . log . debug ( "(DEBUG<seq2seq4repair_space>-<seq2seq4repair_space>MAP)<seq2seq4repair_space>Key[{}],<seq2seq4repair_space>Value[{}]" , key . get ( ) , value ) ; if ( ( elements . length ) != 3 ) { <START_BUG> throw new IOException ( ( ( ( "Expected<seq2seq4repair_space>input<seq2seq4repair_space>of<seq2seq4repair_space>length<seq2seq4repair_space>3,<seq2seq4repair_space>received<seq2seq4repair_space>" + ( elements . length ) ) + ".<seq2seq4repair_space>Please<seq2seq4repair_space>make<seq2seq4repair_space>sure<seq2seq4repair_space>you<seq2seq4repair_space>adhere<seq2seq4repair_space>to<seq2seq4repair_space>" ) + "the<seq2seq4repair_space>structure<seq2seq4repair_space>of<seq2seq4repair_space>(i,j,value)<seq2seq4repair_space>for<seq2seq4repair_space>representing<seq2seq4repair_space>a<seq2seq4repair_space>graph<seq2seq4repair_space>in<seq2seq4repair_space>text." ) ) ; <END_BUG> } else if ( ( ( ( elements [ 0 ] . length ( ) ) == 0 ) || ( ( elements [ 1 ] . length ( ) ) == 0 ) ) || ( ( elements [ 2 ] . length ( ) ) == 0 ) ) { throw new IOException ( ( "Found<seq2seq4repair_space>an<seq2seq4repair_space>element<seq2seq4repair_space>of<seq2seq4repair_space>0<seq2seq4repair_space>length.<seq2seq4repair_space>Please<seq2seq4repair_space>be<seq2seq4repair_space>sure<seq2seq4repair_space>you<seq2seq4repair_space>adhere<seq2seq4repair_space>to<seq2seq4repair_space>the<seq2seq4repair_space>structure<seq2seq4repair_space>of<seq2seq4repair_space>" + "(i,j,value)<seq2seq4repair_space>for<seq2seq4repair_space>representing<seq2seq4repair_space>a<seq2seq4repair_space>graph<seq2seq4repair_space>in<seq2seq4repair_space>text." ) ) ; } DistributedRowMatrix . MatrixEntryWritable toAdd = new DistributedRowMatrix . MatrixEntryWritable ( ) ; IntWritable row = new IntWritable ( Integer . valueOf ( elements [ 0 ] ) ) ; toAdd . setRow ( ( - 1 ) ) ; toAdd . setCol ( Integer . valueOf ( elements [ 1 ] ) ) ; toAdd . setVal ( Double . valueOf ( elements [ 2 ] ) ) ; context . write ( row , toAdd ) ; } }

Fix:
throw new IOException ( ( ( ( ( ( "Expected<seq2seq4repair_space>input<seq2seq4repair_space>of<seq2seq4repair_space>length<seq2seq4repair_space>3,<seq2seq4repair_space>received<seq2seq4repair_space>" + ( elements . length ) ) + ".<seq2seq4repair_space>Please<seq2seq4repair_space>make<seq2seq4repair_space>sure<seq2seq4repair_space>you<seq2seq4repair_space>adhere<seq2seq4repair_space>to<seq2seq4repair_space>" ) + "the<seq2seq4repair_space>structure<seq2seq4repair_space>of<seq2seq4repair_space>(i,j,value)<seq2seq4repair_space>for<seq2seq4repair_space>representing<seq2seq4repair_space>a<seq2seq4repair_space>graph<seq2seq4repair_space>in<seq2seq4repair_space>text.<seq2seq4repair_space>Input<seq2seq4repair_space>line<seq2seq4repair_space>was:<seq2seq4repair_space>'" ) + value ) + "'." ) ) ;