Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix integration test due to invalid package storage path #898

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

gaoran10
Copy link
Collaborator

Motivation

Error logs

2024-04-25T03:10:09,336+0000 [main] ERROR org.apache.pulsar.broker.PulsarService - Failed to start Pulsar service: Failed to create base storage directory at packages-storage
java.lang.RuntimeException: Failed to create base storage directory at packages-storage
	at org.apache.pulsar.packages.management.storage.filesystem.FileSystemPackagesStorage.initialize(FileSystemPackagesStorage.java:75) ~[io.streamnative-pulsar-package-filesystem-storage-3.3.0-SNAPSHOT.jar:3.3.0-SNAPSHOT]
	at org.apache.pulsar.broker.PulsarService.startPackagesManagementService(PulsarService.java:1799) ~[io.streamnative-pulsar-broker-3.3.0-SNAPSHOT.jar:3.3.0-SNAPSHOT]
	at org.apache.pulsar.broker.PulsarService.start(PulsarService.java:933) [io.streamnative-pulsar-broker-3.3.0-SNAPSHOT.jar:3.3.0-SNAPSHOT]
	at org.apache.pulsar.PulsarStandalone.start(PulsarStandalone.java:352) [io.streamnative-pulsar-broker-3.3.0-SNAPSHOT.jar:3.3.0-SNAPSHOT]
	at org.apache.pulsar.PulsarStandaloneStarter.main(PulsarStandaloneStarter.java:149) [io.streamnative-pulsar-broker-3.3.0-SNAPSHOT.jar:3.3.0-SNAPSHOT]
2024-04-25T03:10:09,336+0000 [main] ERROR org.apache.pulsar.PulsarStandaloneStarter - Failed to start pulsar service.
org.apache.pulsar.broker.PulsarServerException: java.lang.RuntimeException: Failed to create base storage directory at packages-storage
	at org.apache.pulsar.broker.PulsarService.start(PulsarService.java:966) ~[io.streamnative-pulsar-broker-3.3.0-SNAPSHOT.jar:3.3.0-SNAPSHOT]
	at org.apache.pulsar.PulsarStandalone.start(PulsarStandalone.java:352) ~[io.streamnative-pulsar-broker-3.3.0-SNAPSHOT.jar:3.3.0-SNAPSHOT]
	at org.apache.pulsar.PulsarStandaloneStarter.main(PulsarStandaloneStarter.java:149) [io.streamnative-pulsar-broker-3.3.0-SNAPSHOT.jar:3.3.0-SNAPSHOT]
Caused by: java.lang.RuntimeException: Failed to create base storage directory at packages-storage
	at org.apache.pulsar.packages.management.storage.filesystem.FileSystemPackagesStorage.initialize(FileSystemPackagesStorage.java:75) ~[io.streamnative-pulsar-package-filesystem-storage-3.3.0-SNAPSHOT.jar:3.3.0-SNAPSHOT]
	at org.apache.pulsar.broker.PulsarService.startPackagesManagementService(PulsarService.java:1799) ~[io.streamnative-pulsar-broker-3.3.0-SNAPSHOT.jar:3.3.0-SNAPSHOT]
	at org.apache.pulsar.broker.PulsarService.start(PulsarService.java:933) ~[io.streamnative-pulsar-broker-3.3.0-SNAPSHOT.jar:3.3.0-SNAPSHOT]
	... 2 more

Modifications

Add package store path in the image.

Documentation

Check the box below.

Need to update docs?

  • doc-required

    (If you need help on updating docs, create a doc issue)

  • no-need-doc

    (Please explain why)

  • doc

    (If this PR contains doc changes)

@gaoran10 gaoran10 requested a review from a team as a code owner April 25, 2024 08:37
@github-actions github-actions bot added the no-need-doc This pr does not need any document label Apr 25, 2024
@gaoran10 gaoran10 changed the title Fix integration test Fix integration test due to invalid package storage path Apr 25, 2024
@gaoran10 gaoran10 merged commit 559c789 into master Apr 25, 2024
4 checks passed
@delete-merged-branch delete-merged-branch bot deleted the gaoran/fix-package-store-path branch April 25, 2024 09:25
gaoran10 added a commit that referenced this pull request Apr 25, 2024
gaoran10 added a commit that referenced this pull request Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants