You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/09/26 09:51:29 UTC
[GitHub] [pulsar] asagjj opened a new issue #12199: User can only excute bin/pulsar in $PULSAR_HOME
asagjj opened a new issue #12199:
URL: https://github.com/apache/pulsar/issues/12199
Similiar as ISSUE-5650.
#### Expected behavior
when use bin/pulsar shell, like generate public key or token, we should can excute it in any dirs and specify a relative path.
#### Actual behavior
If current dir is not $PULSAR_HOME, the relative path specified for bin/pulsar,will not work, throw exception like "file doesn't exist"
#### Steps to reproduce
1、cd $PULSAR_HOME/bin;
2、./pulsar tokens create --secret-key ../token_key/my-secret.key --subject pulsar
How can we reproduce the issue
#### System configuration
**Pulsar version**: 2.8.2
Maybe we should remove [change the working directory?](https://github.com/apache/pulsar/blob/master/bin/pulsar#:~:text=support%20relative%20paths-,cd%20%22%24PULSAR_HOME%22,-if%20%5B%20%24COMMAND%20%3D%3D%20%22broker)
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] github-actions[bot] commented on issue #12199: User can only excute bin/pulsar in $PULSAR_HOME
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #12199:
URL: https://github.com/apache/pulsar/issues/12199#issuecomment-1053791939
The issue had no activity for 30 days, mark with Stale label.
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org