Skip to main content

Add Hive App

This API is used to create Hive app data protection

Path Parameters
  • instanceid string required
Request Body
  • instanceProperties object required

    Instance Properties

  • instance object
  • instanceId integer
  • applicationId integer
  • clientId integer
  • distributedClusterInstanceProperties object required
  • clusterType integer

    Default value: 2

  • opType integer

    Default value: 2

  • instance object
  • instanceId integer

    Instance Id

  • instanceName string

    Hadoop Instance Name

  • clusterConfig object
  • hadoopConfig object
  • hadoopApps object
  • appConfigs object
  • appConfigs object[]
  • hadoopAppType integer
  • hiveConfig object
  • connectionString string
  • user object
  • userName string
  • password string
  • staging object
  • stagingPath string
Responses

OK


Schema
  • processinginstructioninfo object
  • attributes object[]
  • name string
  • value string
  • response object
  • warningCode integer
  • errorCode integer
  • warningMessage string
  • entity object
  • subclientId integer
  • clientId integer
  • instanceName string
  • instanceId integer
  • _type_ integer
POST /instance/:instanceid    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
instanceid — path required
Body

{
"instanceProperties": {
"instance": {
"instanceId": 0,
"applicationId": 0,
"clientId": 0
}
},
"distributedClusterInstanceProperties": {
"clusterType": 2,
"opType": 2,
"instance": {
"instanceId": 0,
"instanceName": "string"
},
"clusterConfig": {
"hadoopConfig": {
"hadoopApps": {
"appConfigs": {
"appConfigs": [
{
"hadoopAppType": 0,
"hiveConfig": {
"connectionString": "string",
"user": {
"userName": "string",
"password": "string"
},
"staging": {
"stagingPath": "string"
}
}
}
]
}
}
}
}
}
}
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:instanceid' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceId": 0,
"applicationId": 0,
"clientId": 0
}
},
"distributedClusterInstanceProperties": {
"clusterType": 2,
"opType": 2,
"instance": {
"instanceId": 0,
"instanceName": "string"
},
"clusterConfig": {
"hadoopConfig": {
"hadoopApps": {
"appConfigs": {
"appConfigs": [
{
"hadoopAppType": 0,
"hiveConfig": {
"connectionString": "string",
"user": {
"userName": "string",
"password": "string"
},
"staging": {
"stagingPath": "string"
}
}
}
]
}
}
}
}
}
}'