我在本地从ML9升级到ML10后,尝试设置DHF 5.2.1。快速入门设置很顺利,我也创建了一个实体和流程。运行流程时,出现以下错误:
本地消息:无法在文档上应用资源。服务器消息:缺少指定的流GradeIngestionFlow。
GradeIngestionFlow是我的流程名称。我尝试在“流量”选项卡上使用选项“ REDEPLOY”,然后运行,但仍然遇到相同的错误。我还可以在“ C:\ DHF \ flows”下看到该流程。以下是来自JOBS DB的完整错误日志。有人可以帮助调试此错误吗?
{
"job": {
"jobId": "0f6dfb8b-b3b3-437c-b500-65327aae775d",
"flow": "GradeIngestionFlow",
"user": "joshi",
"lastAttemptedStep": "1",
"lastCompletedStep": 0,
"jobStatus": "failed",
"timeStarted": "2020-05-17T01:21:11.8611683+05:30",
"timeEnded": "2020-05-17T01:21:12.8723422+05:30",
"stepResponses": {
"1": {
"flowName": "GradeIngestionFlow",
"stepName": "GradeIngestionStep",
"stepDefinitionName": "default-ingestion",
"stepDefinitionType": "ingestion",
"stepOutput": [
"Local message: Could not apply resource at documents. Server Message: The specified flow GradeIngestionFlow is missing."
],
"fullOutput": null,
"status": "failed step 1",
"totalEvents": 16,
"successfulEvents": 0,
"failedEvents": 16,
"successfulBatches": 0,
"failedBatches": 1,
"success": false,
"stepStartTime": "2020-05-17T01:21:12.4422097+05:30",
"stepEndTime": "2020-05-17T01:21:12.8335275+05:30"
}
}
}
}
我尚未尝试使用gradle进行设置。
json文件的内容:
{
"name" : "GradeIngestionFlow",
"description" : "Grade inegsiton",
"batchSize" : 100,
"threadCount" : 4,
"stopOnError" : false,
"options" : { },
"version" : 0,
"steps" : {
"1" : {
"name" : "GradeIngestionStep",
"description" : "Grade Ingestion",
"options" : {
"additionalCollections" : [ ],
"headers" : {
"sources" : [ {
"name" : "GradeIngestionFlow"
} ],
"createdOn" : "currentDateTime",
"createdBy" : "currentUser"
},
"sourceQuery" : "cts.collectionQuery([])",
"collections" : [ "GradeIngestionStep" ],
"permissions" : "data-hub-operator,read,data-hub-operator,update",
"outputFormat" : "xml",
"targetDatabase" : "data-hub-STAGING"
},
"customHook" : {
"module" : "",
"parameters" : { },
"user" : "",
"runBefore" : false
},
"retryLimit" : null,
"batchSize" : 100,
"threadCount" : 4,
"stepDefinitionName" : "default-ingestion",
"stepDefinitionType" : "INGESTION",
"fileLocations" : {
"inputFilePath" : "C:\\Users\\Joshi\\DHF\\Ingestion",
"inputFileType" : "csv",
"outputURIReplacement" : "",
"separator" : ","
}
}
}
}