com.metamx.common.parsers.ParseException: Unparseable timestamp found! at io.druid.data.input.impl.MapInputRowParser.parse(MapInputRowParser.java:76) at io.druid.data.input.impl.StringInputRowParser.parseMap(StringInputRowParser.java:124) at io.druid.data.input.impl.StringInputRowParser.parse(StringInputRowParser.java:119) at io.druid.data.input.impl.FileIteratingFirehose.nextRow(FileIteratingFirehose.java:54) at io.druid.indexing.common.task.IndexTask.getDataIntervals(IndexTask.java:220) at io.druid.indexing.common.task.IndexTask.run(IndexTask.java:177) at io.druid.indexing.overlord.ThreadPoolTaskRunner$ThreadPoolTaskRunnerCallable.call(ThreadPoolTaskRunner.java:219) at io.druid.indexing.overlord.ThreadPoolTaskRunner$ThreadPoolTaskRunnerCallable.call(ThreadPoolTaskRunner.java:198)
What ever I do I am always seeing this error and also even if I specify csv it is reporting as tsv, I am about to give up on Druid.
"format" : "tsv", "timestampSpec" : { "column" : "createddate", "format" : "auto"Thanks for any helpKasi
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-development/b1d1f38c-c073-460e-b4f5-4e180e3a6d99%40googlegroups.com.--
You received this message because you are subscribed to the Google Groups "Druid Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-developm...@googlegroups.com.
To post to this group, send email to druid-de...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-development+unsubscribe@googlegroups.com.
To post to this group, send email to druid-development@googlegroups.com.
"data": { "type": "csv",
to
"data": { "format": "csv",
To unsubscribe from this group and stop receiving emails from it, send an email to druid-developm...@googlegroups.com.
To post to this group, send email to druid-de...@googlegroups.com.
}, "dataSource" : "orderepa", "groupId" : "index_orderepa_2014-12-09T23:42:23.359Z", "interval" : "2014-08-01T00:00:00.000Z/2014-09-30T00:00:00.000Z", "resource" : { "availabilityGroup" : "index_orderepa_2014-12-09T23:42:23.359Z", "requiredCapacity" : 1 } } 2014-12-09 23:42:28,728 INFO [main] io.druid.indexing.common.actions.RemoteTaskActionClient - Performing action for task[index_orderepa_2014-12-09T23:42:23.359Z]: LockTryAcquireAction{interval=2014-08-01T00:00:00.000Z/2014-09-30T00:00:00.000Z} 2014-12-09 23:42:28,736 INFO [main] io.druid.indexing.common.actions.RemoteTaskActionClient - Submitting action for task[index_orderepa_2014-12-09T23:42:23.359Z] to overlord[http://localhost:8087/druid/indexer/v1/action]: LockTryAcquireAction{interval=2014-08-01T00:00:00.000Z/2014-09-30T00:00:00.000Z} 2014-12-09 23:42:28,749 INFO [main] com.metamx.http.client.pool.ChannelResourceFactory - Generating: http://localhost:8087 2014-12-09 23:42:28,782 INFO [main] com.metamx.http.client.pool.ChannelResourceFactory - Generating: http://localhost:8087 2014-12-09 23:42:28,783 INFO [main] com.metamx.http.client.pool.ChannelResourceFactory - Generating: http://localhost:8087 2014-12-09 23:42:28,783 INFO [main] com.metamx.http.client.pool.ChannelResourceFactory - Generating: http://localhost:8087 2014-12-09 23:42:28,783 INFO [main] com.metamx.http.client.pool.ChannelResourceFactory - Generating: http://localhost:8087 2014-12-09 23:42:28,834 INFO [task-runner-0] io.druid.indexing.overlord.ThreadPoolTaskRunner - Running task: index_orderepa_2014-12-09T23:42:23.359Z 2014-12-09 23:42:28,835 INFO [task-runner-0] io.druid.indexing.common.actions.RemoteTaskActionClient - Performing action for task[index_orderepa_2014-12-09T23:42:23.359Z]: LockListAction{} 2014-12-09 23:42:28,841 INFO [task-runner-0] io.druid.indexing.common.actions.RemoteTaskActionClient - Submitting action for task[index_orderepa_2014-12-09T23:42:23.359Z] to overlord[http://localhost:8087/druid/indexer/v1/action]: LockListAction{} 2014-12-09 23:42:28,862 ERROR [task-runner-0] io.druid.indexing.overlord.ThreadPoolTaskRunner - Exception while running task[IndexTask{id=index_orderepa_2014-12-09T23:42:23.359Z, type=index, dataSource=orderepa}] com.metamx.common.parsers.ParseException: Unparseable timestamp found! at io.druid.data.input.impl.MapInputRowParser.parse(MapInputRowParser.java:76) at io.druid.data.input.impl.StringInputRowParser.parseMap(StringInputRowParser.java:124) at io.druid.data.input.impl.StringInputRowParser.parse(StringInputRowParser.java:119) at io.druid.data.input.impl.FileIteratingFirehose.nextRow(FileIteratingFirehose.java:54) at io.druid.indexing.common.task.IndexTask.getDataIntervals(IndexTask.java:220) at io.druid.indexing.common.task.IndexTask.run(IndexTask.java:177) at io.druid.indexing.overlord.ThreadPoolTaskRunner$ThreadPoolTaskRunnerCallable.call(ThreadPoolTaskRunner.java:219) at io.druid.indexing.overlord.ThreadPoolTaskRunner$ThreadPoolTaskRunnerCallable.call(ThreadPoolTaskRunner.java:198) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException: Null timestamp in input: {takerorg=null} at io.druid.data.input.impl.MapInputRowParser.parse(MapInputRowParser.java:67) ... 11 more 2014-12-09 23:42:28,868 INFO [task-runner-0] io.druid.indexing.worker.executor.ExecutorLifecycle - Task completed with status: { "id" : "index_orderepa_2014-12-09T23:42:23.359Z", "status" : "FAILED", "duration" : 30
Config file:
{ "type" : "index", "dataSource" : "orderepa", "granularitySpec" : { "type" : "uniform", "gran" : "DAY", "intervals" : [ "2013-08-01/2013-09-30" ] }, "aggregators" : [{ "type" : "count", "name" : "NumOrders" }, { "type" : "doubleSum", "name" : "OrderDifficultyAvg", "fieldName" : "OrderDifficultyAvg" }, { "type" : "doubleSum", "name" : "Fill-Ratio", "fieldName" : "Fill-Ratio" }, { "type" : "doubleSum", "name" : "NoFill-Ratio", "fieldName" : "NoFill-Ratio" }, { "type" : "doubleSum", "name" : "VolFill-Ratio", "fieldName" : "VolFill-Ratio" }, { "type" : "doubleSum", "name" : "AVGFillRatio", "fieldName" : "AVGFillRatio" }, { "type" : "doubleSum", "name" : "OrderDurnAvg", "fieldName" : "OrderDurnAvg" }, { "type" : "doubleSum", "name" : "Num_SweepsAvg", "fieldName" : "Num_SweepsAvg" }, { "type" : "doubleSum", "name" : "OrderAmtUSDAvg", "fieldName" : "OrderAmtUSDAvg" }, { "type" : "doubleSum", "name" : "OrderAmtUSDSum", "fieldName" : "OrderAmtUSDSum" }, { "type" : "doubleSum", "name" : "PIPipAvg", "fieldName" : "PIPipAvg" }, { "type" : "doubleSum", "name" : "PIPipMed", "fieldName" : "PIPipMed" }, { "type" : "doubleSum", "name" : "TotalOrderDurationMax", "fieldName" : "TotalOrderDurationMax" }, { "type" : "doubleSum", "name" : "TotalTradeDurationMax", "fieldName" : "TotalTradeDurationMax" }, { "type" : "doubleSum", "name" : "NumSweepsMax", "fieldName" : "NumSweepsMax" }, { "type" : "doubleSum", "name" : "NumTrades", "fieldName" : "NumSweepsMax" }, { "type" : "doubleSum", "name" : "NumConfirmed", "fieldName" : "NumConfirmed" }, { "type" : "doubleSum", "name" : "NumRejected", "fieldName" : "NumRejected" }, { "type" : "doubleSum", "name" : "NumFailed", "fieldName" : "NumFailed" }, { "type" : "doubleSum", "name" : "FilledAmountUSDSum", "fieldName" : "FilledAmountUSDSum" }, { "type" : "doubleSum", "name" : "Confirmed-Ratio", "fieldName" : "Confirmed-Ratio" }, { "type" : "doubleSum", "name" : "Rejected-ratio", "fieldName" : "Rejected-ratio" }, { "type" : "doubleSum", "name" : "Failed-Ratio", "fieldName" : "Failed-Ratio" } ], "firehose" : { "type" : "local", "baseDir" : "examples/indexing/", "filter" : "testepa.csv", "parser" : { "timestampSpec" : { "column" : "createddate", "format": "yyyy-MM-dd" }, "data" : { "format" : "csv", "columns" : ["takerorg","ccypair","createddate","channel","ordertype","MarketShiftCode","TIF","NumOrders","OrderDifficultyAvg","Fill-Ratio","NoFill-Ratio","ParFill-Ratio","VolFill-Ratio","AVGFillRatio","OrderDurnAvg","Num_SweepsAvg","OrderAmtUSDAvg","OrderAmtUSDSum","PIPipAvg","PIPipMed","TotalOrderDurationMax","TotalTradeDurationMax","TotalTradeDurationavg","isOrginatingOrg","NumSweepsMax","NumTrades","NumConfirmed","NumRejected","NumFailed","FilledAmountUSDSum","Confirmed-Ratio","Rejected-ratio","Failed-Ratio"], "dimensions" : ["takerorg","ccypair","channel","ordertype","MarketShiftCode","TIF"] } } } }
Ping fj on irc
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-development/4dddadd8-a452-4a3b-86e7-0cca5e428a7c%40googlegroups.com.
Caused by: java.lang.IllegalArgumentException: Invalid format: "2014-09-02T00:00:00Z" is malformed at "T00:00:00Z" at org.joda.time.format.DateTimeFormatter.parseDateTime(DateTimeFormatter.java:866) at com.metamx.common.parsers.TimestampParser$6.apply(TimestampParser.java:88) at com.metamx.common.parsers.TimestampParser$6.apply(TimestampParser.java:83) at io.druid.data.input.impl.TimestampSpec.extractTimestamp(TimestampSpec.java:51) at io.druid.data.input.impl.MapInputRowParser.parse(MapInputRowParser.java:64)