NameNode UI only listens on HOSTNAME:9870
メンテナーはふだん 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 の本文から書いたものです。
説明
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 ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
stackabletech/hdfs-operator のほかの issue
-
Topology Provider permissions briefly dropped during reconciliation when the reflector watch resetsオープンtype/bug
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
stackabletech/hdfs-operator#774 ·
メンテナーはふだん 1 日以内に返信
-
type/bug
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
stackabletech/hdfs-operator#773 ·
メンテナーはふだん 1 日以内に返信
-
type/internal-debt
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
stackabletech/hdfs-operator#769 ·
メンテナーはふだん 1 日以内に返信
-
type/bug
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
stackabletech/hdfs-operator#763 ·
メンテナーはふだん 1 日以内に返信
-
type/bug
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
stackabletech/hdfs-operator#712 ·
メンテナーはふだん 1 日以内に返信
stackabletech/hdfs-operator の issue をすべて見る
似ている issue
-
security-scan
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
content good first issue
難易度 2/5 1時間未満 初心者へのやさしさ 68/100
StudentSuite/awesome-skills-plugins-for-students#293 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
gfx-rs/wgpu-native#636 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信