> For the complete documentation index, see [llms.txt](https://data-programs.gitbook.io/singularity/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://data-programs.gitbook.io/singularity/jp/cli-reference/storage/create/hdfs.md).

# Hdfs

{% code fullWidth="true" %}

```
NAME:
   singularity storage create hdfs - Hadoop分散ファイルシステム

USAGE:
   singularity storage create hdfs [command options] [arguments...]

DESCRIPTION:
   --namenode
      Hadoop名ノードとポート。

      例: ポート8020でホスト名ノードに接続する場合は「namenode:8020」。

   --username
      Hadoopユーザ名。

      例:
         | root | rootとしてhdfsに接続する。

   --service-principal-name
      ネームノードのKerberosサービス主体名。

      KERBEROS認証を有効にします。サービスプリンシパル名（SERVICE/FQDN）を指定します。
      例: 「hdfs/namenode.hadoop.docker」は、サービスが「hdfs」でFQDNが「namenode.hadoop.docker」
      のネームノードを指します。

   --data-transfer-protection
      Kerberosデータ転送保護: authentication|integrity|privacy。

      データノード間の通信において、認証、データ署名の整合性チェック、ワイヤ暗号化が必要かどうかを指定します。
      可能な値は「authentication」、「integrity」および「privacy」です。KERBEROSが有効な場合のみ使用します。

      例:
         | privacy | 認証、整合性、暗号化が有効になっていることを保証します。

   --encoding
      バックエンドのエンコーディング。

      詳細は[概要のエンコーディングセクション](/overview/#encoding)を参照してください。


OPTIONS:
   --help, -h        ヘルプを表示
   --namenode value  Hadoop名ノードとポート。 [$NAMENODE]
   --username value  Hadoopユーザ名。 [$USERNAME]

   Advanced

   --data-transfer-protection value  Kerberosデータ転送保護: authentication|integrity|privacy。 [$DATA_TRANSFER_PROTECTION]
   --encoding value                  バックエンドのエンコーディング。 (デフォルト: "Slash,Colon,Del,Ctl,InvalidUtf8,Dot") [$ENCODING]
   --service-principal-name value    ネームノードのKerberosサービス主体名。 [$SERVICE_PRINCIPAL_NAME]

   General

   --name value  ストレージの名前（デフォルト: 自動生成）
   --path value  ストレージのパス

```

{% endcode %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://data-programs.gitbook.io/singularity/jp/cli-reference/storage/create/hdfs.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
