get-hadoop-cluster-info
    • PDF

    get-hadoop-cluster-info

    • PDF

    Article summary

    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 nameRequirement statusTypeRestrictionsDescription
    dataBoxFrameNoYesIntegerData Box Frame number
    dataBoxNoYesIntegerData Box number
    instanceNoYesIntegerHadoop instance no

    Responses

    HTTP status codeDescription
    200Success
    400Request information error
    401Authentication failed
    403No permission to request information
    404Resource not found
    500Server 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

    ItemsRequirement statusTypeRestrictionsDescription
    specList.nameYesStringHadoop node name
    specList.specYesStringHadoop node spec name
    specList.nodeCountYesIntegerHadoop node name
    connectionList.applicationNameYesStringApplication name of access target
    connectionList.connectionUrlYesStringApplication access URL
    storageList.nameYesStringNAS storage name
    storageList.storagePathYesStringNAS mount path

    Errors

    HTTP Status CodeReturn codeDescription
    200-Successful normal request
    40010001,
    130***
    Request information and parameter error
    40310002No permission to request information
    40410009Resource not found
    500130000Service internal error
    500139999Integration service API call error

    Was this article helpful?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.