flowchartsman opened a new issue, #18966:
URL: https://github.com/apache/pulsar/issues/18966

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) 
and found nothing similar.
   
   
   ### Version
   
   Pulsar v2.10.2
   
   ### Minimal reproduce step
   
   1) build a go function (maybe works with python or java too, don't know)
   ```
   pulsar-admin packages upload function://public/default/[email protected] --path 
/full/path/to/function_binary --description "my function"
   The package 'function://public/default/[email protected]' uploaded from path 
'/full/path/to/function_binary' successfully
   
   pulsar-admin functions create --tenant public --namespace default --name 
myfunc --go "function://public/default/[email protected]" --inputs 
persistent://public/default/test
   Created successfully
   
   pulsar-admin packages upload function://public/default/[email protected] --path 
/full/path/to/function_binary_v2 --description "my function, but newer"
   The package 'function://public/default/[email protected]' uploaded from path 
'/full/path/to/function_binary_v2' successfully
   
   pulsar-admin functions update --go 
"function://public/default/[email protected]" --tenant public --namespace default 
--name myfunc
   null
   
   Reason: java.lang.IllegalArgumentException: File is not a normal file 
/Users/me/pulsar/function:/public/default/[email protected]
   ```
   
   ### What did you expect to see?
   
   ```
   Updated successfully
   ```
   
   ### What did you see instead?
   
   ```
   Reason: java.lang.IllegalArgumentException: File is not a normal file 
/Users/me/pulsar/function:/public/default/[email protected]
   ```
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
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