# discard if user interrupted (ctrl+c) the operation
# discard if user interrupted (ctrl+c) the operation
...
@@ -398,16 +411,32 @@ class DatasetUtils
...
@@ -398,16 +411,32 @@ class DatasetUtils
@logger.warn("Previous split operation attempt for file #{reference} was interrupt by user (aborted tool execution), it will be restarted.",print=TRUE)
@logger.warn("Previous split operation attempt for file #{reference} was interrupt by user (aborted tool execution), it will be restarted.",print=TRUE)
deleteSplitOperationFile(file_reference)
deleteSplitOperationFile(file_reference)
deleteSplitOperationControlFile(file_reference)
deleteSplitOperationControlFile(file_reference)
return0
iflarge_hash
return0,""
else
return0
end
end
end
createSplitOperationControlFile(file_reference)
createSplitOperationControlFile(file_reference)
returnrecord[2].to_i
iflarge_hash
returnrecord[2].to_i,record[5]
else
returnrecord[2].to_i
end
end
iflarge_hash
return0,""
else
return0
end
end
return0
rescueException=>e
rescueException=>e
@logger.error("An error occurred in getLastSplitOperation method:"+e.to_s)
@logger.error("An error occurred in getLastSplitOperation method:"+e.to_s)