修改:hpc手动模式优化
This commit is contained in:
@@ -196,9 +196,9 @@ public class HpcHandler implements ExecutionHandler<Map<String, Object>,HPCExecu
|
||||
if (Objects.equals(executeMode,FlowableConfig.EXECUTE_MODE_MANUAL)) {
|
||||
List<String> masterFilePaths = getFileListFromMap(params, "masterFileRegularStr");
|
||||
List<String> inPutFilePaths = getFileListFromMap(params, "inputFilesRegularStr");
|
||||
if(CollectionUtils.isEmpty(masterFilePaths)||CollectionUtils.isEmpty(inPutFilePaths)){
|
||||
if(CollectionUtils.isEmpty(masterFilePaths)){
|
||||
CoreLogger.warn("hpc executeMode manual,filepath illegal");
|
||||
throw new RuntimeException("hpc executeMode manual,filepath illegal");
|
||||
throw new RuntimeException("手动模式求解文件不能为空");
|
||||
}
|
||||
submitHpcTaskRemoteReq.setManualMasterFilepaths(masterFilePaths);
|
||||
submitHpcTaskRemoteReq.setManualInputFilePaths(inPutFilePaths);
|
||||
|
||||
Reference in New Issue
Block a user