Add Hive App
This API is used to create Hive app data protection
Path Parameters
- instanceid string required
- application/json
Request Body
instanceProperties object required
Instance Properties
instance object
instanceId integerapplicationId integerclientId integerdistributedClusterInstanceProperties object required
clusterType integerDefault value:
2
opType integerDefault value:
2
instance object
instanceId integerInstance Id
instanceName stringHadoop Instance Name
clusterConfig object
hadoopConfig object
hadoopApps object
appConfigs object
appConfigs object[]
hadoopAppType integerhiveConfig object
connectionString stringuser object
userName stringpassword stringstaging object
stagingPath 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...