[STORM-3882] Continuously worker EventThread shut down when storm is running

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
18/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
java

調査の方向性

まず Storm 2.4.0 の worker の動作を再現し、添付された Curator/ZooKeeper のログシーケンスを確認します。特に backgroundOperationsLoop と EventThread のシャットダウンを確認してください。worker がいつ client を作成して閉じるのかを追跡し、繰り返されるシャットダウンが想定されたものか、障害を示しているのかを判断します。完了には、確認済みの説明、または回帰テストを含む再現可能な修正が必要です。

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

説明

bug imported-jira-issue

Hi everyone,

 

I have deployed a storm 2.4.0 cluster on my dev machine. However, when I look up the worker's log, I found that every half minute, there is a continuously zookeeper shutdown phenomenon. 

 

While I have listened the zookeeper port, the connection number is remain the same in a long period of time, which represents that the connection between storm nimbus and zookeeper is stable.

 

The log record is attached as below, may I know why this zookeeper shut down phenomenon happens? And is it means something failed or it is a normal thing?

 

Thx!

 

2022-09-19 23:01:28.475 o.a.s.z.ClientZookeeper main [INFO] Starting ZK Curator
2022-09-19 23:01:28.476 o.a.s.s.o.a.c.f.i.CuratorFrameworkImpl main [INFO] Starting
2022-09-19 23:01:28.493 o.a.s.s.o.a.z.ZooKeeper main [INFO] Initiating client connection, connectString=127.0.0.1:2182 sessionTimeout=20000 watcher=org.apache.storm.shade.org.apache.curator.ConnectionState@528c868
2022-09-19 23:01:28.507 o.a.s.s.o.a.z.c.X509Util main [INFO] Setting -D jdk.tls.rejectClientInitiatedRenegotiation=true to disable client-initiated TLS renegotiation
2022-09-19 23:01:28.524 o.a.s.s.o.a.z.ClientCnxnSocket main [INFO] jute.maxbuffer value is 4194304 Bytes
2022-09-19 23:01:28.539 o.a.s.s.o.a.z.ClientCnxn main [INFO] zookeeper.request.timeout value is 0. feature enabled=
2022-09-19 23:01:28.561 o.a.s.s.o.a.c.f.i.CuratorFrameworkImpl main [INFO] Default schema
2022-09-19 23:01:28.564 o.a.s.s.o.a.z.ClientCnxn main-SendThread(127.0.0.1:2182) [INFO] Opening socket connection to server VM-24-50-centos/127.0.0.1:2182. Will not attempt to authenticate using SASL (unknown error)
2022-09-19 23:01:28.575 o.a.s.s.o.a.z.ClientCnxn main-SendThread(127.0.0.1:2182) [INFO] Socket connection established, initiating session, client: /127.0.0.1:51751, server: VM-24-50-centos/127.0.0.1:2182
2022-09-19 23:01:28.585 o.a.s.s.o.a.z.ClientCnxn main-SendThread(127.0.0.1:2182) [INFO] Session establishment complete on server VM-24-50-centos/127.0.0.1:2182, sessionid = 0x10b2a6dab680068, negotiated timeout = 20000
2022-09-19 23:01:28.591 o.a.s.s.o.a.c.f.s.ConnectionStateManager main-EventThread [INFO] State change: CONNECTED
2022-09-19 23:01:28.619 o.a.s.s.o.a.c.f.i.EnsembleTracker main-EventThread [INFO] New config event received: {}
2022-09-19 23:01:28.620 o.a.s.s.o.a.c.f.i.EnsembleTracker main-EventThread [INFO] New config event received: {}
2022-09-19 23:01:28.625 o.a.s.s.o.a.c.f.i.CuratorFrameworkImpl Curator-Framework-0 [INFO] backgroundOperationsLoop exiting
2022-09-19 23:01:28.735 o.a.s.s.o.a.z.ZooKeeper main [INFO] Session: 0x10b2a6dab680068 closed
2022-09-19 23:01:28.735 o.a.s.s.o.a.z.ClientCnxn main-EventThread [INFO] EventThread shut down for session: 0x10b2a6dab680068 

Originally reported by davinci2333, imported from: Continuously worker EventThread shut down when storm is running
  • status: Open
  • priority: Major
  • resolution: Unresolved
  • imported: 2025-01-24
主要言語
Java
スター
6.7k
フォーク
4k
平均マージ
1日 5時間
マージ済み PR(30日)
86

環境構築

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

はじめの一歩

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

apache/storm のほかの issue

apache/storm の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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