Add HBase App
This API is used to create HBase app data protection
Path Parameters
- instanceid string required
- application/json
Request Body
instanceProperties object required
Instance Properties
instance object
Instance
instanceId integerapplicationId integerclientId integerdistributedClusterInstanceProperties object required
clusterType integerDefault value:
2
opType integerDefault value:
2
instance object
instanceId integerInstance Id
instanceName stringInstance Name
clusterConfig object
hadoopConfig object
Hadoop Configuration
hadoopApps object
Hadoop Apps
appConfigs object
Apps configuration
appConfigs object[]
App configs
hadoopAppType integerHadoop App Type
hBaseConfig object
HBase configurations
hbaseuser stringHBase user
stagingLocation stringHBase Staging path
backupRootDir string
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
processinginstructioninfo object
attributes object[]
name stringvalue stringresponse object
warningCode integererrorCode integerwarningMessage stringentity object
subclientId integerclientId integerinstanceName stringinstanceId integer_type_ integer
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": {
"warningCode": 0,
"errorCode": 0,
"warningMessage": "string",
"entity": {
"subclientId": 0,
"clientId": 0,
"instanceName": "string",
"instanceId": 0,
"_type_": 0
}
}
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "exitval",
"value": "0"
}
]
},
"response": {
"warningCode": 0,
"errorCode": 0,
"warningMessage": "",
"entity": {
"subclientId": 0,
"clientId": 0,
"instanceName": "",
"instanceId": 0,
"_type_": 0
}
}
}
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": "Access Denied",
"errorCode": 5
}
Loading...