Restoring a HBase instance
This API is used to restore HBase instance
- application/json
Request Body
taskInfo object
associations object[]
subclientId integerSubclient Id
applicationId integerDefault value:
64
Application Id
clientName stringHadoop Client NAme
backupsetId integerBackupset Id
instanceId integerInstance Id
clientId integerClient Id
_type_ integerDefault value:
7
task object
taskType integerDefault value:
1
initiatedFrom integerDefault value:
1
subTasks object[]
subTask object
subTaskType integerDefault value:
3
operationType integerDefault value:
1001
options object required
restoreOptions object
Restore options
browseOption object
commCellId integerDefault value:
2
Commcell Id
backupset object
Source client backupset id
backupsetId integerclientId integertimeRange objecttime range
commonOptions object
common
unconditionalOverwrite booleanDefault value:
false
unconditional overw
isFromBrowseBackup booleanDefault value:
true
preserveLevel integerDefault value:
1
stripLevelType integeroverwriteFiles booleanoverwrite files
distributedAppsRestoreOptions object required
distributedRestore booleanDefault value:
true
isMultiNodeRestore booleanDefault value:
true
clientType integerDefault value:
29
Client Type
dataAccessNodes object required
Data Access
dataAccessNodes object[]
Data Access Nodes
hostName stringHost Name
clientId integerclientName stringClient Name
displayName stringClient display name
hbaseRestoreOptions object required
HBase Res
tableMap object[]
Source DB, Table to destination DB tb mapping
fromTable stringtoTable stringdestination object required
Destination details
noOfStreams integerno of streams
destClient object
Destination client
clientId integerclientName stringdestinationInstance object required
Destination instance details
clientId integerclientName stringapplicationId integerappName stringDefault value:
Big Data Apps
instanceId integerinstanceName stringfileOption object required
sourceItem string[]qrOption object required
destAppTypeId integerDefault value:
64
commonOpts object
notifyUserOnJobCompletion boolean
Responses
- 200
- 400
- 401
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- taskId integer
- jobIds string[]
{
"taskId": 0,
"jobIds": [
"string"
]
}
{
"taskId": 59,
"jobIds": [
"33"
]
}
Bad Request
- application/json
- Schema
- Example 1
Schema
- string
Request body is empty or format is invalid
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "string",
"errorCode": 0
}
Not Found
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "No instance is specified",
"errorCode": 4
}
Loading...