GitHub user longquanzheng added a comment to the discussion: Cannot run pulsar 
using Docker-compose in Github Actions

Hi Jiwei, thanks for the response. 
The problem only exists in Github action. Running it locally is fine. 

You made a good point for debugging. 
I dump the docker logs in GH action and see the errors:


```
  2023-09-28T02:07:30,311+0000 [PurgeTask] ERROR 
org.apache.zookeeper.server.DatadirCleanupManager - Error occurred while 
purging.
  org.apache.zookeeper.server.persistence.FileTxnSnapLog$DatadirException: 
Unable to create data directory data/zookeeper/version-2
        at 
org.apache.zookeeper.server.persistence.FileTxnSnapLog.<init>(FileTxnSnapLog.java:136)
 ~[org.apache.zookeeper-zookeeper-3.8.1.jar:3.8.1]
        at org.apache.zookeeper.server.PurgeTxnLog.purge(PurgeTxnLog.java:80) 
~[org.apache.zookeeper-zookeeper-3.8.1.jar:3.8.1]
        at 
org.apache.zookeeper.server.DatadirCleanupManager$PurgeTask.run(DatadirCleanupManager.java:141)
 ~[org.apache.zookeeper-zookeeper-3.8.1.jar:3.8.1]
        at java.util.TimerThread.mainLoop(Timer.java:566) ~[?:?]
        at java.util.TimerThread.run(Timer.java:516) ~[?:?]
```


GitHub link: 
https://github.com/apache/pulsar/discussions/21261#discussioncomment-7129161

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to