Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

NameNode UI only listens on HOSTNAME:9870

オープン
#438 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
kubernetes

調査の方向性

DFSUtil.httpServerTemplateForNNAndJN と HttpServer2.bindListener 周辺の NameNode HTTP セットアップから始め、次に DatanodeHttpServer.start で報告されている DataNode の動作と比較します。127.0.0.1:9870 とサービスのホスト名へのリクエストを再現し、NameNode UI が pod のホスト名を必要とせずに localhost 経由のアクセスと kubectl port-forwarding を受け入れれば、issue は完了とします。

索引モデルが issue の本文から書いたものです。

説明

size/S type/bug

The UI of the NameNode is only accessible via http://HOSTNAME:9870/ but not localhost or 127.0.0.1.

Port-forwarding with kubectl does not work and proxies, like the oauth-proxy, must specify the hostname.

NameNode logs:

INFO  hdfs.DFSUtil (DFSUtil.java:httpServerTemplateForNNAndJN(1716)) - Starting Web-server for hdfs at: http://simple-hdfs-namenode-default-0.simple-hdfs-namenode-default.default.svc.cluster.local:9870
INFO  http.HttpServer2 (HttpServer2.java:bindListener(1355)) - Jetty bound to port 9870

Trying to access the UI on 127.0.0.1:

$ kubectl exec -ti simple-hdfs-namenode-default-0 -c namenode -- curl -L -I http://127.0.0.1:9870/
curl: (7) Failed to connect to 127.0.0.1 port 9870: Connection refused

On the other hand, the UI of the DataNode listens on 0.0.0.0:

INFO  web.DatanodeHttpServer (DatanodeHttpServer.java:start(318)) - Listening HTTP traffic on /0.0.0.0:9864

and can be accessed via 127.0.0.1:

$ kubectl exec -ti simple-hdfs-datanode-default-0 -c datanode -- curl -L -I http://127.0.0.1:9864/
HTTP/1.1 302 Found
主要言語
Rust
スター
53
フォーク
10
平均マージ
1日 5時間
マージ済み PR(30日)
10

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

stackabletech/hdfs-operator のほかの issue

stackabletech/hdfs-operator の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。