Comments (3)
@vilterpanitz Do you have a full call stack and repro?
from kafka-connect-spooldir.
I think I am having the same issue:
[2018-10-16 23:40:01,168] INFO Opening /var/ciscocmr_input/cmr_C33-EU-CL1_02_201808080305_365490.csv (com.github.jcustenborder.kafka.connect.spooldir.SpoolDirSourceTask:257)
[2018-10-16 23:40:01,169] INFO configure() - field names from header row. fields = cdrRecordType, globalCallID_callManagerId, globalCallID_callId, nodeId, directoryNum, callIdentifier, dateTimeStamp, numberPacketsSent, numberOctetsSent, numberPacketsReceived, numberOctetsReceived, numberPacketsLost, jitter, latency, pkid, directoryNumPartition, globalCallId_ClusterID, deviceName, varVQMetrics, duration, videoContentType, videoDuration, numberVideoPacketsSent, numberVideoOctetsSent, numberVideoPacketsReceived, numberVideoOctetsReceived, numberVideoPacketsLost, videoAverageJitter, videoRoundTripTime, videoOneWayDelay, videoReceptionMetrics, videoTransmissionMetrics, videoContentType_channel2, videoDuration_channel2, numberVideoPacketsSent_channel2, numberVideoOctetsSent_channel2, numberVideoPacketsReceived_channel2, numberVideoOctetsReceived_channel2, numberVideoPacketsLost_channel2, videoAverageJitter_channel2, videoRoundTripTime_channel2, videoOneWayDelay_channel2, videoReceptionMetrics_channel2, videoTransmissionMetrics_channel2 (com.github.jcustenborder.kafka.connect.spooldir.SpoolDirSourceTask:60)
[2018-10-16 23:40:01,171] ERROR Exception encountered processing line 2 of /var/ciscocmr_input/cmr_C33-EU-CL1_02_201808080305_365490.csv. (com.github.jcustenborder.kafka.connect.spooldir.SpoolDirSourceTask:290)
org.apache.kafka.connect.errors.DataException: Exception thrown while parsing data for 'videoDuration'. linenumber=2
at com.github.jcustenborder.kafka.connect.spooldir.SpoolDirCsvSourceTask.process(SpoolDirCsvSourceTask.java:126)
at com.github.jcustenborder.kafka.connect.spooldir.SpoolDirSourceTask.read(SpoolDirSourceTask.java:286)
at com.github.jcustenborder.kafka.connect.spooldir.SpoolDirSourceTask.poll(SpoolDirSourceTask.java:165)
at org.apache.kafka.connect.runtime.WorkerSourceTask.poll(WorkerSourceTask.java:244)
at org.apache.kafka.connect.runtime.WorkerSourceTask.execute(WorkerSourceTask.java:220)
at org.apache.kafka.connect.runtime.WorkerTask.doRun(WorkerTask.java:175)
at org.apache.kafka.connect.runtime.WorkerTask.run(WorkerTask.java:219)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.kafka.connect.errors.DataException: Could not parse '' to 'Long'
at com.github.jcustenborder.kafka.connect.utils.data.Parser.parseString(Parser.java:113)
at com.github.jcustenborder.kafka.connect.spooldir.SpoolDirCsvSourceTask.process(SpoolDirCsvSourceTask.java:118)
... 11 more
Caused by: java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Long.parseLong(Long.java:601)
at java.lang.Long.parseLong(Long.java:631)
at com.github.jcustenborder.kafka.connect.utils.data.type.Int64TypeParser.parseString(Int64TypeParser.java:24)
at com.github.jcustenborder.kafka.connect.utils.data.Parser.parseString(Parser.java:109)
... 12 more
[2018-10-16 23:40:01,176] INFO Closing /var/ciscocmr_input/cmr_C33-EU-CL1_02_201808080305_365490.csv (com.github.jcustenborder.kafka.connect.spooldir.SpoolDirSourceTask:191)
[2018-10-16 23:40:01,176] ERROR Error during processing, moving /var/ciscocmr_input/cmr_C33-EU-CL1_02_201808080305_365490.csv to /var/ciscocmr_error. (com.github.jcustenborder.kafka.connect.spooldir.SpoolDirSourceTask:199)
Is there any fix for this?
Thanks
from kafka-connect-spooldir.
@vilterpanitz @eksantrik Have you all tried setting csv.null.field.indicator to BOTH
or EMPTY_QUOTES
from kafka-connect-spooldir.
Related Issues (20)
- Unable to write JSON schemaless events HOT 3
- NPE trying to determine field names with a blank file
- CSV connector's task hanged in infinite loop after meeting record it can't process HOT 1
- Incorrect skipping of records when reprocessing file HOT 2
- CsvSpoolDir error out HOT 1
- How to retrieve header infos in a Stream with KSQLDB? HOT 2
- CSV files' name problem
- java.lang.NoSuchMethodError: 'void com.google.common.base.Preconditions.checkStat
- While fetching JSON data , shows integer value to null HOT 2
- Question Is it possible to create an SMT that will indicate the number of records in the file
- Could not parse <field> to 'Date' HOT 4
- Continious logs coming in kafka connect logs HOT 3
- schema.generation.value.name - not taking effect in the schema registry
- NPE when specifying timestamp.field on a autogenerated schema
- InputFile split on non-regexable Windows File.Seperator
- Relative file path is not retrieved properly HOT 2
- Date Time Parse Error... HOT 1
- Format for defining arrays in schema
- SpoolDirLineDelimitedSourceConnector cleanup policy HOT 1
- Fix misleading messages logged by SpoolDirLineDelimitedSourceConnector HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kafka-connect-spooldir.