You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2020/04/22 17:58:21 UTC
[GitHub] [druid] BigDataArtist commented on issue #6919: how to load data from s3 if i dont deploy a cluster
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org