> 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/update/hdfs.md).

# Hdfs

{% code fullWidth="true" %}

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

USAGE:
   singularity storage update hdfs [オプション] <名前|ID>

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

      例: "namenode:8020" は、ポート 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)を参照してください。

オプション:
   --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]

```

{% 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/update/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.
