Retrieve Repair Statistics
get
http://{host}:{port}/veridata/v1/services/monitoring/repair/jobs
Required Role: Administrator, SuperUser, DetailMonitoringOperator, MonitoringOperator, CommandLineOperator
This API is used to monitor Repair Jobs. Pass the runId as input to fetch Group and Compare Pair details.
Request
Query Parameters
-
fromDate: string
Defines the start date range (inclusive) to filter out the Repair Job response. Supported format yyyy-MM-dd'T'HH:mm:ss'Z'. Example: 2024-03-13T18:30:00Z
-
last: string
Fetch Repair job stats of last x units. Supported units D(Days) or H(hours) or M(minutes). Example: 1D
-
runId: string
The Repair Job's Run ID. Example: runId=1024,0,0. Group and Compare Pair details will be returned in response only when this parameter is passed.
-
status:
Defines Repair Job Status. To fetch Jobs of different status, pass comma separated values.
-
toDate: string
Defines the end date range (not inclusive) to filter out the Repair Job response. Supported format yyyy-MM-dd'T'HH:mm:ss'Z'. Example: 2024-03-13T18:30:00Z
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Returns a collection of Repair Jobs.
Nested Schema : BaseStats
Type:
Show Source
object
-
endTime: string
(date-time)
Pattern:
YYYY-MM-DDTHH:mm:ss.sssZ
Example:2024-02-03T10:15:30Z
-
runId: object
RunID
Run ID.
-
startTime: string
(date-time)
Pattern:
YYYY-MM-DDTHH:mm:ss.sssZ
Example:2024-02-03T10:15:30Z
Nested Schema : RepairJobStats-allOf[1]
Type:
Show Source
object
-
comparePairsCancelled: integer
(int64)
-
comparePairsProcessed: integer
(int64)
-
comparePairsRepaired: integer
(int64)
-
comparePairsWithWarnings: integer
(int64)
-
groups: array
groups
-
name: string
-
repairStatus: string
Allowed Values:
[ "PENDING", "RUNNING", "ERRORS", "WARNINGS", "SUCCESSFUL", "CANCELLED", "OOS" ]
Repair Status.
Nested Schema : RunID
Type:
object
Run ID.
Show Source
-
asString: string
Displays Run ID in string format.
-
comparePairNum: integer
pPart of the run ID.
-
groupNum: integer
Part of the run ID
-
runID: integer
Part of the run ID.
Nested Schema : RepairPairStats-allOf[1]
Type:
Show Source
object
-
comparePair:
comparePair
-
deletes: integer
-
deletesWithWarnings: integer
-
endTime: string
(date-time)
Pattern:
YYYY-MM-DDTHH:mm:ss.sssZ
Example:2024-02-03T10:15:30Z
-
id: integer
-
inserts: integer
-
insertsWithWarnings: integer
-
name: string
-
rowComparisonsTotal: integer
-
rowsRepaired: integer
-
startTime: string
(date-time)
Pattern:
YYYY-MM-DDTHH:mm:ss.sssZ
Example:2024-02-03T10:15:30Z
-
status: string
Allowed Values:
[ "PENDING", "RUNNING", "ERRORS", "WARNINGS", "SUCCESSFUL", "CANCELLED", "OOS" ]
Repair Status. -
totalBytesRepaired: integer
-
totalBytesWithWarnings: integer
-
updates: integer
-
updatesWithWarnings: integer
Nested Schema : comparePair-allOf[0]
Type:
object
Nested Schema : ComparePairViewStats
Type:
Show Source
object
-
columnsSystemMapped: boolean
-
deltaProcessingEnabled: boolean
-
enabled: boolean
-
keyColumnsSystemMapped: boolean
-
srcTable:
srcTable
Represents a table in compare pair with table and row partitions info, if any.
-
tgtTable:
tgtTable
Represents a table in compare pair with table and row partitions info, if any.
Nested Schema : srcTable
Represents a table in compare pair with table and row partitions info, if any.
Match All
Represents a table in compare pair with table and row partitions info, if any.
Represents a table in compare pair with table and row partitions info, if any.
Show Source
-
object
Table
Defines a table.
-
object
srcTable-allOf[1]
Nested Schema : tgtTable
Represents a table in compare pair with table and row partitions info, if any.
Match All
Represents a table in compare pair with table and row partitions info, if any.
Represents a table in compare pair with table and row partitions info, if any.
Show Source
-
object
Table
Defines a table.
-
object
tgtTable-allOf[1]
Nested Schema : Table
Type:
object
Defines a table.
Show Source
-
catalog: string
-
filePattern: string
NSK Encribe file pattern.
-
isView: boolean
-
name: string
-
schema: string
-
tablePartition: object
tablePartition
Nested Schema : srcTable-allOf[1]
Type:
object
Nested Schema : tgtTable-allOf[1]
Type:
object
400 Response
Bad Request.
Root Schema : Error
Type:
Show Source
object
-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.
401 Response
"Unauthorized."
Root Schema : Error
Type:
Show Source
object
-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.
404 Response
"Not found."
Root Schema : Error
Type:
Show Source
object
-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.
500 Response
"Server error."
Root Schema : Error
Type:
Show Source
object
-
errCode: string
Veridata Error Code.
-
errMsg: string
Veridata Error Message.