> 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
