shubham pathak created APEXMALHAR-2057:
------------------------------------------

             Summary: CSVParser fails continuously when invalid record is passed
                 Key: APEXMALHAR-2057
                 URL: https://issues.apache.org/jira/browse/APEXMALHAR-2057
             Project: Apache Apex Malhar
          Issue Type: Bug
            Reporter: shubham pathak
            Assignee: shubham pathak


CSVParser fails with error as:
2016-04-15 02:24:04,799 ERROR com.datatorrent.stram.engine.StreamingContainer: 
Operator set 
[OperatorDeployInfo[id=2,name=CSVParser,type=GENERIC,checkpoint={5710aec2000001df,
 0, 0},inputs=[OperatorDeployInfo.InputDeployInfo[portName=in,streamId=Kafka To 
Parser,sourceNodeId=1,sourcePortName=outputPort,locality=<null>,partitionMask=0,partitionKeys=<null>]],outputs=[OperatorDeployInfo.OutputDeployInfo[portName=out,streamId=Parser
 to Dedup,bufferServer=node37.morado.com]]]] stopped running due to an 
exception.
java.lang.IllegalArgumentException: the nameMapping array and the number of 
columns read should be the same size (nameMapping length = 10, columns = 9)
        at org.supercsv.io.CsvBeanReader.readIntoBean(CsvBeanReader.java:251)
        at org.supercsv.io.CsvBeanReader.read(CsvBeanReader.java:190)
        at 
com.datatorrent.contrib.parser.CsvParser.processTuple(CsvParser.java:180)
        at 
com.datatorrent.contrib.parser.CsvParser.processTuple(CsvParser.java:74)
        at com.datatorrent.lib.parser.Parser$2.process(Parser.java:76)
        at com.datatorrent.api.DefaultInputPort.put(DefaultInputPort.java:79)
        at 
com.datatorrent.stram.stream.BufferServerSubscriber$BufferReservoir.sweep(BufferServerSubscriber.java:280)
        at com.datatorrent.stram.engine.GenericNode.run(GenericNode.java:259)
        at 
com.datatorrent.stram.engine.StreamingContainer$2.run(StreamingContainer.java:1388)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to