nicoloboschi commented on issue #22440:
URL: https://github.com/apache/pulsar/issues/22440#issuecomment-2039624122

   @lhotari I agree with you that we should check if the directory is writable 
instead of throwing error. 
   
   The directory is also used for storing cluster connection parameters when 
[you create a 
config](https://pulsar.apache.org/docs/next/administration-pulsar-shell/#connect-to-your-cluster).
   
   I think we can do two things (maybe both)
   1. Add a WARNING log saying that "new configs and history will be lost after 
you close the session"
   2. Create an ad-hoc directory for the docker image (/pulsar/pulsar-shell) 
and adjust the code to look for that directory too ("user.dir"/"pulsar-shell")


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to