Create Hadoop Instance
Select
SaaS
Customer Managed
This API is used to create a hadoop instance/pseudoclient
- application/json
Request Body
createPseudoClientRequest object
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
processinginstructioninfo object
response object
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": {
"errorCode": 0,
"entity": {
"clientId": 0,
"clientName": "string",
"instanceId": 0,
"_type_": 0
}
}
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "exitval",
"value": "0"
}
]
},
"response": {
"errorCode": 0,
"entity": {
"clientId": 100,
"clientName": "",
"instanceId": 75,
"_type_": 3
}
}
}
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
}
POST /client/hadoop
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://localhost/commandcenter/api/Client/Hadoop' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"createPseudoClientRequest": {
"clientInfo": {
"clientType": 0,
"plan": {
"planId": 0,
"optionText": {
"props": {
"isMultiple": true,
"planEntity": {
"numCopies": 0,
"type": "string",
"subtype": "string",
"numAssocEntities": 0,
"rpoInMinutes": 0,
"parent": {},
"storage": {
"copy": [
{
"copyType": "string",
"active": "string",
"isDefault": "string",
"isSnapCopy": "string",
"isMirrorCopy": "string",
"wormStorageFlag": 0,
"poolRetentionPeriodDays": 0,
"copyPrecedence": 0,
"storagePoolType": "string",
"storageType": 0,
"dedupeFlags": {},
"retentionRules": {
"retainBackupDataForCycles": 0,
"jobs": 0,
"retainArchiverDataForDays": 0,
"retainBackupDataForDays": 0,
"retentionFlags": {
"enableDataAging": "string",
"jobBasedRetention": "string"
}
},
"StoragePolicyCopy": {
"copyId": 0,
"copyName": "string"
},
"extendedFlags": {
"overRideGACPRetention": "string",
"useGlobalStoragePolicy": "string"
},
"drivePool": {
"drivePoolName": "string",
"drivePoolId": 0
},
"copyFlags": {},
"library": {
"libraryName": "string",
"libraryId": 0
},
"startTime": {
"time": 0
},
"useGlobalPolicy": {
"storagePolicyName": "string",
"storagePolicyId": 0
}
}
]
},
"plan": {
"planSummary": "string",
"planName": "string",
"planId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
},
"RPOHours": "string",
"NumberOfCopies": "string",
"PrimaryStorageRetention": "string",
"PrimaryStorageType": "string",
"AssociatedEntitiesCount": "string"
}
}
},
"planName": "string",
"type": "string",
"selected": true
},
"subclientInfo": {
"useLocalContent": true,
"contentOperationType": 0,
"content": [
{
"path": "string"
}
],
"fsSubClientProp": {
"useGlobalFilters": "USE_CELL_LEVEL_POLICY"
}
},
"distributedClusterInstanceProperties": {
"clusterType": 2,
"opType": 2,
"instance": {
"instanceId": 0,
"instanceName": "string",
"clientName": "string",
"applicationId": 64
},
"clusterConfig": {
"hadoopConfig": {
"coordinatorNode": {
"hostName": "string",
"clientId": 0,
"clientName": "string",
"displayName": "string",
"selected": true
},
"hadoopSites": {
"hadoopSites": [
{
"hdfsHost": "string",
"hdfsUser": "string"
}
]
}
}
},
"dataAccessNodes": {
"dataAccessNodes": [
{
"hostName": "string",
"clientId": 0,
"clientName": "string",
"displayName": "string",
"selected": true
}
]
}
}
},
"entity": {
"clientName": "string"
}
}
}'
curl -L -X POST 'https://localhost/commandcenter/api/Client/Hadoop' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"createPseudoClientRequest": {
"clientInfo": {
"clientType": 0,
"plan": {
"planId": 0,
"optionText": {
"props": {
"isMultiple": true,
"planEntity": {
"numCopies": 0,
"type": "string",
"subtype": "string",
"numAssocEntities": 0,
"rpoInMinutes": 0,
"parent": {},
"storage": {
"copy": [
{
"copyType": "string",
"active": "string",
"isDefault": "string",
"isSnapCopy": "string",
"isMirrorCopy": "string",
"wormStorageFlag": 0,
"poolRetentionPeriodDays": 0,
"copyPrecedence": 0,
"storagePoolType": "string",
"storageType": 0,
"dedupeFlags": {},
"retentionRules": {
"retainBackupDataForCycles": 0,
"jobs": 0,
"retainArchiverDataForDays": 0,
"retainBackupDataForDays": 0,
"retentionFlags": {
"enableDataAging": "string",
"jobBasedRetention": "string"
}
},
"StoragePolicyCopy": {
"copyId": 0,
"copyName": "string"
},
"extendedFlags": {
"overRideGACPRetention": "string",
"useGlobalStoragePolicy": "string"
},
"drivePool": {
"drivePoolName": "string",
"drivePoolId": 0
},
"copyFlags": {},
"library": {
"libraryName": "string",
"libraryId": 0
},
"startTime": {
"time": 0
},
"useGlobalPolicy": {
"storagePolicyName": "string",
"storagePolicyId": 0
}
}
]
},
"plan": {
"planSummary": "string",
"planName": "string",
"planId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
},
"RPOHours": "string",
"NumberOfCopies": "string",
"PrimaryStorageRetention": "string",
"PrimaryStorageType": "string",
"AssociatedEntitiesCount": "string"
}
}
},
"planName": "string",
"type": "string",
"selected": true
},
"subclientInfo": {
"useLocalContent": true,
"contentOperationType": 0,
"content": [
{
"path": "string"
}
],
"fsSubClientProp": {
"useGlobalFilters": "USE_CELL_LEVEL_POLICY"
}
},
"distributedClusterInstanceProperties": {
"clusterType": 2,
"opType": 2,
"instance": {
"instanceId": 0,
"instanceName": "string",
"clientName": "string",
"applicationId": 64
},
"clusterConfig": {
"hadoopConfig": {
"coordinatorNode": {
"hostName": "string",
"clientId": 0,
"clientName": "string",
"displayName": "string",
"selected": true
},
"hadoopSites": {
"hadoopSites": [
{
"hdfsHost": "string",
"hdfsUser": "string"
}
]
}
}
},
"dataAccessNodes": {
"dataAccessNodes": [
{
"hostName": "string",
"clientId": 0,
"clientName": "string",
"displayName": "string",
"selected": true
}
]
}
}
},
"entity": {
"clientName": "string"
}
}
}'
curl -L -X POST 'https://localhost/commandcenter/api/Client/Hadoop' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"createPseudoClientRequest": {
"clientInfo": {
"clientType": 0,
"plan": {
"planId": 0,
"optionText": {
"props": {
"isMultiple": true,
"planEntity": {
"numCopies": 0,
"type": "string",
"subtype": "string",
"numAssocEntities": 0,
"rpoInMinutes": 0,
"parent": {},
"storage": {
"copy": [
{
"copyType": "string",
"active": "string",
"isDefault": "string",
"isSnapCopy": "string",
"isMirrorCopy": "string",
"wormStorageFlag": 0,
"poolRetentionPeriodDays": 0,
"copyPrecedence": 0,
"storagePoolType": "string",
"storageType": 0,
"dedupeFlags": {},
"retentionRules": {
"retainBackupDataForCycles": 0,
"jobs": 0,
"retainArchiverDataForDays": 0,
"retainBackupDataForDays": 0,
"retentionFlags": {
"enableDataAging": "string",
"jobBasedRetention": "string"
}
},
"StoragePolicyCopy": {
"copyId": 0,
"copyName": "string"
},
"extendedFlags": {
"overRideGACPRetention": "string",
"useGlobalStoragePolicy": "string"
},
"drivePool": {
"drivePoolName": "string",
"drivePoolId": 0
},
"copyFlags": {},
"library": {
"libraryName": "string",
"libraryId": 0
},
"startTime": {
"time": 0
},
"useGlobalPolicy": {
"storagePolicyName": "string",
"storagePolicyId": 0
}
}
]
},
"plan": {
"planSummary": "string",
"planName": "string",
"planId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
},
"RPOHours": "string",
"NumberOfCopies": "string",
"PrimaryStorageRetention": "string",
"PrimaryStorageType": "string",
"AssociatedEntitiesCount": "string"
}
}
},
"planName": "string",
"type": "string",
"selected": true
},
"subclientInfo": {
"useLocalContent": true,
"contentOperationType": 0,
"content": [
{
"path": "string"
}
],
"fsSubClientProp": {
"useGlobalFilters": "USE_CELL_LEVEL_POLICY"
}
},
"distributedClusterInstanceProperties": {
"clusterType": 2,
"opType": 2,
"instance": {
"instanceId": 0,
"instanceName": "string",
"clientName": "string",
"applicationId": 64
},
"clusterConfig": {
"hadoopConfig": {
"coordinatorNode": {
"hostName": "string",
"clientId": 0,
"clientName": "string",
"displayName": "string",
"selected": true
},
"hadoopSites": {
"hadoopSites": [
{
"hdfsHost": "string",
"hdfsUser": "string"
}
]
}
}
},
"dataAccessNodes": {
"dataAccessNodes": [
{
"hostName": "string",
"clientId": 0,
"clientName": "string",
"displayName": "string",
"selected": true
}
]
}
}
},
"entity": {
"clientName": "string"
}
}
}'
curl -L -X POST 'https://localhost/commandcenter/api/Client/Hadoop' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"createPseudoClientRequest": {
"clientInfo": {
"clientType": 0,
"plan": {
"planId": 0,
"optionText": {
"props": {
"isMultiple": true,
"planEntity": {
"numCopies": 0,
"type": "string",
"subtype": "string",
"numAssocEntities": 0,
"rpoInMinutes": 0,
"parent": {},
"storage": {
"copy": [
{
"copyType": "string",
"active": "string",
"isDefault": "string",
"isSnapCopy": "string",
"isMirrorCopy": "string",
"wormStorageFlag": 0,
"poolRetentionPeriodDays": 0,
"copyPrecedence": 0,
"storagePoolType": "string",
"storageType": 0,
"dedupeFlags": {},
"retentionRules": {
"retainBackupDataForCycles": 0,
"jobs": 0,
"retainArchiverDataForDays": 0,
"retainBackupDataForDays": 0,
"retentionFlags": {
"enableDataAging": "string",
"jobBasedRetention": "string"
}
},
"StoragePolicyCopy": {
"copyId": 0,
"copyName": "string"
},
"extendedFlags": {
"overRideGACPRetention": "string",
"useGlobalStoragePolicy": "string"
},
"drivePool": {
"drivePoolName": "string",
"drivePoolId": 0
},
"copyFlags": {},
"library": {
"libraryName": "string",
"libraryId": 0
},
"startTime": {
"time": 0
},
"useGlobalPolicy": {
"storagePolicyName": "string",
"storagePolicyId": 0
}
}
]
},
"plan": {
"planSummary": "string",
"planName": "string",
"planId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
},
"RPOHours": "string",
"NumberOfCopies": "string",
"PrimaryStorageRetention": "string",
"PrimaryStorageType": "string",
"AssociatedEntitiesCount": "string"
}
}
},
"planName": "string",
"type": "string",
"selected": true
},
"subclientInfo": {
"useLocalContent": true,
"contentOperationType": 0,
"content": [
{
"path": "string"
}
],
"fsSubClientProp": {
"useGlobalFilters": "USE_CELL_LEVEL_POLICY"
}
},
"distributedClusterInstanceProperties": {
"clusterType": 2,
"opType": 2,
"instance": {
"instanceId": 0,
"instanceName": "string",
"clientName": "string",
"applicationId": 64
},
"clusterConfig": {
"hadoopConfig": {
"coordinatorNode": {
"hostName": "string",
"clientId": 0,
"clientName": "string",
"displayName": "string",
"selected": true
},
"hadoopSites": {
"hadoopSites": [
{
"hdfsHost": "string",
"hdfsUser": "string"
}
]
}
}
},
"dataAccessNodes": {
"dataAccessNodes": [
{
"hostName": "string",
"clientId": 0,
"clientName": "string",
"displayName": "string",
"selected": true
}
]
}
}
},
"entity": {
"clientName": "string"
}
}
}'
curl -L -X POST 'https://localhost/commandcenter/api/Client/Hadoop' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"createPseudoClientRequest": {
"clientInfo": {
"clientType": 0,
"plan": {
"planId": 0,
"optionText": {
"props": {
"isMultiple": true,
"planEntity": {
"numCopies": 0,
"type": "string",
"subtype": "string",
"numAssocEntities": 0,
"rpoInMinutes": 0,
"parent": {},
"storage": {
"copy": [
{
"copyType": "string",
"active": "string",
"isDefault": "string",
"isSnapCopy": "string",
"isMirrorCopy": "string",
"wormStorageFlag": 0,
"poolRetentionPeriodDays": 0,
"copyPrecedence": 0,
"storagePoolType": "string",
"storageType": 0,
"dedupeFlags": {},
"retentionRules": {
"retainBackupDataForCycles": 0,
"jobs": 0,
"retainArchiverDataForDays": 0,
"retainBackupDataForDays": 0,
"retentionFlags": {
"enableDataAging": "string",
"jobBasedRetention": "string"
}
},
"StoragePolicyCopy": {
"copyId": 0,
"copyName": "string"
},
"extendedFlags": {
"overRideGACPRetention": "string",
"useGlobalStoragePolicy": "string"
},
"drivePool": {
"drivePoolName": "string",
"drivePoolId": 0
},
"copyFlags": {},
"library": {
"libraryName": "string",
"libraryId": 0
},
"startTime": {
"time": 0
},
"useGlobalPolicy": {
"storagePolicyName": "string",
"storagePolicyId": 0
}
}
]
},
"plan": {
"planSummary": "string",
"planName": "string",
"planId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
},
"RPOHours": "string",
"NumberOfCopies": "string",
"PrimaryStorageRetention": "string",
"PrimaryStorageType": "string",
"AssociatedEntitiesCount": "string"
}
}
},
"planName": "string",
"type": "string",
"selected": true
},
"subclientInfo": {
"useLocalContent": true,
"contentOperationType": 0,
"content": [
{
"path": "string"
}
],
"fsSubClientProp": {
"useGlobalFilters": "USE_CELL_LEVEL_POLICY"
}
},
"distributedClusterInstanceProperties": {
"clusterType": 2,
"opType": 2,
"instance": {
"instanceId": 0,
"instanceName": "string",
"clientName": "string",
"applicationId": 64
},
"clusterConfig": {
"hadoopConfig": {
"coordinatorNode": {
"hostName": "string",
"clientId": 0,
"clientName": "string",
"displayName": "string",
"selected": true
},
"hadoopSites": {
"hadoopSites": [
{
"hdfsHost": "string",
"hdfsUser": "string"
}
]
}
}
},
"dataAccessNodes": {
"dataAccessNodes": [
{
"hostName": "string",
"clientId": 0,
"clientName": "string",
"displayName": "string",
"selected": true
}
]
}
}
},
"entity": {
"clientName": "string"
}
}
}'
curl -L -X POST 'https://localhost/commandcenter/api/Client/Hadoop' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"createPseudoClientRequest": {
"clientInfo": {
"clientType": 0,
"plan": {
"planId": 0,
"optionText": {
"props": {
"isMultiple": true,
"planEntity": {
"numCopies": 0,
"type": "string",
"subtype": "string",
"numAssocEntities": 0,
"rpoInMinutes": 0,
"parent": {},
"storage": {
"copy": [
{
"copyType": "string",
"active": "string",
"isDefault": "string",
"isSnapCopy": "string",
"isMirrorCopy": "string",
"wormStorageFlag": 0,
"poolRetentionPeriodDays": 0,
"copyPrecedence": 0,
"storagePoolType": "string",
"storageType": 0,
"dedupeFlags": {},
"retentionRules": {
"retainBackupDataForCycles": 0,
"jobs": 0,
"retainArchiverDataForDays": 0,
"retainBackupDataForDays": 0,
"retentionFlags": {
"enableDataAging": "string",
"jobBasedRetention": "string"
}
},
"StoragePolicyCopy": {
"copyId": 0,
"copyName": "string"
},
"extendedFlags": {
"overRideGACPRetention": "string",
"useGlobalStoragePolicy": "string"
},
"drivePool": {
"drivePoolName": "string",
"drivePoolId": 0
},
"copyFlags": {},
"library": {
"libraryName": "string",
"libraryId": 0
},
"startTime": {
"time": 0
},
"useGlobalPolicy": {
"storagePolicyName": "string",
"storagePolicyId": 0
}
}
]
},
"plan": {
"planSummary": "string",
"planName": "string",
"planId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
},
"RPOHours": "string",
"NumberOfCopies": "string",
"PrimaryStorageRetention": "string",
"PrimaryStorageType": "string",
"AssociatedEntitiesCount": "string"
}
}
},
"planName": "string",
"type": "string",
"selected": true
},
"subclientInfo": {
"useLocalContent": true,
"contentOperationType": 0,
"content": [
{
"path": "string"
}
],
"fsSubClientProp": {
"useGlobalFilters": "USE_CELL_LEVEL_POLICY"
}
},
"distributedClusterInstanceProperties": {
"clusterType": 2,
"opType": 2,
"instance": {
"instanceId": 0,
"instanceName": "string",
"clientName": "string",
"applicationId": 64
},
"clusterConfig": {
"hadoopConfig": {
"coordinatorNode": {
"hostName": "string",
"clientId": 0,
"clientName": "string",
"displayName": "string",
"selected": true
},
"hadoopSites": {
"hadoopSites": [
{
"hdfsHost": "string",
"hdfsUser": "string"
}
]
}
}
},
"dataAccessNodes": {
"dataAccessNodes": [
{
"hostName": "string",
"clientId": 0,
"clientName": "string",
"displayName": "string",
"selected": true
}
]
}
}
},
"entity": {
"clientName": "string"
}
}
}'
curl -L -X POST 'https://localhost/commandcenter/api/Client/Hadoop' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"createPseudoClientRequest": {
"clientInfo": {
"clientType": 0,
"plan": {
"planId": 0,
"optionText": {
"props": {
"isMultiple": true,
"planEntity": {
"numCopies": 0,
"type": "string",
"subtype": "string",
"numAssocEntities": 0,
"rpoInMinutes": 0,
"parent": {},
"storage": {
"copy": [
{
"copyType": "string",
"active": "string",
"isDefault": "string",
"isSnapCopy": "string",
"isMirrorCopy": "string",
"wormStorageFlag": 0,
"poolRetentionPeriodDays": 0,
"copyPrecedence": 0,
"storagePoolType": "string",
"storageType": 0,
"dedupeFlags": {},
"retentionRules": {
"retainBackupDataForCycles": 0,
"jobs": 0,
"retainArchiverDataForDays": 0,
"retainBackupDataForDays": 0,
"retentionFlags": {
"enableDataAging": "string",
"jobBasedRetention": "string"
}
},
"StoragePolicyCopy": {
"copyId": 0,
"copyName": "string"
},
"extendedFlags": {
"overRideGACPRetention": "string",
"useGlobalStoragePolicy": "string"
},
"drivePool": {
"drivePoolName": "string",
"drivePoolId": 0
},
"copyFlags": {},
"library": {
"libraryName": "string",
"libraryId": 0
},
"startTime": {
"time": 0
},
"useGlobalPolicy": {
"storagePolicyName": "string",
"storagePolicyId": 0
}
}
]
},
"plan": {
"planSummary": "string",
"planName": "string",
"planId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
},
"RPOHours": "string",
"NumberOfCopies": "string",
"PrimaryStorageRetention": "string",
"PrimaryStorageType": "string",
"AssociatedEntitiesCount": "string"
}
}
},
"planName": "string",
"type": "string",
"selected": true
},
"subclientInfo": {
"useLocalContent": true,
"contentOperationType": 0,
"content": [
{
"path": "string"
}
],
"fsSubClientProp": {
"useGlobalFilters": "USE_CELL_LEVEL_POLICY"
}
},
"distributedClusterInstanceProperties": {
"clusterType": 2,
"opType": 2,
"instance": {
"instanceId": 0,
"instanceName": "string",
"clientName": "string",
"applicationId": 64
},
"clusterConfig": {
"hadoopConfig": {
"coordinatorNode": {
"hostName": "string",
"clientId": 0,
"clientName": "string",
"displayName": "string",
"selected": true
},
"hadoopSites": {
"hadoopSites": [
{
"hdfsHost": "string",
"hdfsUser": "string"
}
]
}
}
},
"dataAccessNodes": {
"dataAccessNodes": [
{
"hostName": "string",
"clientId": 0,
"clientName": "string",
"displayName": "string",
"selected": true
}
]
}
}
},
"entity": {
"clientName": "string"
}
}
}'