apache / apache/pulsar

Pulsar does not run after the first time - standalone mode

Open
#13,294 11 comments 0 reactions 0 assignees View on GitHub
lifecycle/stale Stale type/bug
Dominant language
Java
Stars
15.3k
Forks
3.8k
Avg merge
1d 14h
Merged PRs (30d)
160

Description

**Describe the bug**
I've downloaded version 2.8.1 and started once with success on standalone mode. But, when a tried to producer and consumer on Java this not work. There seems not connect on Java and locking my app without any logs. Still, when stopping Apache and trying to run again, some exceptions occur and it doesn't run.

**To Reproduce**
Steps to reproduce the behavior:
1 start Pulsar standalone mode
2 try to connect, produce and consume any messages in any topic (here doesn't work the consumer)
3 stop Pulsar standalone
4 try to start Pulsar standalone mode (screenshots exceptions bellow)

**Expected behavior**
- after stops, achieve to run Pulsar again
- on simple Java test classes, connect, produce and consume messages

**Screenshots**
![Captura de tela de 2021-12-14 10-20-15](https://user-images.githubusercontent.com/2352110/146006793-8c562381-7b1c-4c0f-bdef-4fb0f676808a.png)
![Captura de tela de 2021-12-14 10-20-21](https://user-images.githubusercontent.com/2352110/146006803-5a842b1d-d3a2-4ad8-aab7-2355aa84e471.png)
![Captura de tela de 2021-12-14 10-20-38](https://user-images.githubusercontent.com/2352110/146006811-12eddd92-580c-4eec-af09-b7d4570c40ea.png)
![Captura de tela de 2021-12-14 10-20-47](https://user-images.githubusercontent.com/2352110/146006815-953429f6-45ab-4a5e-b3cb-634ff072e177.png)
![Captura de tela de 2021-12-14 10-20-57](https://user-images.githubusercontent.com/2352110/146006819-f3565fd5-9174-47bc-9a9d-174418ae6618.png)
![Captura de tela de 2021-12-14 10-21-08](https://user-images.githubusercontent.com/2352110/146006829-856059fc-f42d-4d39-86df-4a426e26af1f.png)
![Captura de tela de 2021-12-14 10-21-14](https://user-images.githubusercontent.com/2352110/146006832-cc633a56-7d40-4889-be05-0de9b2b3fe5a.png)
![Captura de tela de 2021-12-14 10-21-20](https://user-images.githubusercontent.com/2352110/146006835-03f11970-3910-462f-969e-5f3135847212.png)
![Captura de tela de 2021-12-14 10-21-30](https://user-images.githubusercontent.com/2352110/146006841-4ac46f5d-b395-4b70-aa24-f40fe790a0f7.png)
![error-1](https://user-images.githubusercontent.com/2352110/146006847-0e231922-76f8-4898-b044-92ae28b7050a.png)

**Desktop (please complete the following information):**
- SO: Distributor ID: Ubuntu 20.04.3 LTS
- Java 11

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the standalone-mode sequence on Ubuntu 20.04.3 with Java 11: start Pulsar, connect with the Java producer and consumer, stop it, and start it again while recording the exceptions and connection behavior shown in the screenshots. Done means standalone mode restarts successfully and the Java client can produce and consume messages.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.