vogievetsky commented on issue #7840: not able to insert records
URL: 
https://github.com/apache/incubator-druid/issues/7840#issuecomment-500185888
 
 
   May I ask how you wrote that ingestion spec that you posted?
   I can reproduce your issue and it seems to be because you are setting whacky 
stuff in the `tuningConfig`
   
   `targetPartitionSize` and `rowFlushBoundary` are related to hadoop ingestion 
if I am not mistaken, in any case they are not even listed in the [native index 
docs](http://druid.io/docs/latest/ingestion/native_tasks.html)
   
   I modified your spec to the one below by simply removing everything from the 
`tuningConfig` and it seems to work:
   
   
![image](https://user-images.githubusercontent.com/177816/59155322-a821c600-8a3b-11e9-9feb-dc42a5cc16d6.png)
   
   Here is your spec with out the stuff in the  `tuningConfig`:
   
   ```
   {
     "type": "index",
     "spec": {
       "dataSchema": {
         "dataSource": "pageviews",
         "parser": {
           "type": "string",
           "parseSpec": {
             "format": "json",
             "timestampSpec": {
               "column": "timestamp",
               "format": "auto"
             },
             "dimensionsSpec": {
               "dimensions": [],
               "dimensionExclusions": [
                 "eventId",
                 "userId",
                 "url"
               ],
               "spatialDimensions": []
             }
           }
         },
         "metricsSpec": [
           {
             "type": "count",
             "name": "count"
           }
         ],
         "granularitySpec": {
           "type": "uniform",
           "segmentGranularity": "DAY",
           "queryGranularity": "HOUR",
           "intervals": [
             "2015-03-01/2015-04-01"
           ]
         }
       },
       "ioConfig": {
         "type": "index",
         "firehose": {
           "type": "local",
           "baseDir": "/Users/vadim/Downloads/",
           "filter": "events.json"
         }
       },
       "tuningConfig": {
         "type": "index"
       }
     }
   }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to