--- title: "get-hadoop-cluster-info" slug: "get-hadoop-cluster-info-1" updated: 2026-09-17T09:57:32Z published: 2026-09-17T09:57:32Z canonical: "api.ncloud-docs.com/get-hadoop-cluster-info-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # get-hadoop-cluster-info VPC環境で利用できます。 Boxの Hadoopクラスタ情報を照会します。 ## リクエスト リクエスト形式を説明します。リクエスト形式は次の通りです。 | メソッド | URI | | --- | --- | | GET | /api/v1/box/get-hadoop-cluster-info | ### リクエストヘッダ Datafence APIで共通して使用されるヘッダの詳細は、[Datafenceのリクエストヘッダ](/docs/ja/datafence-overview#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)をご参照ください。 ### リクエストクエリパラメータ リクエストクエリパラメータの説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `fenceId` | Integer | Required | Datafence番号 - [get-datafence](/docs/ja/get-datafence)を参照 | | `boxId` | Integer | Required | Box番号 - [get-box-list](/docs/ja/get-box-list)を参照 | | `hadoopClusterNo` | Integer | Required | Hadoopクラスタ番号 - [get-box-infra-list](/docs/ja/get-box-infra-list)を参照 - `infraType`が`HD`のインフラの`instanceNo`を入力 | ### リクエスト例 リクエストのサンプルコードは次の通りです。 ``` curl --location --request GET 'https://datafence.apigw.ntruss.com/api/v1/box/get-hadoop-cluster-info?fenceId=26&boxId=74&hadoopClusterNo=*********' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' ``` ## レスポンス レスポンス形式を説明します。 ### レスポンスボディ レスポンスボディの説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `connectionList` | Array | - | Hadoopクラスタアプリケーション情報: [connectionList](/docs/ja/get-hadoop-cluster-info-1#connectionList) | | `nodeSpecList` | Array | - | Hadoopノード情報: [nodeSpecList](/docs/ja/get-hadoop-cluster-info-1#nodeSpecList) | | `storageList` | Array | - | Hadoopクラスタストレージ情報: [storageList](/docs/ja/get-hadoop-cluster-info-1#storageList) | #### `connectionList` `connectionList`の説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `applicationName` | String | - | Hadoopクラスタアプリケーション名 | | `connectionUrl` | String | - | アプリケーション接続 URL | #### `nodeSpecList` `nodeSpecList`の説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `name` | String | - | Hadoopクラスタノードタイプ | | `spec` | String | - | ノードスペック名 - [get-product-spec](/docs/ja/get-product-spec)を参照 | | `nodeCount` | Integer | - | ノードサーバ数 | #### `storageList` `storageList`の説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `name` | String | - | NASストレージ名 | | `storagePath` | String | - | マウントのパス | ### レスポンスステータスコード Datafence APIで共通して使用されるレスポンスステータスコードの詳細は、[Datafence APIのレスポンスステータスコード](/docs/ja/datafence-overview#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)をご参照ください。 ### レスポンス例 レスポンスのサンプルコードは次の通りです。 ``` { "connectionList": [ { "applicationName": "Ambari", "connectionUrl": "https://10.0.0.75:8443/ambari" } ], "nodeSpecList": [ { "name": "Hadoop Edge", "spec": "Hadoop Linux Server (C8-H1 : 8vCPU 16GB Mem)", "nodeCount": 1 }, { "name": "Hadoop Master", "spec": "Hadoop Linux Server (C8-H1 : 8vCPU 16GB Mem)", "nodeCount": 2 }, { "name": "Hadoop Worker", "spec": "Hadoop Linux Server (C8-H1 : 8vCPU 16GB Mem)", "nodeCount": 2 } ], "storageList": [ { "name": "持ち出し申請用 NAS", "storagePath": "/mnt/74box1" } ] } ```