BigDataArtist commented on issue #6919:
URL: https://github.com/apache/druid/issues/6919#issuecomment-617936482


   Hi, My ingestion task says success when I import data from S3 to druid but 
then the druid never makes its data source , I am submitting the spec thru 
command line.
   
   #Command
   bin/post-index-task --file quickstart/tutorial/wikipedia-index-s3.json --url 
http://localhost:8081
   
   My SPEC
   
   {
     "type" : "index_parallel",
     "spec" : {
       "dataSchema" : {
         "dataSource" : "wikipediaTest",
         "timestampSpec": {
           "column": "time",
           "format": "iso"
         },
         "dimensionsSpec" : {
           "dimensions" : [
             "channel",
             "cityName",
             "comment",
             "countryIsoCode",
             "countryName",
             "isAnonymous",
             "isMinor",
             "isNew",
             "isRobot",
             "isUnpatrolled",
             "metroCode",
             "namespace",
             "page",
             "regionIsoCode",
             "regionName",
             "user",
             { "name": "added", "type": "long" },
             { "name": "deleted", "type": "long" },
             { "name": "delta", "type": "long" }
           ]
         },
         "metricsSpec" : [],
         "granularitySpec" : {
           "type" : "uniform",
           "segmentGranularity" : "day",
           "queryGranularity" : "none",
           "intervals" : ["2015-09-12/2015-09-13"],
           "rollup" : false
         }
       },
       "ioConfig" : {
         "type" : "index_parallel",
         "inputSource" : {
           "type" : "s3",
           "prefixes": 
["s3://druids3migration/druid/segments/wikiticker-2015-09-12-sampled2.json"]
    },
         "inputFormat" : {
           "type" : "json"
         },
         "appendToExisting" : false
       },
       "tuningConfig" : {
         "type" : "index_parallel",
         "maxRowsPerSegment" : 5000000,
         "maxRowsInMemory" : 25000
       }
     }
   }


----------------------------------------------------------------
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org
For additional commands, e-mail: commits-h...@druid.apache.org

Reply via email to