jiangpengcheng commented on issue #21931: URL: https://github.com/apache/pulsar/issues/21931#issuecomment-1902907167
I couldn't reproduce this error with 2.11.3: ```bash I have no name!@sn-platform-pulsar-broker-0:/pulsar$ ./bin/pulsar-admin packages upload function://public/default/[email protected] --path /pulsar/examples/api-examples.jar --description [email protected] The package 'function://public/default/[email protected]' uploaded from path '/pulsar/examples/api-examples.jar' successfully I have no name!@sn-platform-pulsar-broker-0:/pulsar$ bin/pulsar-admin functions create --jar function://public/default/[email protected] --name package-java-fn --className org.apache.pulsar.functions.api.examples.ExclamationFunction --inputs persistent://public/default/package-java-fn-input --output persistent://public/default/package-java-fn-output --cpu 0.1 --log-topic persistent://public/default/package-java-fn-logs Created successfully I have no name!@sn-platform-pulsar-broker-0:/pulsar$ I have no name!@sn-platform-pulsar-broker-0:/pulsar$ bin/pulsar-admin functions update --name package-java-fn --cpu 0.2 Updated successfully I have no name!@sn-platform-pulsar-broker-0:/pulsar$ bin/pulsar-admin functions update --name package-java-fn --parallelism 2 Updated successfully I have no name!@sn-platform-pulsar-broker-0:/pulsar$ ``` This 400 error seems to be caused by the bookkeeper, could you paste the related logs of the broker and bookkeeper? @truong-hua -- 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]
