Restoring a Hive instance
Select
SaaS
Customer Managed
This API is used to restore Hive 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
browseOption object
commCellId integerDefault value:
2
Commcell Id
backupset object
Source client backupset id
backupsetId integerclientId integertimeRange objectcommonOptions object
unconditionalOverwrite booleanDefault value:
false
isFromBrowseBackup booleanDefault value:
true
preserveLevel integerDefault value:
1
stripLevelType integeroverwriteFiles booleandistributedAppsRestoreOptions 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
Hive Res
tableMap object[]
Source DB, Table to destination DB tb mapping
fromTable: stringtoTable stringdestination object required
Destination details
noOfStreams integerdestClient object
clientId integerclientName stringdestinationInstance object required
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...