druid
druid copied to clipboard
druid index on dataproc fail by interval.json file not exists
My yarn runs on dataproc,and storage by gcs. When I post an index task, The log shows the mapreduce job completed,but hash fail,it says the
Path[var/druid/hadoop-tmp/cm_client_behavior/2019-12-16T104735.560Z_00c53a90fdb54ae2b6315981f4afd9fd/intervals.json] didn't exist
But the file is generated by druid,not me.so why?

The index task config
{
"type": "index_hadoop",
"spec": {
"dataSchema": {
"dataSource": "cm-client-behavior",
"parser": {
"type": "hadoopyString",
"parseSpec": {
"format": "json",
"dimensionsSpec": {
"dimensions": [
"device_id",
"os",
"country",
"device_model",
"sys_lang",
"network_type",
"sys_version",
"app_version",
"behavior_id",
"behavior_desc"
]
},
"timestampSpec": {
"column": "proc_time"
}
}
},
"granularitySpec": {
"type": "uniform",
"segmentGranularity": "day",
"rollup": true,
"queryGranularity": "none"
},
"metricsSpec": [
{"type" : "count","name":"count"}
]
},
"ioConfig": {
"type": "hadoop",
"inputSpec": {
"type":"static",
"paths": "gs://xxxxxxx/cm/dw/dws/client_behavior/proc_date=20191215/*"
},
"appendToExisting": false
},
"tuningConfig": {
"type" : "hadoop",
"partitionsSpec" : {
"type" : "hashed",
"targetPartitionSize" : 5000000
},
"forceExtendableShardSpecs" : true,
"jobProperties" : {
}
}
}
}
What is the solution?Facing the same issue