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