eolivelli opened a new pull request #12667:
URL: https://github.com/apache/pulsar/pull/12667
Master Issue: #12645
### Motivation
When Pulsar loads .jar file, it tries to unpack it a .nar and then it prints
out the stack trace in #12645, that is very misleading.
### Modifications
Detect the fact that we are going to load a .nar file, and do not try to
unpack it if it is clear that it is not a .nar file.
We are going to preserve partially the previous behaviour and in case of
FileNotFound we fallback to loading the file as .jar file as before.
### Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
### Does this pull request potentially affect one of the following parts:
### Documentation
Check the box below and label this PR (if you have committer privilege).
Need to update docs?
- [x] `no-need-doc`
It is a small enhancement in logging
--
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]