get-hadoop-cluster-info
- Print
- PDF
get-hadoop-cluster-info
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
It views each node information and connection information of Hadoop Cluster in Data Box.
GET https://{endpoint}/data-box/get-hadoop-cluster-info
Requests
Request parameters
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
dataBoxFrameNo | Yes | Integer | Data Box Frame number | |
dataBoxNo | Yes | Integer | Data Box number | |
instanceNo | Yes | Integer | Hadoop instance no |
Responses
HTTP status code | Description |
---|---|
200 | Success |
400 | Request information error |
401 | Authentication failed |
403 | No permission to request information |
404 | Resource not found |
500 | Server error |
Examples
Request examples
https://databoxframe.apigw.ntruss.com/api/v1/data-box/get-hadoop-cluster-info?dataBoxFrameNo=1045&dataBoxNo=198&instanceNo=*****
Response examples
{
"specList": [
{
"name": "Hadoop Edge",
"spec": "Hadoop Linux Server (S4-H1 : 4vCPU 16GB Mem)",
"nodeCount": 1
},
{
"name": "Hadoop Master",
"spec": "Hadoop Linux Server (S4-H1 : 4vCPU 16GB Mem)",
"nodeCount": 2
},
{
"name": "Hadoop Worker",
"spec": "Hadoop Linux Server (S4-H1 : 4vCPU 16GB Mem)",
"nodeCount": 2
}
],
"connectionList": [
{
"applicationName": "Ambari",
"connectionUrl": "https://-.-.-.-:8443"
},
{
"applicationName": "Hue",
"connectionUrl": "https://-.-.-.-:8081"
},
{
"applicationName": "Zeppelin",
"connectionUrl": "https://-.-.-.-:9996"
}
],
"storageList": [
{
"name": "NAS for export",
"storagePath": "/mnt/nasw198n1"
}
]
}
Properties
Items | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
specList.name | Yes | String | Hadoop node name | |
specList.spec | Yes | String | Hadoop node spec name | |
specList.nodeCount | Yes | Integer | Hadoop node name | |
connectionList.applicationName | Yes | String | Application name of access target | |
connectionList.connectionUrl | Yes | String | Application access URL | |
storageList.name | Yes | String | NAS storage name | |
storageList.storagePath | Yes | String | NAS mount path |
Errors
HTTP Status Code | Return code | Description |
---|---|---|
200 | - | Successful normal request |
400 | 10001, 130*** | Request information and parameter error |
403 | 10002 | No permission to request information |
404 | 10009 | Resource not found |
500 | 130000 | Service internal error |
500 | 139999 | Integration service API call error |
Was this article helpful?