How can curl command through error for second time by naming wikipedia DataSource already exists

Hi Team,

I am new to druid,

I am ingesting simple json batch data to druid using quick-start examples.

below is json schema

[root@devupgnew4 examples]# cat wikipedia1-index.json

{

“type” : “index”,

“spec” : {

“dataSchema” : {

“dataSource” : “wikipedia2”,

“parser” : {

“type” : “string”,

“parseSpec” : {

“format” : “json”,

“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” }

]

},

“timestampSpec”: {

“column”: “time”,

“format”: “iso”

}

}

},

“metricsSpec” :

},

“ioConfig” : {

“type” : “index”,

“firehose” : {

“type” : “local”,

“baseDir” : “/tmp/examples”,

“filter” : “wikiticker-2015-09-12-sampled.json.gz”

},

“appendToExisting” : false

}

}

}

i am using below command curl --negotiate -u:druid -X ‘POST’ -H ‘Content-Type:application/json’ -d @wikipedia1-index.json http://devupgnew4.azure.ril.com:8090/druid/indexer/v1/task

If i run the same curl command it creates one more folder in wikipedia2 one folder 2019-01-31T13_11_54.972Z other second folder 2019-01-31T13_11_54.972Z

how can curl command through an error for second time by naming wikipedia2 Data Sources are already exits ,

Which property we need add for this.

Thanks and Regards

MD Layeeq