JP5397076B2 - Job execution apparatus, job execution method, and job execution program - Google Patents
Job execution apparatus, job execution method, and job execution program Download PDFInfo
- Publication number
- JP5397076B2 JP5397076B2 JP2009183603A JP2009183603A JP5397076B2 JP 5397076 B2 JP5397076 B2 JP 5397076B2 JP 2009183603 A JP2009183603 A JP 2009183603A JP 2009183603 A JP2009183603 A JP 2009183603A JP 5397076 B2 JP5397076 B2 JP 5397076B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- unit
- job
- job execution
- processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
本発明は、ジョブ実行装置、ジョブ実行方法およびジョブ実行プログラムに関する。 The present invention relates to a job execution device, a job execution method, and a job execution program.
一般に、バッチ処理システムでは、ジョブに従って入力ファイルから順次データを読み込み、読み込んだデータを処理して出力ファイルに書き出す処理を実行する。このようなシステムで処理中に障害が発生した場合には、出力データを処理前の状態に戻し、再度処理を実行してデータを復旧する。下記特許文献1では、障害が発生した場合であっても、出力データを処理前の初期状態に戻すことなく、処理を再開する技術が開示されている。
Generally, in a batch processing system, data is sequentially read from an input file according to a job, and the read data is processed and written to an output file. If a failure occurs during processing in such a system, the output data is returned to the state before the processing, and the processing is executed again to recover the data.
上記特許文献1に記載の技術では、バッチ処理中に出力されたデータの件数を記憶している。そして、障害が発生した場合には、入力データを再度先頭から読み込み、上記記憶した出力データ件数分の入力データを読み飛ばし、その次に入力されるデータから処理を再開して出力ファイルを更新させている。
In the technique described in
ところが、バッチ処理システムの中には、複数のジョブを並列して実行可能なバッチ処理高速化方式(PREST)を採用するものがある。このようなバッチ処理システムでは、先行するジョブでデータの一部が出力されると、その出力データを用いて後続ジョブが並列して実行される。したがって、バッチ処理中は、並列に実行されるジョブごとにデータの処理状態や処理件数が異なることになる。このようなバッチ処理システムで障害が発生すると、単に全体の処理件数を記憶しているだけでは、ジョブごとに異なるデータの処理状態や処理件数までは把握することができないため、障害発生時に処理が確定していないデータを全て初期状態に戻す必要がある。つまり、初期状態に戻したデータについては再度最初のジョブからバッチ処理を開始することになるため、障害回復後のデータ復旧に時間を要してしまう。 However, some batch processing systems employ a batch processing acceleration system (PREST) that can execute a plurality of jobs in parallel. In such a batch processing system, when a part of data is output in the preceding job, the subsequent job is executed in parallel using the output data. Therefore, during batch processing, the data processing state and the number of processes differ for each job executed in parallel. When a failure occurs in such a batch processing system, simply storing the total number of processing cases cannot grasp the data processing status and the number of processing items that differ for each job. It is necessary to return all undefined data to the initial state. That is, since the batch processing is started again from the first job for the data returned to the initial state, it takes time to recover the data after the failure recovery.
本発明は、上述した課題を解決するためになされたものであり、複数のジョブを並列して実行する場合であっても障害回復後のデータ復旧時間を短縮することができるジョブ実行装置、ジョブ実行方法およびジョブ実行プログラムを提供することを目的とする。 The present invention has been made to solve the above-described problem, and can execute a job execution apparatus and a job that can shorten the data recovery time after failure recovery even when a plurality of jobs are executed in parallel. An object is to provide an execution method and a job execution program.
本発明のジョブ実行装置は、バッチ処理を構成する第1のジョブおよび第2のジョブを並列して実行可能なジョブ実行装置であって、第1のジョブを実行する第1のジョブ実行部と、第1のジョブ実行部によって第1のジョブが実行された結果出力された第1のデータを記憶するデータ記憶部と、データ記憶部によって記憶されている第1のデータを処理する第2のジョブを実行する第2のジョブ実行部と、第2のジョブで処理されている第1のデータを特定するためのデータ特定情報を含むデータ情報を記憶するデータ情報記憶部と、障害が発生した場合に、データ記憶部によって記憶されている第1のデータ、およびデータ情報記憶部によって記憶されているデータ情報をダンプするダンプ部と、を備える。 A job execution apparatus according to the present invention is a job execution apparatus capable of executing a first job and a second job constituting a batch process in parallel, and a first job execution unit that executes the first job; A data storage unit for storing first data output as a result of execution of the first job by the first job execution unit, and a second unit for processing the first data stored in the data storage unit A second job execution unit that executes a job, a data information storage unit that stores data information including data specifying information for specifying the first data processed by the second job, and a failure has occurred A dump unit that dumps the first data stored in the data storage unit and the data information stored in the data information storage unit.
本発明のジョブ実行方法は、バッチ処理を構成する第1のジョブおよび第2のジョブを並列して実行可能な装置において実行される方法であって、第1のジョブを実行する第1のジョブ実行ステップと、第1のジョブ実行ステップにおいて第1のジョブが実行された結果出力された第1のデータを記憶するデータ記憶ステップと、データ記憶ステップにおいて記憶された第1のデータを処理する第2のジョブを実行する第2のジョブ実行ステップと、第2のジョブで処理されている第1のデータを特定するためのデータ特定情報を含むデータ情報を記憶するデータ情報記憶ステップと、障害が発生した場合に、データ記憶ステップにおいて記憶された第1のデータ、およびデータ情報記憶ステップにおいて記憶されたデータ情報をダンプするダンプステップと、を含む。 The job execution method of the present invention is a method executed in an apparatus that can execute a first job and a second job that constitute a batch process in parallel, and the first job that executes the first job An execution step; a data storage step for storing first data output as a result of execution of the first job in the first job execution step; and a first data processing step for processing the first data stored in the data storage step. A second job execution step for executing the second job, a data information storage step for storing data information including data specifying information for specifying the first data processed in the second job, and a fault If it occurs, dump the first data stored in the data storage step and the data information stored in the data information storage step Including pump and step, the.
本発明のジョブ実行プログラムは、上記ジョブ実行方法に含まれる各ステップをコンピュータに実行させる。 The job execution program of the present invention causes a computer to execute each step included in the job execution method.
本発明によれば、障害回復後のデータ復旧時間を短縮することができる。 According to the present invention, data recovery time after recovery from a failure can be shortened.
以下、添付図面を参照して、本発明に係るジョブ実行装置、ジョブ実行方法およびジョブ実行プログラムの好適な実施形態について説明する。 Hereinafter, preferred embodiments of a job execution device, a job execution method, and a job execution program according to the present invention will be described with reference to the accompanying drawings.
まず、図1および図2を参照して、実施形態におけるジョブ実行装置の構成について説明する。図1は、ジョブ実行装置の機能構成を示すブロック図である。図2は、ジョブ実行装置におけるデータの流れを模式的に示す図である。なお、ジョブ実行装置は、複数のジョブを並列して実行可能なバッチ処理高速化方式(PREST)を採用する。 First, the configuration of the job execution apparatus in the embodiment will be described with reference to FIGS. 1 and 2. FIG. 1 is a block diagram illustrating a functional configuration of the job execution apparatus. FIG. 2 is a diagram schematically illustrating a data flow in the job execution apparatus. The job execution apparatus employs a batch processing acceleration system (PREST) that can execute a plurality of jobs in parallel.
図1に示すように、ジョブ実行装置1は、複数のエージェント部10と、複数のジョブ実行部20と、エージェント管理部30と、メモリ40と、ダンプ情報ファイル50とを有する。
As illustrated in FIG. 1, the
ジョブ実行部20は、一つのジョブごとに設けられ、割り当てられたジョブを実行する。本実施形態では、説明の便宜のために、ジョブが二つである場合について説明する。最初に実行するジョブを先行ジョブ(第1のジョブ)といい、この先行ジョブの実行によって出力されたデータを用いて処理を実行するジョブを後続ジョブ(第2のジョブ)という。また、先行ジョブを実行するジョブ実行部20を先行ジョブ実行部20(第1のジョブ実行部)といい、後続ジョブを実行するジョブ実行部20を後続ジョブ実行部20(第2のジョブ実行部)ということにする。なお、ジョブが二つであるため、エージェント部10は一つとなる。
The
エージェント部10は、ジョブ実行部20間に設けられ、先行ジョブから後続ジョブへのデータの引き継ぎ処理等を制御する。エージェント管理部30は、全てのエージェント部10を管理する機能を有し、障害発生時には各エージェント部10に障害が発生した旨を示す障害発生通知を送信する。エージェント部10の詳細については後述する。
The
メモリ40は、処理データ格納領域41(データ記憶部)と、処理データ情報格納領域42(データ情報記憶部)とを有する。図2に示すように、処理データ格納領域41には、先行ジョブ実行部20から出力された処理データ(第1のデータ)が格納される。処理データはチャンク(データ群)単位に特定可能に格納される。チャンクとは、複数のデータをまとめたものであり、トランザクションの単位となる。本実施形態では、三つのデータでチャンクを形成する。データにはデータを特定するための番号(データ特定情報)が入力順にカウントアップして付与され、チャンクにはチャンクを特定するための番号(データ群特定情報)が入力順にカウントアップして付与される。処理データ格納領域41に格納される処理データは、先行ジョブ実行部20から出力されたときに登録され、後続ジョブ実行部20からコミットを受信したときに削除される。
The
処理データ情報格納領域42には、処理データ管理テーブル421と、後続処理中データ番号422とが格納される。処理データ管理テーブル421は、データ項目として、例えば、チャンク番号、チャンク先頭データ番号、チャンク最後尾データ番号を有する。チャンク番号の項目には、先行ジョブ実行部20から出力された処理データが属するチャンク番号が格納される。チャンク先頭データ番号の項目には、チャンクを構成する先頭の処理データに付与された番号(データ特定情報)が格納される。チャンク最後尾データ番号の項目には、チャンクを構成する最後尾の処理データに付与された番号(データ特定情報)が格納される。
A processing data management table 421 and a subsequent
処理データ管理テーブル421では、上記各データ項目からなる処理データ管理レコード(データ情報)単位に登録や削除が行われる。処理データ管理レコードは、チャンクを構成する先頭の処理データが先行ジョブ実行部20から出力されたときに登録される。登録時の処理データ管理レコードのチャンク最後尾データ番号には、まだデータが存在しないことを示す“−”が格納されている。その後、先行ジョブ実行部20からチャンクを構成する最後尾の処理データが出力されたときに、その処理データの番号を、処理データ管理レコードのチャンク最後尾データ番号に格納する。つまり、チャンク最後尾データ番号に“−”が格納されている場合には、そのチャンクに属する処理データのいずれかが先行ジョブ実行部20で実行されている状態であることを示す。また、処理データ管理レコードは、チャンクを構成する最後尾の処理データが後続ジョブ実行部20でジョブが実行されてコミットされたときに削除される。
In the processing data management table 421, registration and deletion are performed in units of processing data management records (data information) composed of the data items. The processing data management record is registered when the first processing data constituting the chunk is output from the preceding
後続処理中データ番号422には、処理データ格納領域41に格納されている処理データのうち、後続ジョブ実行部20で処理中の処理データに付与された番号(データ情報)が格納される。
The subsequent
図1を参照して、エージェント部10について詳細に説明する。図1に示すように、エージェント部10は、処理結果データ受信部110と、終了コード確認部111と、処理データ更新部112と、データ要求受信部120と、処理対象データ管理部121と、処理データ取得部123と、データ送信部124と、コミット通知受信部130と、障害発生通知部140と、障害発生通知受信部141と、ダンプ部142と、データ復旧部143と、を有する。
The
処理結果データ受信部110は、先行ジョブ実行部20から処理結果データを受信する。処理結果データは、ジョブ実行部20に入力されたデータごとに、ジョブ実行部20から出力される。処理結果データには、ジョブを実行した結果出力される処理データおよびジョブの終了コードが含まれる。処理データには、チャンクの最後尾データであるか否かを示す情報が格納される。終了コードには、処理が正常に終了したか否かを示す情報が格納される。なお、ジョブ実行中に障害が発生すると、処理結果データには処理データが含まれず、終了コードのみが含まれることになる。
The processing result
終了コード確認部111は、先行ジョブ実行部20から受信した処理結果データに含まれる終了コードに基づいて、処理が正常に終了したか否かを判定する。
The end
処理データ更新部112は、終了コード確認部111によって処理が正常に終了したと判定された場合に、先行ジョブ実行部20から受信した処理データを処理データ格納領域41に格納する。
The processing
処理データ更新部112は、処理結果データに含まれる処理データがチャンクの最後尾データであるか否かを判定する。処理データ更新部112は、処理データがチャンクの最後尾データである場合には、チャンク最後尾データ番号に“−”が格納されているデータ情報管理レコードを検索する。処理データ更新部112は、検出したデータ情報管理レコードのチャンク最後尾データ番号に、先行ジョブ実行部20から受信した処理データの番号を格納する。
The processing
データ要求受信部120は、後続ジョブ実行部20から、処理データを送信するように要求するデータ要求を受信する。データ要求受信部120は、データ要求を受信した場合に、その旨を処理対象データ管理部121に通知する。
The data
処理対象データ管理部121は、後続ジョブ実行部20で直前に処理されていたデータを特定し、後続ジョブ実行部20に送信するデータを決定する。具体的に、処理対象データ管理部121は、処理データ情報格納領域42に格納されている後続処理中データ番号422を参照することで、後続ジョブ実行部20で直前に処理されたデータの番号を特定する。処理対象データ管理部121は、特定した番号に1を加算した番号を送信対象データ情報として処理データ取得部123に通知する。
The processing target
処理データ取得部123は、処理対象データ管理部121から受信した送信対象データ情報に対応するデータが処理データ格納領域41に格納されているか否かを判定する。処理データ取得部123は、送信対象データ情報に対応するデータが格納されている場合には、送信対象データ情報に対応するデータを取得する。処理データ取得部123は、送信対象データ情報に対応するデータが格納されていない場合には、所定時間待機してから再度データの有無を判定する処理を繰り返す。処理データ取得部123は、この再判定処理を所定回数繰り返しても送信対象データ情報に対応するデータを取得できない場合には、その旨のエラー通知を発行する。
The processing
データ送信部124は、処理データ取得部123によって取得されたデータを後続ジョブ実行部20に送信する。データ送信部124は、処理データ取得部123によって発行されたエラー通知を後続ジョブ実行部20に送信する。
The
コミット通知受信部130は、後続ジョブ実行部20からコミット通知を受信する。コミット通知は、各ジョブ実行部20においてチャンク単位で処理が確定するたびに発行される。コミット通知には、チャンク内の最後尾データの番号が含まれる。
The commit
処理対象データ管理部121は、後続ジョブ実行部20からコミット通知が受信された場合に、処理データ管理テーブル421のチャンク最後尾データ番号を参照し、このチャンク最後尾データ番号が、コミット通知に含まれるチャンク内の最後尾データの番号以下となる処理データ管理レコードを削除する。
When the commit notification is received from the subsequent
処理データ更新部112は、後続ジョブ実行部20からコミット通知が受信された場合に、処理データ格納領域41に格納されている処理データの番号を参照し、この処理データの番号が、コミット通知に含まれるチャンク内の最後尾データの番号以下となる処理データをチャンク単位で削除する。
When the commit notification is received from the subsequent
障害発生通知部140は、終了コード確認部111によって処理が異常終了したと判定された場合には、障害が発生した旨を示す障害発生通知をエージェント管理部30に送信する。
When the end
障害発生通知受信部141は、障害発生通知を受信した場合に、処理データ更新部112および処理対象データ管理部121での処理機能を停止させる。障害発生通知受信部141は、障害発生通知を受信した場合に、ダンプ処理の実行指示をダンプ部142に送出する。
When the failure occurrence
ダンプ部142は、処理データ格納領域41に格納されている処理データ、処理データ管理テーブル421に格納されている処理データ管理レコードおよび後続処理中データ番号422に格納されている処理データの番号をそれぞれダンプ情報ファイル50にダンプする。
The
データ復旧部143は、ダンプ情報ファイル50に格納された各データを処理データ格納領域41、処理データ管理テーブル421および後続処理中データ番号422にそれぞれ格納することで、メモリ40の各データを障害直前の状態に復旧させる。
The
次に、図面を参照して本実施形態におけるジョブ実行装置1の動作について説明する。図3を参照して、エージェント部が後続ジョブ実行部に処理データを送信する際の動作について説明する。
Next, the operation of the
最初に、データ要求受信部120は、後続ジョブ実行部20からデータ要求を受信する(ステップS101)と、データ要求を受信した旨を処理対象データ管理部121に通知する(ステップS102)。
First, when the data
続いて、処理対象データ管理部121は、処理データ情報格納領域42に格納されている後続処理中データ番号422を参照し、後続ジョブ実行部20で直前に処理されたデータの番号を特定する(ステップS103)。
Subsequently, the processing target
続いて、処理対象データ管理部121は、特定した番号に1を加算した番号を送信対象データ情報として処理データ取得部123に送信する(ステップS104)。
Subsequently, the processing target
続いて、処理データ取得部123は、処理対象データ管理部121から受信した送信対象データ情報に対応する処理データが処理データ格納領域41に格納されているか否かを判定する(ステップS105)。この判定がYESである場合(ステップS105;YES)に、処理データ取得部123は、送信対象データ情報に対応する処理データを処理データ格納領域41から取得する(ステップS106)。
Subsequently, the processing
続いて、データ送信部124は、送信対象データ情報に対応する処理データを後続ジョブ実行部20に送信する(ステップS107)。
Subsequently, the
続いて、処理対象データ管理部121は、後続ジョブ実行部20に送信した処理データの番号を後続処理中データ番号422に格納して更新する(ステップS108)。
Subsequently, the processing target
一方、上記ステップS105の判定で送信対象データ情報に対応する処理データが処理データ格納領域41に格納されていないと判定された場合(ステップS105;NO)に、処理データ取得部123は、判定回数をカウントアップし(ステップS109)、判定回数が所定回数を超えたか否かを判定する(ステップS110)。この判定がYESである場合(ステップS110;YES)に、処理データ取得部123は、エラー通知を発行して後続ジョブ実行部20に送信する(ステップS111)。
On the other hand, when it is determined in step S105 that the processing data corresponding to the transmission target data information is not stored in the processing data storage area 41 (step S105; NO), the processing
一方、上記ステップS110の判定で判定回数が所定回数以下である場合(ステップS110;NO)に、処理データ取得部123は、所定時間待機してから上述したステップS105に移行する。
On the other hand, when the number of determinations is equal to or less than the predetermined number in step S110 (step S110; NO), the processing
図4を参照して、エージェント部が先行ジョブ実行部から処理結果データを受信する際の動作について説明する。 With reference to FIG. 4, the operation when the agent unit receives the processing result data from the preceding job execution unit will be described.
最初に、先行ジョブ実行部20から処理結果データを受信する(ステップS201)と、終了コード確認部111は、処理結果データに含まれる終了コードに基づいて、処理が正常に終了したか否かを判定する(ステップS202)。この判定がNOである場合(ステップS202;NO)に、障害発生通知部140は、エージェント管理部30に障害発生通知を送信する(ステップS203)。これにより、エージェント管理部30が、全てのエージェント部10に障害発生通知を送信し、各エージェント部10は障害時の処理を行うことになる。
First, when processing result data is received from the preceding job execution unit 20 (step S201), the end
一方、上記ステップS202の判定で処理が正常に終了したと判定された場合(ステップS202;YES)に、処理データ更新部112は、処理結果データに含まれる処理データを処理データ格納領域41に格納する(ステップS204)。
On the other hand, when it is determined in step S202 that the process has been normally completed (step S202; YES), the process
続いて、処理データ更新部112は、処理結果データに含まれる処理データがチャンクの最後尾データであるか否かを判定する(ステップS205)。この判定がNOである場合(ステップS205;NO)には処理を終了する。
Subsequently, the process
一方、上記ステップS205の判定で処理データがチャンクの最後尾データであると判定された場合(ステップS205;YES)に、処理データ更新部112は、チャンク最後尾データに“−”が格納されているデータ情報管理レコードを検索する(ステップS206)。処理データ更新部112は、検出されたデータ情報管理レコードのチャンク最後尾データに、上記ステップS201で受信した処理結果データに含まれる処理データの番号を格納して更新する(ステップS207)。
On the other hand, when it is determined in step S205 that the processing data is the tail data of the chunk (step S205; YES), the processing
図5を参照して、障害が発生した際の動作について説明する。 With reference to FIG. 5, the operation when a failure occurs will be described.
最初に、障害発生通知受信部141は、エージェント管理部30から送信された障害発生通知を受信する(ステップS301)と、処理対象データ管理部121および処理データ更新部112の処理機能を停止させる(ステップS302)。
First, when the failure occurrence
続いて、障害発生通知受信部141は、ダンプ処理の実行指示をダンプ部142に送出する(ステップS303)。
Subsequently, the failure occurrence
続いて、ダンプ部142は、処理データ格納領域41に格納されている処理データ、処理データ管理テーブル421に格納されている処理データ管理レコードおよび後続処理中データ番号422に格納されている処理データの番号をそれぞれダンプ情報ファイル50にダンプする(ステップS304)。
Subsequently, the
続いて、障害が解消した場合(ステップS305;YES)に、データ復旧部143は、ダンプ情報ファイル50ファイルにダンプさせた各データをメモリ40に格納する(ステップS306)。これにより、メモリ40の各データを障害直前の状態に復旧させることができる。なお、障害が解消したことは、例えば、管理者の入力操作にしたがってエージェント管理部30から送信される障害解消通知を受信することで判定することができる。
Subsequently, when the failure is resolved (step S305; YES), the
図6を参照して、エージェント部が後続ジョブ実行部からコミット通知を受信した際の動作について説明する。 With reference to FIG. 6, the operation when the agent unit receives a commit notification from the subsequent job execution unit will be described.
最初に、コミット通知受信部130は、後続ジョブ実行部20からコミット通知を受信する(ステップS401)と、コミット通知に含まれるチャンク内の最後尾データの番号を処理対象データ管理部121に通知する(ステップS402)。
First, when the commit
続いて、処理対象データ管理部121は、処理データ管理テーブル421のチャンク最後尾データ番号を参照し、このチャンク最後尾データ番号が、コミット通知に含まれるチャンク内の最後尾データの番号以下となる処理データ管理レコードを削除する(ステップS403)。
Subsequently, the processing target
続いて、処理対象データ管理部121は、コミット通知に含まれるチャンク内の最後尾データの番号を処理データ更新部112に通知する(ステップS404)。
Subsequently, the processing target
続いて、処理データ更新部112は、処理データ格納領域41に格納されている処理データの番号を参照し、この処理データの番号が、コミット通知に含まれるチャンク内の最後尾データの番号以下となる処理データをチャンク単位で削除する(ステップS405)。このように、コミットされたデータを削除していくことでメモリの記憶効率を向上させることができる。
Subsequently, the processing
上述してきたように、実施形態におけるジョブ実行装置1によれば、障害が発生した場合、並列に実行されるジョブごとに障害発生時に未確定の処理データをその処理状態とともに退避させることができる。したがって、障害が回復した場合に、その退避データを復旧させることで、各ジョブの処理データを障害発生時の状態に戻すことができる。つまり、データ復旧後に各ジョブの実行を再開させることで、障害発生時の状態から処理を再開させることが可能になる。それゆえに、複数のジョブを並列して実行する場合であっても障害回復後のデータ復旧時間を短縮することができる。
As described above, according to the
ここで、ジョブ実行装置1には、上述した各部の機能を実現させるプログラムがインストールされている。このプログラムを実行することで、上述した各部の機能を実現することができる。
Here, the
なお、上述した実施形態は、単なる例示に過ぎず、実施形態に明示していない種々の変形や技術の適用を排除するものではない。すなわち、本発明は、その趣旨を逸脱しない範囲で様々な形態に変形して実施することができる。 Note that the above-described embodiment is merely an example, and does not exclude various modifications and technical applications that are not explicitly described in the embodiment. That is, the present invention can be implemented by being modified into various forms without departing from the spirit of the present invention.
1…ジョブ実行装置、10…エージェント部、20…ジョブ実行部、30…エージェント管理部、40…メモリ、41…処理データ格納領域、42…処理データ情報格納領域、50…ダンプ情報ファイル、110…処理結果データ受信部、111…終了コード確認部、112…処理データ更新部、120…データ要求受信部、121…処理対象データ管理部、123…処理データ取得部、124…データ送信部、130…コミット通知受信部、140…障害発生通知部、141…障害発生通知受信部、142…ダンプ部、143…データ復旧部、421…処理データ管理テーブル、422…後続処理中データ番号。
DESCRIPTION OF
Claims (6)
前記第1のジョブを実行する第1のジョブ実行部と、
前記第1のジョブ実行部によって前記第1のジョブが実行された結果出力された第1のデータを記憶するデータ記憶部と、
前記データ記憶部によって記憶されている前記第1のデータを処理する前記第2のジョブを実行する第2のジョブ実行部と、
前記第2のジョブで処理されている前記第1のデータを特定するためのデータ特定情報を含むデータ情報を記憶するデータ情報記憶部と、
障害が発生した場合に、前記データ記憶部によって記憶されている前記第1のデータ、および前記データ情報記憶部によって記憶されている前記データ情報をダンプするダンプ部と、
を備えることを特徴とするジョブ実行装置。 A job execution apparatus capable of executing in parallel a first job and a second job constituting a batch process,
A first job execution unit for executing the first job;
A data storage unit for storing first data output as a result of execution of the first job by the first job execution unit;
A second job execution unit for executing the second job for processing the first data stored in the data storage unit;
A data information storage unit for storing data information including data specifying information for specifying the first data being processed in the second job;
A dump unit that dumps the first data stored by the data storage unit and the data information stored by the data information storage unit when a failure occurs;
A job execution apparatus comprising:
前記第2のジョブ実行部は、前記データ群ごとに前記第2のデータをコミットし、
前記データ削除部は、前記第2のデータがコミットされた場合に、前記データ記憶部によって記憶されている前記第1のデータから、前記コミットされた前記第2のデータに対応する前記データ群に含まれる前記第1のデータを削除することを特徴とする請求項2記載のジョブ実行装置。 The data information further includes data group specifying information for specifying a data group composed of a plurality of the first data stored in the data storage unit,
The second job execution unit commits the second data for each data group,
When the second data is committed, the data deleting unit changes the first data stored in the data storage unit to the data group corresponding to the committed second data. The job execution apparatus according to claim 2, wherein the first data included is deleted.
前記第1のジョブを実行する第1のジョブ実行ステップと、
前記第1のジョブ実行ステップにおいて前記第1のジョブが実行された結果出力された第1のデータを記憶するデータ記憶ステップと、
前記データ記憶ステップにおいて記憶された前記第1のデータを処理する前記第2のジョブを実行する第2のジョブ実行ステップと、
前記第2のジョブで処理されている前記第1のデータを特定するためのデータ特定情報を含むデータ情報を記憶するデータ情報記憶ステップと、
障害が発生した場合に、前記データ記憶ステップにおいて記憶された前記第1のデータ、および前記データ情報記憶ステップにおいて記憶された前記データ情報をダンプするダンプステップと、
を含むことを特徴とするジョブ実行方法。 A job execution method executed in an apparatus capable of executing a first job and a second job constituting a batch process in parallel,
A first job execution step for executing the first job;
A data storage step of storing first data output as a result of execution of the first job in the first job execution step;
A second job execution step for executing the second job for processing the first data stored in the data storage step;
A data information storing step for storing data information including data specifying information for specifying the first data being processed in the second job;
A dump step for dumping the first data stored in the data storage step and the data information stored in the data information storage step when a failure occurs;
Including a job execution method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009183603A JP5397076B2 (en) | 2009-08-06 | 2009-08-06 | Job execution apparatus, job execution method, and job execution program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009183603A JP5397076B2 (en) | 2009-08-06 | 2009-08-06 | Job execution apparatus, job execution method, and job execution program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011039595A JP2011039595A (en) | 2011-02-24 |
JP5397076B2 true JP5397076B2 (en) | 2014-01-22 |
Family
ID=43767330
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009183603A Expired - Fee Related JP5397076B2 (en) | 2009-08-06 | 2009-08-06 | Job execution apparatus, job execution method, and job execution program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5397076B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5876406B2 (en) * | 2012-12-05 | 2016-03-02 | 株式会社エヌ・ティ・ティ・データ・ウェーブ | Process execution device and process execution method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0212538A (en) * | 1988-06-30 | 1990-01-17 | Nec Corp | Automatic memory dump system |
JPH0895810A (en) * | 1994-09-28 | 1996-04-12 | Nec Corp | Batch job execution system |
-
2009
- 2009-08-06 JP JP2009183603A patent/JP5397076B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2011039595A (en) | 2011-02-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100339834C (en) | Recovery from failures within data processing systems | |
CN104584006B (en) | Deduplication to the annex in message transmission and the automatic reparation to annex | |
US9836361B2 (en) | Data replicating system, data replicating method, node device, management device and computer readable medium | |
US20100145914A1 (en) | Database management server apparatus, database management system, database management method and database management program | |
JP6475304B2 (en) | Transaction processing method and apparatus | |
US9652492B2 (en) | Out-of-order execution of strictly-ordered transactional workloads | |
EP3822793A1 (en) | Data recovery method and device, server and computer readable storage medium | |
CN108255576B (en) | Virtual machine live migration exception handling method and device and storage medium | |
CN104166605A (en) | Data backup method and system based on incremental data files | |
US20170010813A1 (en) | Performance during playback of logged data storage operations | |
CN105045617A (en) | Application recovery method and system for Android system | |
JP6293709B2 (en) | Storage system and storage system program | |
JP2009536403A (en) | Work item event processing | |
JP5374900B2 (en) | Computer system backup method | |
US20170068603A1 (en) | Information processing method and information processing apparatus | |
US20110225463A1 (en) | Detecting and recovering from process failures | |
JP5397076B2 (en) | Job execution apparatus, job execution method, and job execution program | |
CN108121514B (en) | Meta information updating method and device, computing equipment and computer storage medium | |
CN108959548B (en) | Service request processing method and device | |
CN106776052B (en) | Shared resource access method and device | |
US20110214130A1 (en) | Data processing system, data processing method, and data processing program | |
JP2016167212A (en) | Information processing system, checkpoint data collection method and checkpoint data collection program | |
JP4710380B2 (en) | Distributed processing system and distributed processing method | |
JP5352310B2 (en) | Batch processing execution system and method | |
CN114895849A (en) | Data migration and storage method and device and management node |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120711 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130918 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20130924 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20131007 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |