<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 500 </title>
</head>
<body>
<h2>HTTP ERROR: 500</h2>
<p>Problem accessing /druid/indexer/v1/task. Reason:
<pre> javax.servlet.ServletException: com.fasterxml.jackson.databind.JsonMappingException: Instantiation of [simple type, class io.druid.data.input.impl.CSVParseSpec] value failed: columns</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>
</body>
</html>
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/39bc5908-276a-4ab1-b8a8-eeb27d973393%40googlegroups.com.--
You received this message because you are subscribed to the Google Groups "Druid User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-user+...@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
<p>Problem accessing /druid/indexer/v1/task. Reason:
<pre> javax.servlet.ServletException: com.fasterxml.jackson.databind.JsonMappingException: Instantiation of [simple type, class io.druid.data.input.impl.StringInputRowParser] value failed: null</pre></p>
Null timestamp in input: {app_id=app_a,2013-08-31T01:02:33Z,A,1,2,1}
Caused by: java.lang.NullPointerException: Null timestamp in input: {app_id=app_a,2013-08-31T01:02:33Z,A,1,2,1} at io.druid.data.input.impl.MapInputRowParser.parse(MapInputRowParser.java:46) ~[druid-api-0.3.4.jar:0.3.4] ... 11 more 2015-03-18T18:03:41,860 INFO [task-runner-0] io.druid.indexing.worker.executor.ExecutorLifecycle - Task completed with status: { "id" : "index_AppInfo_2015-03-18T18:03:32.070Z", "status" : "FAILED", "duration" : 62 }Thanks,Ranjit
Caused by: java.lang.IllegalArgumentException: Invalid format: "2015-08-31T01:02:33Z,"app_a"" is malformed at ","app_a"" at org.joda.time.format.DateTimeParserBucket.doParseMillis(DateTimeParserBucket.java:187) ~[joda-time-2.6.jar:2.6]
CSV
====
2015-08-31T01:02:33Z,"app_a"
Spec
===
{ "type": "index", "spec": { "dataSchema": { "dataSource": "AppInfo", "parser": { "parseSpec": { "type":"csv", "timestampSpec": { "column": "time" }, "dimensionsSpec": { "dimensions": [ "app_id" ], "dimensionExclusions": [], "spatialDimensions": [] }, "columns" : ["time","app_id"] } }, "metricsSpec": [ { "type": "count", "name": "count" } ], "granularitySpec": { "type": "uniform", "segmentGranularity": "DAY", "queryGranularity": "NONE", "intervals": ["2010-01-01/2015-03-15"] } }, "ioConfig": { "type": "index", "firehose": { "type": "local", "baseDir": "datamart/", "filter": "appinfo.csv" } }, "tuningConfig": { "type": "index", "targetPartitionSize": 0, "rowFlushBoundary": 0 } } }
"2015-08-31T01:02:33Z,"app_a" is missing a "
--
You received this message because you are subscribed to the Google Groups "Druid User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-user+...@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/70d78856-f81e-41dc-86b3-32717a9f9a41%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/10e602a9-3c6f-463c-b0d6-d2c937495f32%40googlegroups.com.
com.metamx.common.parsers.ParseException: Unparseable timestamp found! at io.druid.data.input.impl.MapInputRowParser.parse(MapInputRowParser.java:55) ~[druid-api-0.3.4.jar:0.3.4] at io.druid.data.input.impl.StringInputRowParser.parseMap(StringInputRowParser.java:96) ~[druid-api-0.3.4.jar:0.3.4] at io.druid.data.input.impl.StringInputRowParser.parse(StringInputRowParser.java:91) ~[druid-api-0.3.4.jar:0.3.4] at io.druid.data.input.impl.FileIteratingFirehose.nextRow(FileIteratingFirehose.java:54) ~[druid-api-0.3.4.jar:0.3.4] at io.druid.indexing.common.task.IndexTask.getDataIntervals(IndexTask.java:207) ~[druid-indexing-service-0.7.0.jar:0.7.0] at io.druid.indexing.common.task.IndexTask.run(IndexTask.java:164) ~[druid-indexing-service-0.7.0.jar:0.7.0] at io.druid.indexing.overlord.ThreadPoolTaskRunner$ThreadPoolTaskRunnerCallable.call(ThreadPoolTaskRunner.java:235) [druid-indexing-service-0.7.0.jar:0.7.0] at io.druid.indexing.overlord.ThreadPoolTaskRunner$ThreadPoolTaskRunnerCallable.call(ThreadPoolTaskRunner.java:214) [druid-indexing-service-0.7.0.jar:0.7.0] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_31] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_31] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_31] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_31] Caused by: java.lang.IllegalArgumentException: Invalid format: "2015-08-31T01:02:33Z,"app_a"" is malformed at ","app_a"" at org.joda.time.format.DateTimeParserBucket.doParseMillis(DateTimeParserBucket.java:187) ~[joda-time-2.6.jar:2.6] at org.joda.time.format.DateTimeFormatter.parseMillis(DateTimeFormatter.java:780) ~[joda-time-2.6.jar:2.6] at org.joda.time.convert.StringConverter.getInstantMillis(StringConverter.java:65) ~[joda-time-2.6.jar:2.6] at org.joda.time.base.BaseDateTime.<init>(BaseDateTime.java:175) ~[joda-time-2.6.jar:2.6] at org.joda.time.DateTime.<init>(DateTime.java:257) ~[joda-time-2.6.jar:2.6] at com.metamx.common.parsers.TimestampParser$1.apply(TimestampParser.java:46) ~[java-util-0.26.14.jar:?] at com.metamx.common.parsers.TimestampParser$1.apply(TimestampParser.java:38) ~[java-util-0.26.14.jar:?] at io.druid.data.input.impl.TimestampSpec.extractTimestamp(TimestampSpec.java:51) ~[druid-api-0.3.4.jar:0.3.4] at io.druid.data.input.impl.MapInputRowParser.parse(MapInputRowParser.java:43) ~[druid-api-0.3.4.jar:0.3.4] ... 11 more 2015-03-18T21:39:00,645 INFO [task-runner-0] io.druid.indexing.worker.executor.ExecutorLifecycle - Task completed with status: { "id" : "index_AppInfo_2015-03-18T21:38:51.001Z", "status" : "FAILED", "duration" : 62
--
You received this message because you are subscribed to the Google Groups "Druid User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-user+...@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/dbf4ccc4-6edf-4419-8448-6a180893223d%40googlegroups.com.
I think I got confused because the 'CSVParser' section in this doc http://druid.io/docs/latest/Ingestion.html mentions 'type'. Not sure if I interpreted this incorrectly or if the doc needs to be updated..
--
You received this message because you are subscribed to the Google Groups "Druid User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-user+...@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/70636fd8-1d45-4541-a021-785d65532c4b%40googlegroups.com.
I only ran the Indexer. The Middle Manager and Peons were not running during this time. Do they need to be explicitly started?
--
You received this message because you are subscribed to the Google Groups "Druid User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-user+...@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/a5ba091d-0469-4d81-a6ff-7b3815d895a9%40googlegroups.com.